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

Peter Lemieux 1275376 at bugs.launchpad.net
Sun Feb 2 00:52:01 UTC 2014


Public bug reported:

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

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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