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

Re: Metapackage dependencies: "Depends" or "Recommends"?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


- From my dealings with Meta Packages in the past:

On 07/28/2015 09:22 AM, Jonas Smedegaard wrote:
> Quoting Ole Streicher (2015-07-28 16:33:17)
>> Ben Hutchings <ben@decadent.org.uk> writes:
>>> Installation of a package from the 'metapackages' section does *not*
>>> mark its dependencies as automatically installed.
>>
>> Really? So, if someone would install a metapackage (for a test), and 
>> then later uninstall it, its dependencies will remain on the system?

Removing the meta-package itself does not ( in most cases ) remove the
packages installed by the meta. It simply removes the meta-package itsel
f.

apt-cache depends, deborphan, autoremove and --purge are useful when
removing residuals from previously installed, and no longer needed, meta
packages. It's annoying that meta-packages do not remove what is
installed the same as it performs the installation if there are no deps
elsewhere.

You could also experiment with: aptitude unmarkauto
'?reverse-depends(PACKAG-NAME)' but I typically just use deborphen and
autoremove, or grab the packages from the control file and remove
manually, which is a Pain.
> 
> That is my experience, yes.  Seems specific to metapackages, so I 
> suspect there is some APT wizardry going on, treating those specially.
> 
> Also, even for non-metapackages, if some other package just _suggest_ 
> the package you pull in via depends/recommends, they stick as well.

Again, if the package does not have a dependency elsewhere, autoremove
"should" catch it and subsequently remove them.

> 
> 
> Both of above was not the case a few years ago...
> 
> 
>> Is there any simple way to remove them?
> 
> Not that I know of - would love to learn how!
> 
> 
>  - Jonas

best regards,

Greg

- ----------------------------------------------------------------
Debian Hams..: https://alioth.debian.org/projects/pkg-hamradio/
Ubuntu Hams..: https://launchpad.net/~ubuntu-hams-devel
Launchpad....: https://launchpad.net/~ki7mt
JTSDK........: https://sourceforge.net/projects/jtsdk/
OpenPGP......: C177 6630 7115 78FE 9A2B 9F7F 18C0 F6B7 0DA2 F991

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJVt6OlAAoJEBjA9rcNovmRhocP/3mReNuUkjqF9suXJn4+o3oM
o3OyrDvLV/8DFDfgQHQOGcTA2Jca+t9xezashrWmyTIaWjEGDTKLt46oQ/XaWGEe
KIfHCAjVTtTGvRbPoQBtlp8rSxIAA9dulNcr1MbmRNYzEkHt6YdASdC6IuJyWYbJ
0cYHVhPGSp+L48yiIx+ZCCOfi7/M8ZGdENmqV2QduoVCgRTqBPLbrD2BsLqOGAsY
2bOsUNwIdGN1KSZw8ksF8EfDZfqN5ptoIekH31TS1bMballcLdZPZ1jJbc0D83Pk
eiRK13M5Ge4wWsYcDy5nv0QpfB7+DTiZlYgdwUsWjWKukvRmrl7A9S/t2wmJ2mvk
2tYapR+pRndRHcP/DKKJsMM5vj+7LI8VhIt1ERrc5rvH0uabqUT6jPH61QC4zgSA
7fdq3TRsSaeIGtd0xETl7T2dhfGQO+24WbHlrLXiQGcwQg7dEF9vRemDDlskG5Hb
HuGAjCZFzP4J8Z5BbJosjeq0yByDOFFR6z5nhpZuUuzJ39APDwtIpp0ZtDQpyPkH
0gqjUBXVK8peChs2FV/spghAG96aulkfZAzChmNYZURz7hvQAGSYhFnYgbi9tHgf
uKbCHltENXngzouP+yd6YmrgO+vVaX9VwB4YU2BjQlkkGWbB/kyJM+eDdoU2z02d
zboijEYt5w4YSfrYGRCN
=9bG0
-----END PGP SIGNATURE-----


Reply to: