u-boot-update command not found

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

Introduction

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

u-boot-update: command not found

or when using sudo you get the following error message

sudo: u-boot-update: command not found

Solutions to u-boot-update: command not found

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

In Ubuntu u-boot-update is provided by u-boot-menu package.

u-boot-menu is:

Automatically create extlinux-style boot menu for u-boot. Boot menu entries are automatically created for every kernel package when they are installed.

When /boot is on a separate partition, the package flash-kernel may help ensure that device-tree (dtb) files are made available to u-boot.

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

sudo apt-get -y install u-boot-menu

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

You can also use apt command to install u-boot-menu.

sudo apt -y install u-boot-menu

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

sudo aptitude install u-boot-menu

Summary

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