Anno domini 2020 Wed, 5 Aug 19:29:49 +0200
Slávek Banko scripsit:
Dne st 5. srpna 2020 Dr. Nikolaus Klepp napsal(a):
root@local [~]# apt-mark manual tde-trinity tdeutils-trinity
tde-trinity was already set to manually installed.
tdeutils-trinity set to manually installed.
root@local [~]# apt-get purge klaptopdaemon-trinity
{snip}
The following packages were automatically installed and are no longer
required:
amor-trinity arts-trinity {snip} twin4-trinity xcalib
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 3 not upgraded.
After this operation, 840 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
The metapackgs can be removed without any problem.
Metapackages are good at installation, but poor servant during the removal
of individual packages.
For metapackages to work well for installation, there is a need for a hard
dependency - Depends. If a looser dependency - Recomends - were used, the
result could be that virtually nothing would be installed when the default
apt setting is "without recommends". And here is the beginning of the
problem. If a user wants to remove a package that is referenced by a
metapackage, this will cause the metapackage to break => leads to its
uninstallation and thus to the uninstallation of all other packages
referenced by the metapackage.
Therefore, before removing a metapackage, all referenced packages need to
be switched to "manual" so that they are retained even if the metapackage
is removed. This is more difficult to do manually with commands - it's
much easier to use aptitude.
How do you do that with aptitude?
nik
And that's exactly why we like aptitude. Aptitude is much more powerful and
skillful than Synaptic. And just as useful as apt-get / apt-cache /
apt-<something> or apt.
Cheers
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe(a)lists.pearsoncomputing.net
For additional commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net
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