每次我更新软件包时,我都会卡在这个菜单上:
│ A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified. │
│ │
│ What would you like to do about menu.lst? │
│ │
│ install the package maintainer's version │
│ keep the local version currently installed │
│ show the differences between the versions │
│ show a side-by-side difference between the versions │
│ show a 3-way difference between available versions │
│ do a 3-way merge between available versions (experimental) │
│ start a new shell to examine the situation │
│ │
│ │
│ <Ok> │
│
我尝试使用 apt autoremove 删除内核头以释放一些空间,现在任何更新都会卡在这个循环中,无论你选择什么,它都会一直显示这个菜单。
知道如何纠正这个问题吗?
Ubuntu 16.04.4 LTS(GNU/Linux 4.4.0-170-通用 x86_64)
dpkg -l | grep grub
ii grub-common 2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64 2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii grub-efi-amd64-bin 2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii grub-efi-amd64-signed 1.66.17+2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub-legacy-ec2 17.2-35-gf576b2a2-0ubuntu1~16.04.2 all Handles update-grub for ec2 instances
rc grub-pc 2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub2-common 2.02~beta2-36ubuntu3.17 amd64 GRand Unified Bootloader (common files for version 2)