Apt-get install monitoring-plugins -> package cannot be found (Ubuntu 18.04 live-server)

Hi and happy new year to all!

“apt-get install monitoring-plugins” works perfectly in Ubuntu 19.04 live server Now I wanted to use the same in 18.04.1 Live-Server. But the following error message appears: “Package monitoring plugins cannot be found.” (Paket monitoring-plugins kann nicht gefunden werden).

Under /etc/apt/sources.list.d is “bionic-icinga.list bionic-icinga-snapshots.list” located.

with:

deb http://packages.icinga.com/ubuntu icinga-bionic main
deb-src http://packages.icinga.com/ubuntu icinga-bionic main

and:

deb http://packages.icinga.com/ubuntu icinga-bionic-snapshots main
deb-src http://packages.icinga.com/ubuntu icinga-bionic-snapshots main

Can someone help me out?

Hmm, I have made an “icinga2.list” folder and put the bionics in there.

echo “deb http://packages.icinga.com/ubuntu icinga-bionic main” > /etc/apt/sources.list.d/icinga2.list
echo “deb-src http://packages.icinga.com/ubuntu icinga-bionic main” >> /etc/apt/sources.list.d/icinga2.list

same problem.

HI,

monitoring-plugins are not coming from packages.icinga.com, but from official ubuntu repository.

1 Like

Ok and what is the solution? In the docs is only “apt-get install monitoring-plugins” written.

I would say, that there is something wrong with your default repository configuration. Maybe some repositories are missing or you have a syntax error in one of your files.

1 Like

I’ve checked it serveral times. I will just install everything again in a new VM.

https://packages.ubuntu.com/bionic/net/monitoring-plugins

There it is. so it should work. If you copy&pasted it from the doku, try typing it by hand.

1 Like

IIRC universe is sometimes not enabled in the Ubuntu package list sources in /etc/apt/sources.list*.

2 Likes

allready did that, same problem. I think that something basically went wrong with the installation.

I will check it. Thanks!

With the information provided above, you can look into the path and search for universe as repository. My guess is that it is not enabled.

Regards,
Michael

1 Like

That is the solution! Thank you very much!

sudo add-apt-repository universe
sudo apt update

Now it works!

1 Like