每次我想通过终端使用sudo apt-get install ...
or安装或删除某些软件包时sudo apt-get remove ...
,我最终都会收到以下错误:
ZSys is adding automatic system snapshot to GRUB menu
ERROR "update-grub" returned an error: exit status 1
使用此页面上的指南,我有一些理解问题。例如用命令
df -H
我得到下表,对我来说似乎有足够的可用空间:
Filesystem Size Used Avail Use% Mounted on
tmpfs 381M 2.2M 379M 1% /run
rpool/ROOT/ubuntu_vp6vyo 292G 4.5G 287G 2% /
tmpfs 2.0G 689k 1.9G 1% /dev/shm
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
rpool/USERDATA/martin_rc5gt4 291G 3.8G 287G 2% /home/martin
rpool/ROOT/ubuntu_vp6vyo/var/log 287G 39M 287G 1% /var/log
rpool/ROOT/ubuntu_vp6vyo/var/www 287G 132k 287G 1% /var/www
rpool/ROOT/ubuntu_vp6vyo/var/games 287G 132k 287G 1% /var/games
rpool/ROOT/ubuntu_vp6vyo/var/lib 290G 2.8G 287G 1% /var/lib
rpool/ROOT/ubuntu_vp6vyo/var/spool 287G 132k 287G 1% /var/spool
rpool/ROOT/ubuntu_vp6vyo/var/lib/NetworkManager 287G 263k 287G 1% /var/lib/NetworkManager
rpool/ROOT/ubuntu_vp6vyo/var/mail 287G 132k 287G 1% /var/mail
rpool/USERDATA/root_rc5gt4 287G 263k 287G 1% /root
rpool/ROOT/ubuntu_vp6vyo/usr/local 287G 132k 287G 1% /usr/local
rpool/ROOT/ubuntu_vp6vyo/var/snap 287G 1.2M 287G 1% /var/snap
rpool/ROOT/ubuntu_vp6vyo/var/lib/apt 287G 94M 287G 1% /var/lib/apt
rpool/ROOT/ubuntu_vp6vyo/var/lib/dpkg 287G 42M 287G 1% /var/lib/dpkg
rpool/ROOT/ubuntu_vp6vyo/srv 287G 132k 287G 1% /srv
rpool/ROOT/ubuntu_vp6vyo/var/lib/AccountsService 287G 132k 287G 1% /var/lib/AccountsService
bpool/BOOT/ubuntu_vp6vyo 1.7G 164M 1.6G 10% /boot
/dev/sda2 537M 17M 521M 4% /boot/efi
tmpfs 381M 31M 350M 9% /run/user/1000
他们是解决这个问题的方法吗?我正在开发 Ubuntu 21.10。
两周前安装 Ubuntu 时,我选择了以下选项。安装后使用选项 none 导致重新启动使我进入某个控制台窗口,而不是进入 Ubuntu 本身。也许他们与该错误消息有某种联系。