我想进行清理。我做了以下事情:
$ uname -a
Linux <OS_name> 5.8.0-49-generic #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
进而:
$ dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }'
linux-headers-5.8.0-49-generic
linux-headers-generic-hwe-20.04
linux-image-5.8.0-49-generic
linux-image-generic-hwe-20.04
linux-modules-5.8.0-49-generic
linux-modules-extra-5.8.0-49-generic
现在我想知道“保留linux-headers-generic-hwe-20.04
和清理是否linux-image-generic-hwe-20.04
必要?我想做什么?”apt purge