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: 47
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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
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] ?
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
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
~/mintmaya/xfce/enlightenment
Help Vampires: A Spotter's Guide
User avatar
palo
Level 4
Level 4
 
Posts: 449
Joined: Mon Jun 25, 2012 7:28 am
Location: Walking on sunshine

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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
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: 3
Joined: Fri Mar 22, 2013 11:50 pm
Location: Canada

Re: Mint updates: Grub: Use maintainers version?

Postby Orographic on Thu Jan 16, 2014 11:10 pm

After googling, I am still not exactly sure what to do with this situation during a Mint 13 update that states something like 'Do you want to keep the original version of Grub or use the maintainers version? Its a confusing question during a big update...

Which is the best option?

Is there an official answer? I cannot find one...
Orographic
Level 1
Level 1
 
Posts: 47
Joined: Fri Oct 31, 2008 5:15 pm

Re: Mint updates: Grub: Use maintainers version?

Postby xenopeek on Fri Jan 17, 2014 5:54 am

If you don't know any better, keep the "original version". You can ask for a diff between the current version and the new version, but perhaps that output isn't readably by everybody.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint updates: Grub: Use maintainers version?

Postby eanfrid on Fri Jan 17, 2014 5:59 am

+1 (from viewtopic.php?f=90&t=154639 )
eanfrid wrote:The normal - safe - rule is to always keep existing config files because...

1/ they are already working
2/ they may (should) contain custom/local tuning that would be overwritten if you would replace them with newer default config files

If however the new release of the upgraded software needs real changes or bring new config features over the older one, you will still find the new default config file(s) with an added ".new" suffix. You can then review later which changes you may wish to - manually - apply into your existing config files.
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
True private storage on SpiderOak
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1856
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: ClutchDisc and 25 guests