Mint updates: Grub: Use maintainers version?

Questions about applications and software
Forum rules
Before you post please read this

Mint updates: Grub: Use maintainers version?

Postby Orographic on Sun Jan 27, 2013 4:51 pm

Hi guys,

Have searched via google and the forums but can't find a clear answer on this issue.

Just did an update of Mint 13 today (Love Mint, use it full time) and I get that update of Grub message that goes something like 'keep the local version or use the maintainers version.'

I used the maintainers version, is that okay? Think that is what I have done in the past.

I always find that message a bit obscure.

Thanks for the help :)
Orographic
Level 1
Level 1
 
Posts: 40
Joined: Fri Oct 31, 2008 5:15 pm

Linux Mint is funded by ads and donations.
 

Re: Mint updates: Grub: Use maintainers version?

Postby xenopeek on Sun Jan 27, 2013 4:56 pm

Usually you'd keep the local version for any files in /etc, like this one. You can ask for a diff between the current version and the new version, but perhaps that output isn't readably by everybody.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10523
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint updates: Grub: Use maintainers version?

Postby wb666greene on Tue Jan 29, 2013 11:17 am

This has got to be one of the most confusing issues for new and casual users. Not just for Grub updates.

Accepting the maintainer's version has always served me well since Ubuntu 6.06.

Unless you've specifically done something to customize the config files installed by default, its generally best to accept the default configuration of the update.
wb666greene
Level 1
Level 1
 
Posts: 27
Joined: Tue Oct 04, 2011 3:05 pm

Re: Mint updates: Grub: Use maintainers version?

Postby xenopeek on Tue Jan 29, 2013 11:25 am

No, it's not. It causes problems because some Ubuntu packages update files in /etc installed initially Linux Mint's ubuntu-system-adjustments.

For example if you get an upgrade for grub-common on Linux Mint 13, you should keep the current version. Which is also the recommended action by apt.
Code: Select all
Configuration file `/etc/grub.d/10_linux'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** 10_linux (Y/I/N/O/D/Z) [default=N] ?
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10523
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint updates: Grub: Use maintainers version?

Postby palo on Tue Jan 29, 2013 6:16 pm

xenopeek wrote:No, it's not. It causes problems because some Ubuntu packages update files in /etc installed initially Linux Mint's ubuntu-system-adjustments.

Aw stink! I didn't know this and always accepted the new version because I didn't make any changes. Should this be rolled back somehow to the version as it was "Mint installed" (you know, mint condition)?

Pat
Image
User avatar
palo
Level 4
Level 4
 
Posts: 231
Joined: Mon Jun 25, 2012 7:28 am
Location: Pennsylvania

Re: Mint updates: Grub: Use maintainers version?

Postby xenopeek on Tue Jan 29, 2013 6:38 pm

It's probably fine, I'm just warning that you generally shouldn't overwrite files in /etc. If you want, you can copy the /usr/share/ubuntu-system-adjustments/grub/10_linux file back to /etc/grub.d and after a "sudo update-grub2" you would have the old file in effect again. You need to copy the file as root.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10523
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint updates: Grub: Use maintainers version?

Postby wanchai on Sun Mar 24, 2013 4:06 pm

I modified my /etc/grub.d/10_linux because I wanted certain things to be password protected. Ran update-grub, rebooted and everything was fine. Then I wanted to make more changes and found out that the previous edits were lost. Apparently, the system copies /usr/share/ubuntu-system-adjustments/grub/10_linux to /etc/grub.d on every reboot.
wanchai
Level 1
Level 1
 
Posts: 2
Joined: Fri Mar 22, 2013 11:50 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 14 guests