LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2012, 01:14 PM   #1
kogev
LQ Newbie
 
Registered: Mar 2012
Distribution: ubuntu, knoppix
Posts: 2

Rep: Reputation: Disabled
/usr/bin/update-menus file missing


ubuntu 10.04 lts; kernel 2.6.32.38; menu 2.1.43ubuntu1 failed
chmod:cannot access '/usr/bin/update-menus':
no such file or directory.
how can i rebuilt the update-menus file
 
Old 03-12-2012, 12:36 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
With synaptic package manager reinstall it, the package name is "menu".

Regards
 
1 members found this post helpful.
Old 03-12-2012, 01:04 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You have to install the menu package :

Code:
$ sudo apt-get install menu
OR

Code:
$ sudo update-desktop-database
it performs a similar function.
 
1 members found this post helpful.
Old 03-12-2012, 02:55 PM   #4
kogev
LQ Newbie
 
Registered: Mar 2012
Distribution: ubuntu, knoppix
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you ukjuki and Satyaueer Arya for responding
Synaptic shows menu as already installed; Tried to mark for removal; fails because of missing update-menus; tried sudo apt-get remove menu; fails again because of missing update-menus; tried sudo apt-get purge menu; failed for same reason. Then decided to take a short cut by copying update-menus from another laptop using a usb stick; sudo su to get # prompt; #cp -a /usr/bin/update-menus /media/backup then #cp -a /media/backup/update-menus /usr/bin. ls /usr/bin and update-menus was there; apt-get remove menu worked. (update-menus was gone as expected); back to synaptic menu was removed.checked menu for installation and everything was fine, and update-menus was back in /usr/bin. I am sure there must be a more elegant way to proceed, but that worked for me. while update-menus was missing a tentative upgrade to a package with kernel 2.6.32.39 left me with a scrambled screen, now i can boot with 2.6.32.39 and its ok.

Regards

Last edited by kogev; 03-12-2012 at 03:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 04:00 AM
[SOLVED] bash: /usr/local/bin/xdsi: /usr/bin/wish: bad interpreter: No such file or directory Berwhale Linux - Newbie 2 09-15-2011 02:59 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
/usr/bin/wish missing ?!?!?!?! Shantesh Linux - Software 3 09-10-2003 12:47 PM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration