Autoremoval not working reliably
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | apt (Ubuntu) |
Undecided
|
Unassigned | ||
| | Precise |
Undecided
|
Unassigned | ||
| | Trusty |
Undecided
|
Unassigned | ||
| | Utopic |
Undecided
|
Unassigned | ||
Bug Description
[ SRU Justification ]
The APT::Never-
This breaks "apt-get autoremove" for no-longer-required kernels.
[ Test Case ]
See comment #2
[ Regression Potential ]
Slim to none, assuming the test case passes well. We can't really make this more broken than it is, except by suddenly marking ALL things manual (or all things auto), which the testcase would show.
| Michael Vogt (mvo) wrote : | #1 |
| description: | updated |
| Changed in apt (Ubuntu): | |
| status: | New → Fix Released |
| description: | updated |
| tags: | added: patch |
| description: | updated |
| description: | updated |
| Changed in apt (Ubuntu Precise): | |
| status: | New → In Progress |
| summary: |
- Autoremoval not working reliable on precise + Autoremoval not working reliably |
Hello Michael, or anyone else affected,
Accepted apt into precise-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in apt (Ubuntu Precise): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Changed in apt (Ubuntu Trusty): | |
| status: | New → Incomplete |
| status: | Incomplete → In Progress |
| Chris Halse Rogers (raof) wrote : | #4 |
Hello Michael, or anyone else affected,
Accepted apt into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in apt (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| Brian Murray (brian-murray) wrote : | #5 |
I verified this in trusty by install the version of apt from -proposed, then installing kernel version 3.13.0-48 and then running apt-get autoremove and received the following message:
bdmurray@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
linux-
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 271 MB disk space will be freed.
Do you want to continue? [Y/n] n
| tags: | added: verification-done-trusty |
| tags: |
added: verification-needed-precise removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package apt - 0.8.16~
---------------
apt (0.8.16~
* fix auto-removal behavior (thanks to Adam Conrad)
LP: #1429041
-- Michael Vogt <email address hidden> Fri, 06 Mar 2015 10:47:36 +0100
| Changed in apt (Ubuntu Precise): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #7 |
The verification of the Stable Release Update for apt has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package apt - 1.0.1ubuntu2.7
---------------
apt (1.0.1ubuntu2.7) trusty-proposed; urgency=low
* fix auto-removal behavior (thanks to Adam Conrad)
LP: #1429041
-- Michael Vogt <email address hidden> Fri, 13 Mar 2015 14:55:31 +0100
| Changed in apt (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Changed in apt (Ubuntu): | |
| status: | New → Fix Released |
| matt doeller (mattdoeller) wrote : | #9 |
<email address hidden>
| Changed in apt (Ubuntu): | |
| assignee: | nobody → matt doeller (mattdoeller) |
| Changed in apt (Ubuntu Utopic): | |
| status: | New → Won't Fix |
| Changed in apt (Ubuntu): | |
| assignee: | matt doeller (mattdoeller) → nobody |
| tags: | removed: verification-needed-precise |


This is broken in vivid and utopic as well. A testcase is attached that shows the issue, with output like the following:
http:// paste.ubuntu. com/10549928/