Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old January 27th, 2009   #1
bubba_169
Gee! These Aren't Roasted!
 
bubba_169's Avatar
 
Join Date: Jul 2007
Location: UK
Beans: 211
Ubuntu Jaunty Jackalope (testing)
Update-grub says my /usr is broken?

Im confused and google is turning out nothing for me? After updating to a newer kernel, 2.6.27-11 from 2.6.27-7, I noticed it wasn't showing up in grub. I tried running update-grub and the exact error message I get is:

Code:
$ sudo update-grub
Your /usr is broken, please fix it before call this wrapper!
Any ideas?
__________________
>> Registered Ubuntu user #24462
bubba_169 is offline   Reply With Quote
Old January 29th, 2009   #2
breusshe
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 5
Re: Update-grub says my /usr is broken?

Yeah, just figured it out. You need to do the following:

chmod 744 /usr/sbin/update-grub

The problem is that when you call "update-grub" it runs the script /sbin/update-grub (not in /usr), this file checks a couple of things, one has to do with your kernel conf file stuff (not real sure what it is about) and the other makes sure that /usr/sbin/update-grub exists and is executable. Right now, /usr/sbin/update-grub is not executable.

So, run the chmod and then "sudo update-grub" and it will work.

Last edited by breusshe; June 6th, 2009 at 06:42 PM.. Reason: Extra words that didn't need to be there, made entry confusing.
breusshe is offline   Reply With Quote
Old January 30th, 2009   #3
bubba_169
Gee! These Aren't Roasted!
 
bubba_169's Avatar
 
Join Date: Jul 2007
Location: UK
Beans: 211
Ubuntu Jaunty Jackalope (testing)
Re: Update-grub says my /usr is broken?

Thank you, worked a treat

Is it just me or has the thanks button gone walkies?
.. And I cant mark this as solved?
__________________
>> Registered Ubuntu user #24462

Last edited by bubba_169; January 30th, 2009 at 03:41 PM..
bubba_169 is offline   Reply With Quote
Old June 6th, 2009   #4
beeman
First Cup of Ubuntu
 
beeman's Avatar
 
Join Date: Mar 2006
Location: The Netherlands
Beans: 11
Re: Update-grub says my /usr is broken?

Thanks, this worked (Linux Mint 6)
beeman is offline   Reply With Quote
Old October 14th, 2009   #5
rohitfeb14
5 Cups of Ubuntu
 
rohitfeb14's Avatar
 
Join Date: May 2009
Location: Mumbai
Beans: 24
Ubuntu Karmic Koala (testing)
Send a message via Yahoo to rohitfeb14 Send a message via Skype™ to rohitfeb14
Re: Update-grub says my /usr is broken?

In my case the file /usr/sbin/update-grub is missing..
What should i do?
rohitfeb14 is offline   Reply With Quote
Old October 14th, 2009   #6
breusshe
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 5
Re: Update-grub says my /usr is broken?

Reinstall grub-gfxboot package. It is the one that has update-grub in it.
breusshe is offline   Reply With Quote
Old October 15th, 2009   #7
vikrant82
Gee! These Aren't Roasted!
 
vikrant82's Avatar
 
Join Date: Apr 2007
Location: India
Beans: 215
Kubuntu Karmic Koala (testing)
Send a message via ICQ to vikrant82 Send a message via MSN to vikrant82 Send a message via Yahoo to vikrant82 Send a message via Skype™ to vikrant82
Re: Update-grub says my /usr is broken?

There is no package with name grub-gfxboot, but there's a gfxboot package which I already installed. Still, no /usr/sbin/update-grub but there's a /sbin/update-grub.

$sudo update-grub
Your /usr is broken, please fix it before call this wrapper!
__________________
Intel Pentium M Centrino 1.73Ghz, 1.25gb RAM, 10.04 Lucid, KDE 4.4 Presario V4122TU
vikrant82 is offline   Reply With Quote
Old October 15th, 2009   #8
vikrant82
Gee! These Aren't Roasted!
 
vikrant82's Avatar
 
Join Date: Apr 2007
Location: India
Beans: 215
Kubuntu Karmic Koala (testing)
Send a message via ICQ to vikrant82 Send a message via MSN to vikrant82 Send a message via Yahoo to vikrant82 Send a message via Skype™ to vikrant82
Re: Update-grub says my /usr is broken?

Well the correct package was grub-pc, which installed /usr/sbin/update-grub.

The package is installed by default, but it got removed for me when I had installed a package 'grub-choose-default'.
__________________
Intel Pentium M Centrino 1.73Ghz, 1.25gb RAM, 10.04 Lucid, KDE 4.4 Presario V4122TU
vikrant82 is offline   Reply With Quote
Old October 15th, 2009   #9
breusshe
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 5
Re: Update-grub says my /usr is broken?

Oh, sorry for pointing you to the wrong package. Glad you got it going again.
breusshe is offline   Reply With Quote
Old October 18th, 2009   #10
azimout
First Cup of Ubuntu
 
azimout's Avatar
 
Join Date: Dec 2007
Beans: 8
Ubuntu Karmic Koala (testing)
Re: Update-grub says my /usr is broken?

The funny thing is, installing 'grub-pc' to get back /usr/sbin/update-grub removed the package 'grub', which contained /sbin/update-grub, which gave the above error message in the first place
azimout is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:00 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry