/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 |
With synaptic package manager reinstall it, the package name is "menu".
Regards |
You have to install the menu package :
Code:
$ sudo apt-get install menu Code:
$ sudo update-desktop-database |
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 |
All times are GMT -5. The time now is 04:30 PM. |