trisquel-recommended package

6 respuestas [Último envío]
RainTeller
Desconectado/a
se unió: 09/26/2014

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?

onpon4
Desconectado/a
se unió: 05/30/2012

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).

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

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.

Ctwx

I am a translator!

Desconectado/a
se unió: 01/01/2015

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...

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

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.

onpon4
Desconectado/a
se unió: 05/30/2012

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.

RainTeller
Desconectado/a
se unió: 09/26/2014

Thanks for the answers, guys! Thanks to you I was able to get rid of unneded stuff :)