By Dillon Reyna
Hi there!
Just started a new droplet with Docker.
I wanted to make sure I have the newest version, so I ran apt-get update and apt-get upgrade after which I got the following in Terminal:
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
I’ve never edited the menu.lst file, I imagine this is something done by DO.
What exactly is happening here, and what option should I select?
Thanks!
Dillon
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
To those still asking what to do in this situation:
I’ve always just gone with “Keep local version currently installed”, and not faced any issues as a result. More recently, you can see that “Show the differences between the versions” results in:
Line by line differences between versions
There are no non-white space differences in the files.
So it literally does not matter whether you choose “Install the package maintainer’s version” or “Keep the local version currently installed”.
As I mentioned in reply to @mahnuh, since the file in question is used during the boot process, DigitalOcean might just hook into the VM and put a default version of the file there if it’s missing, or even always put their own version there on boot/reboot. If they do indeed do it always, then the subject of this thread is moot, since it literally doesn’t matter which option you choose; they will always automatically replace the existing file with the “right one”.
Update: after finding this discussion, I chose to keep the current version (prompted twice). After that, I rebooted my server and crossed fingers and it looks like it survived the reboot.
So I suppose the “keep current version” is not an entirely bad option.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.