This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1910923

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1910923

Title:
  Purging of old kernel does not work with boot on other partition

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  The following command is suggested to remove old Kernels:

  sudo apt-get autoremove --purge

  e.g. on this Q&A
  
https://askubuntu.com/questions/1253347/how-to-easily-remove-old-kernels-in-ubuntu-20-04-lts

  
  This seems not to work well with set-up where the boot files sit on a 
different partition with limited size.

  
  Example:
  LVM configuration with boot on a different partition thank root:

  Filesystem               Size  Used Avail Use% Mounted on
  /dev/mapper/linux-root    100G     20G   80G   60% /
  /dev/sda3                485M    287M  174M   63% /boot
  /dev/sda1                 96M     39M   58M   40% /boot/efi


  Expected process:
  sudo apt-get autoremove --purge
  should remove all kernels on all partitions

  
  Work-around solution:
  uname -r
  $CURRENT-KERNEL$

  dpkg --list 'linux-image-*'

  sudo apt-get purge $PREVIOUS-KERNEL$

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

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

Reply via email to