[Bug 1275376] Re: apt-get autoremove should leave (n-1)th kernel

Brian Murray brian at ubuntu.com
Wed Feb 26 20:56:29 UTC 2014


** Tags added: trusty

** Changed in: apt (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1275376

Title:
  apt-get autoremove should leave (n-1)th kernel

Status in “apt” package in Ubuntu:
  New

Bug description:
  Running autoremove tonight on a 13.10 machine being upgraded to 14.04,
  I was informed by apt-get that I could delete no longer needed kernel
  packages with autoremove.  When I did so I was left with just the
  current kernel.  I suggest that autoremove should always leave the
  (n-1)th kernel behind.  Otherwise users cannot revert to the previous
  kernel if something goes wrong.  I believe this has been the default
  behavior for "apt-get autoremove" for some time now.

  You could argue that if a user is able to run autoremove, then there
  is no point to keeping the previous kernel image.  I disagree.  Users
  may not test out all their connected devices before running autoremove
  and then discover they cannot use a camera or audio device.

  Release: 14.04 (Trusty)
  Package: apt, Version: 0.9.14.1ubuntu2  (and earlier)
  Expected: "apt-get autoremove" would leave current and prior kernel images installed
  Actual: only current kernel image remains

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1275376/+subscriptions



More information about the foundations-bugs mailing list