Public bug reported:

apt-get suggests to remove and, with autoremove command, actually
removes previous kernel referenced by /*.old links and breaks the
ability to boot with a previous kernel. Kernel referenced by /*.old may
not be autoremoved.

# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-88 linux-headers-3.13.0-88-generic
  linux-image-3.13.0-88-generic linux-image-extra-3.13.0-88-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Press any key to continue...

# ls -l /*.old
lrwxrwxrwx 1 root root 33 Jun 10 11:57 /initrd.img.old -> 
boot/initrd.img-3.13.0-88-generic
lrwxrwxrwx 1 root root 30 Jun 10 11:57 /vmlinuz.old -> 
boot/vmlinuz-3.13.0-88-generic

# uname -a
Linux server 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 
i686 athlon i686 GNU/Linux

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

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

Title:
  kernel referred to by /*.old autoremoved

Status in apt package in Ubuntu:
  New

Bug description:
  apt-get suggests to remove and, with autoremove command, actually
  removes previous kernel referenced by /*.old links and breaks the
  ability to boot with a previous kernel. Kernel referenced by /*.old
  may not be autoremoved.

  # apt-get upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages were automatically installed and are no longer 
required:
    linux-headers-3.13.0-88 linux-headers-3.13.0-88-generic
    linux-image-3.13.0-88-generic linux-image-extra-3.13.0-88-generic
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Press any key to continue...

  # ls -l /*.old
  lrwxrwxrwx 1 root root 33 Jun 10 11:57 /initrd.img.old -> 
boot/initrd.img-3.13.0-88-generic
  lrwxrwxrwx 1 root root 30 Jun 10 11:57 /vmlinuz.old -> 
boot/vmlinuz-3.13.0-88-generic

  # uname -a
  Linux server 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 
i686 athlon i686 GNU/Linux

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to