Page 1 of 1

Fresh install on ubuntu 18.04 fails: snmp-mibs-downloader

Posted: Sat Oct 12, 2019 2:08 pm
by raskolnikov88
I've been using nagios open source with great results, so naturally I was interested in taking nagios xi for a spin.

I spun up a new ubuntu 18.04 LTS instance, and run a full update.

I downloaded xi-5.6.7.tar.gz, untarred it, entered the nagios directory and typed "./fullinstall"

Hard fail - last few lines of install log:
--
Reading state information...
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'snmp-mibs-downloader' has no installation candidate
RESULT=100

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Mon Oct 14, 2019 12:41 pm
by mbellerue
What happens if you run,

Code: Select all

apt-cache search snmp-mibs-downloader

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Mon Oct 14, 2019 3:29 pm
by raskolnikov88
root@nagiosxi:/# apt-cache search snmp-mibs-downloader
libsnmp-base - SNMP configuration script, MIBs and documentation
libsmi2-common - library to access SMI MIB information - MIB module files
root@nagiosxi:/#

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Mon Oct 14, 2019 4:48 pm
by mbellerue
That's strange. I've got a fresh 18.04 server, and I'm seeing snmp-mibs-downloader. Can you post your /etc/apt/source.list file? Also, do you know if there is a list of blocked packages in your environment that this package may be a part of?

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Wed Oct 16, 2019 7:14 pm
by raskolnikov88
root@nagiosxi:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
This is a container, but otherwise normal, and nothing is blocked

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Wed Oct 16, 2019 7:21 pm
by raskolnikov88
Well, interesting - since you were seeing the snmp-mibs-downloader, I took a look at another 18.04 instance, and that package comes up there.

The only difference I can see in the sources.list is that the box where it's working has "multiverse" appended to the first 3 lines.

In like manner, I appended "multiverse" to the first 3 lines of sources.list and after an apt update, the package appears in the search.

It's interesting though, that I had to modify the clean install by adding "multiverse"

But, all's well that ends well. The install is proceeding.

Re: Fresh install on ubuntu 18.04 fails: snmp-mibs-downloade

Posted: Thu Oct 17, 2019 6:32 am
by scottwilkerson
raskolnikov88 wrote:But, all's well that ends well. The install is proceeding.
Great!

Let us know if we can lock the thread