update-menu-lst command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
update-menu-lst: command not found
or when using sudo you get the following error message
sudo: update-menu-lst: command not found
Solutions to update-menu-lst: command not found
How To Fix update-menu-lst: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu update-menu-lst is provided by pv-grub-menu package.
pv-grub-menu is:
PV-GRUB is a utility of the vitualisation platform Xen, to boot virtual machines with their own kernel. This package maintains a configuration file in /boot/grub/menu.lst, that is read by PV-GRUB. It does nothing else, which means that it is not suitable for booting non-virtual systems.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pv-grub-menu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pv-grub-menu.
sudo apt -y install pv-grub-menu
Or if you have aptitude installed you can use the following command.
sudo aptitude install pv-grub-menu
Summary
In this tutorial we learn how to fix update-menu-lst command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.