bricasti
(bri casti)
January 7, 2020, 2:33pm
1
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?
bricasti
(bri casti)
January 7, 2020, 2:44pm
2
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.
unic
(Rafael Voss)
January 7, 2020, 2:58pm
3
HI,
monitoring-plugins are not coming from packages.icinga.com , but from official ubuntu repository.
1 Like
bricasti
(bri casti)
January 7, 2020, 2:59pm
4
Ok and what is the solution? In the docs is only “apt-get install monitoring-plugins” written.
unic
(Rafael Voss)
January 7, 2020, 3:08pm
5
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
bricasti
(bri casti)
January 7, 2020, 3:11pm
6
I’ve checked it serveral times. I will just install everything again in a new VM.
unic
(Rafael Voss)
January 7, 2020, 3:16pm
7
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
dnsmichi
(Michael Friedrich)
January 7, 2020, 3:18pm
8
IIRC universe
is sometimes not enabled in the Ubuntu package list sources in /etc/apt/sources.list*
.
2 Likes
bricasti
(bri casti)
January 7, 2020, 3:19pm
9
unic:
try typing it by hand.
allready did that, same problem. I think that something basically went wrong with the installation.
dnsmichi
(Michael Friedrich)
January 7, 2020, 3:28pm
11
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
bricasti
(bri casti)
January 7, 2020, 3:52pm
13
That is the solution! Thank you very much!
sudo add-apt-repository universe
sudo apt update
Now it works!
1 Like