我从软件更新程序收到以下错误消息:
The upgrade needs a total of 74,6 M free space on disk '/boot'. Please free at least an additional 68,3 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.
我如何获得更多磁盘空间?我有
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/xubuntu--vg-root 454G 13G 418G 3% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
udev 1,9G 4,0K 1,9G 1% /dev
tmpfs 384M 1,3M 383M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,9G 24M 1,9G 2% /run/shm
none 100M 36K 100M 1% /run/user
/dev/sda2 237M 219M 6,1M 98% /boot
/dev/sda1 511M 3,4M 508M 1% /boot/efi
答案1
我在 Ubuntu 14.04 上也遇到了同样的消息。这个问题的答案通过从 /boot 中删除旧的 Linux 内核解决了这个问题。它释放了近半 GB 的空间。
以下是链接: 如何删除旧内核版本来清理启动菜单?