update-lilo command not found

In this troubleshooting guide we learn how to fix update-lilo command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

update-lilo: command not found

or when using sudo you get the following error message

sudo: update-lilo: command not found

Solutions to update-lilo: command not found

How To Fix update-lilo: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu update-lilo is provided by lilo package.

lilo is:

You can use LILO to manage your Master Boot Record (with a simple text screen, text menu or colorful splash graphics) or call LILO from other Boot-Loaders to jump-start the Linux kernel.

This package contains lilo (the installer) and boot-record-images to install Linux, DOS and generic Boot Sectors for other operation systems.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lilo

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lilo.

sudo apt -y install lilo

Or if you have aptitude installed you can use the following command.

sudo aptitude install lilo

Summary

In this tutorial we learn how to fix update-lilo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.