On Thu, May 26, 2022 at 03:44:29PM +0500, Andrey Rahmatullin wrote: > On Thu, May 26, 2022 at 03:28:21PM +0500, Andrey Rahmatullin wrote: > > > > I support many people with Debian, what I often see is that they remove > > > > a > > > > package, and then also the meta-package is removed. And later all > > > > dependencies of the meta-package are removed by accident. > > > Not to rain on your parade, but those people should consider upgrading > > > their Debian installations as since at least apt version 1.1 shipped > > > before current old-old-stable (that is, they run at best Debian 8 jessie > > > which is covered only by Extended LTS) apt actually marks dependencies > > > of packages in section metapackages as manually installed if the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > metapackage is removed due to the removal of one of its dependencies > > > – but doesn't if you decide to remove the metapackage explicitly. > > Then I guess there are some other reasons for this to happen not > > explainable by "these peoiple just run jessie". > OK, this was really easy. […] > # apt update && apt install task-kde-desktop && apt remove konqueror
task-kde-desktop has Section: tasks (as does all the other task- packages as they are built from the same source package). We could add "*/tasks" to the list of APT::Never-MarkAuto-Sections in apt or reconsider having tasks be in their own Section, personally I would prefer the later. There are many other packages which feel like metapackages, but aren't for apt as they are in the 'wrong' section – which is what I meant later on in the mail, but that was arguably very well hidden. Best regards David Kalnischkies
signature.asc
Description: PGP signature