sources-media command not found

In this troubleshooting guide we learn how to fix sources-media command not found error message

Introduction

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

sources-media: command not found

or when using sudo you get the following error message

sudo: sources-media: command not found

Solutions to sources-media: command not found

How To Fix sources-media: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sources-media is provided by calamares-settings-debian package.

calamares-settings-debian is:

Calamares is a generic installer framework for Linux distributions. By default, it contains a set of boilerplate wording and images. This package provides the latest Debian artwork as well as scripts that supports EFI installations.

It also serves as an example for how derivatives can create their own calamares-settings packages.

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

sudo apt-get -y install calamares-settings-debian

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

You can also use apt command to install calamares-settings-debian.

sudo apt -y install calamares-settings-debian

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

sudo aptitude install calamares-settings-debian

Summary

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