touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #93595
[Bug 1479207] Re: Never-MarkAuto-Sections not working correctly
This bug was fixed in the package apt - 1.0.1ubuntu2.9
---------------
apt (1.0.1ubuntu2.9) trusty; urgency=medium
* Fix regression in the Never-MarkAuto-Sections feature caused by the
previous auto-removal fix, with inspiration drawn from the patches
and conversation from http://bugs.debian.org/793360 (LP: #1479207)
-- Adam Conrad <adconrad@xxxxxxxxxx> Wed, 29 Jul 2015 21:23:49 -0600
** Changed in: apt (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1479207
Title:
Never-MarkAuto-Sections not working correctly
Status in apt package in Ubuntu:
New
Status in apt source package in Trusty:
Fix Released
Status in apt source package in Vivid:
New
Status in apt package in Debian:
New
Bug description:
[ SRU Justification ]
Not only is this behaviour broken for every day use, but it also completely breaks livefs generation for ubuntukylin, and causes most of $flavour-desktop to be on the autoremove list in any point release livefs, making this bug point-release critical.
[ Test Case ]
Install a metapackage (say, ubuntu-standard), and then "apt-get --purge autoremove ubuntu-standard" and check that only that package is removed, rather than large chunks of its dependencies.
Further, also run the test case from comment 2 of bug #1429041 and
make sure the previous fix didn't regress.
[ Regression Potential ]
My fix was tested locally against both test cases and passes with flying colours, so I don't see how this can make things any worse than they already are.
[ Original Report ]
In current trusty, vivid, and wily, when you install ubuntu-minimal (from the "metapackages" section) in a clean chroot, some 75ish packages are installed. If you then "apt-get --purge autoremove ubuntu-minimal", some large portion (between 20 and 40, depending on the target release) of those dependencies are removed again.
If this test is repeated putting the release pocket version of
apt/libapt on hold, the purge/autoremove only removes the metapackage,
but none of its dependencies, so this is likely a regression brought
on from the previous autoremoval fix.
This bug is release-critical for the 14.04.3 point release, as we
install using metapackages instead of tasks in point releases, thus
meaning that anyone removing ubuntu-desktop for any reason will end up
with dozens (potentially hundreds) of packages on the autoremoval
list.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1479207/+subscriptions
References