Simplify the script by using grep instead of awk in one check. During
removal, the kernel package is apparently in half-installed state (H),
so check for that (although [^c]} should work, too).

** Attachment added: "/etc/kernel/postinst.d/apt-auto-removal (version 5 from 
Jarno Suni)"
   
https://bugs.launchpad.net/hundredpapercuts/+bug/1440608/+attachment/4562033/+files/apt-auto-removal

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

Title:
  /etc/kernel/postinst.d/apt-auto-removal wants to remove all kernels
  except the latest one

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1440608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to