Re: Purging non needed TDE packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2020 Wed, 5 Aug 09:34:23 +0200
 Stefan Krusche scripsit:
> Dear Michael,
> 
> Am Mittwoch 05 August 2020 schrieb Michael:
> > So, uhm, what am I missing here?  TDE isn’t really dependent on a
> > laptop daemon, right?  My desktop does not need that package, right? 
> 
> you're using apt-get, so I'm assuming you are on a debian-based system.
> 
> This command tells you the dependencies which caused a package to be
> installed:
> 
> $ aptitude why klaptopdaemon-trinity
> i   desktop-base-trinity Suggests tde-trinity
> p   tde-trinity          Depends  tdeutils-trinity (>= 4:14.0.0~)
> p   tdeutils-trinity     Depends  klaptopdaemon-trinity (>= 4:14.0.8-0debian8.0.0+0)
> 
> tdeutils-trinity is a meta-package which gets removed because it 
> depends on klaptopdaemon-trinity.
> 
> This command tells you the dependencies of a package:
> 
> $ aptitude search "?reverse-depends(tdeutils-trinity)"
> i   ark-trinity                               - graphical archiving tool for Trinity
> i   kcalc-trinity                             - calculator for Trinity
> p   kcharselect-trinity                       - character selector for Trinity
> i   kdf-trinity                               - disk space utility for Trinity
> i   kedit-trinity                             - basic text editor for Trinity
> p   kfloppy-trinity                           - floppy formatter for TDE
> i   kgpg-trinity                              - GnuPG frontend for Trinity
> i   khexedit-trinity                          - Trinity hex editor
> p   kjots-trinity                             - note taking utility for Trinity
> p   klaptopdaemon-trinity                     - battery monitoring and management for laptops using
> p   kmilo-trinity                             - laptop special keys support for Trinity
> i   kregexpeditor-trinity                     - graphical regular expression editor plugin for Trini
> p   ksim-trinity                              - system information monitor for Trinity
> p   ktimer-trinity                            - timer utility for Trinity
> p   superkaramba-trinity                      - a program based on karamba improving the eyecandy of
> p   tdelibs-trinity-dbg                       - debugging symbols for tdelibs
> p   tdelibs14-trinity-dev                     - development files for the TDE core libraries
> p   tdelirc-trinity                           - infrared control for Trinity
> i   tdessh-trinity                            - ssh frontend for Trinity
> i   tdewalletmanager-trinity                  - wallet manager for Trinity
> 
> > What’s the proper command to remove it?
> 
> I don't know how to do it with apt-get, maybe someone else does in case
> it is possible.
> 
> Generally, you need to remove the meta-package tdeutils-trinity which
> depends on klaptopdaemon-trinity and keep the other packages on which 
> tdeutils-trinity depends to only remove klaptopdaemon-trinity.
> 
> I think there are different ways to achieve that. One I prefer to go
> in such cases utilises aptitude. With this tool you can interactively
> resolve the dependencies.
> 
> Or, you can mark all packages on which tdeutils-trinity depends and which
> you want to keep as manually installed and then remove tdeutils-trinity
> and klaptopdaemon-trinity.

For the curious: # apt-mark manual ....
Maybe it would be a good idea for metapackages to ste the parent metapackagew as "optional"?

Nik

> 
> HTH
> 
> Kind regards,
> Stefan
> 
> 
> > michael@local [~/data/trash]# apt-get purge --dry-run
> > klaptopdaemon-trinity NOTE: This is only a simulation!
> >       apt-get needs root privileges for real execution.
> >       Keep also in mind that locking is deactivated,
> >       so don't depend on the relevance to the real current situation!
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > The following packages were automatically installed and are no longer
> > required:
> 
> etc.
> 
> > Use 'apt autoremove' to remove them.
> 
> > The following packages will be REMOVED:
> >   klaptopdaemon-trinity* tde-trinity* tdeutils-trinity*
> > 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
> > Purg tde-trinity [4:14.0.8-0debian10.0.0+0]
> > Purg tdeutils-trinity [4:14.0.8-0debian10.0.0+0]
> > Purg klaptopdaemon-trinity [4:14.0.8-0debian10.0.0+0]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> 
> 



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting





[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux