trisquel-recommended package
- Inicie sesión ou rexístrese para enviar comentarios
Software that comes pre-installed seems to all have trisquel-recommended as its dependency. Could the removing of this package (to remove other packages) break Trisquel in any way?
No. It's just a meta-package. Removing it won't have any particular effect at all (the only effect will be that you'll be able to remove packages that trisquel-recommended depends on, if you want).
As onpon4 wrote, meta-packages (such as "trisquel" or "trisquel-desktop-recommended") do not install any program by themselves. They are just a convenient way to install a bunch of such programs listed as the dependencies of the meta-packages.
Removing a meta-package only has an effect if Trisquel's developers change its dependencies. It happened between version 6 and version 7 for instance: "electrum" was added as a dependency of the meta-package "trisquel-recommended". After an update of the distribution, the users who kept the meta-package had that bitcoin client automatically installed, whereas those who removed the meta-packages had not.
They should do the same on Debian... If you install the default desktop and want to remove a packege like LibreOffice it will delete your whole X window system as a dependency...
No, it will not. It works the other way around: if you remove package A, every package that depends (directly or indirectly) on A is removed as well. That makes sense since they cannot work without A.
For example if A is "xserver-xorg" and you remove it, then "libreoffice" (that depends on A) is removed as well.
Packages that came as dependencies of package A (i.e., the user did not explicitly asked for them) will be removed by 'apt-get autoremove' (hence not automatically) if package A was uninstalled and no other explicitly installed package depends on A. Again, that makes sense: A almost certainly is an "orphan dependency" that is only consuming space on your root partition. If not, then the user should explicitly asked for its installation (e.g. through 'apt-get install A').
For example if A is "libreoffice" and you remove it, then "xserver-xorg" (a dependency of A) will *not* be removed as well. Not even after 'apt-get autoremove' as long as at least one other graphical application (that depends on A) is installed.
One thing to note: Aptitude works differently than apt-get when it comes to these packages. If you use apt-get, they're kept unless you use apt-get autoremove. If you use Aptitude, however, automatically installed packages also get removed automatically.
Also of note: merely being recommended by another installed package is sufficient to prevent it from getting removed either by apt-get autoremove or Aptitude's automatic cleanup.
Thanks for the answers, guys! Thanks to you I was able to get rid of unneded stuff :)
- Inicie sesión ou rexístrese para enviar comentarios