今天一直在做ubuntu服务器的自动部署。我在apt-get upgrade尝试升级到新内核时遇到了服务器自动更新的问题。日志如下所示:
Setting up linux-image-3.2.0-24-generic (3.2.0-24.39) ...
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
(...)
Run Code Online (Sandbox Code Playgroud)
然后提出一个问题:
Package configuration
??????????????????????????????????? ???????????????????????????????????
? 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 …Run Code Online (Sandbox Code Playgroud)