opennms-install icon indicating copy to clipboard operation
opennms-install copied to clipboard

Bootstrap Install Fail - line 248 - Ubuntu 24.04 LTS

Open TankVet opened this issue 9 months ago • 3 comments

While running the bootstrap.sh script, I received the following error: Install OpenNMS Horizon packages ... bootstrap-debian.sh: Error on line 248: sudo apt-get install -y -qq rrdtool jrrd2 jicmp jicmp6 opennms opennms-webapp-hawtio 2>> "${ERROR_LOG}"

When attempting to run the install command directly, I get the following response:

sudo apt-get install rrdtool jrrd2 jicmp jicmp6 opennms opennms-webapp-hawtio
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opennms-db : Depends: postgresql-15 but it is not installable or
                       postgresql-14 but it is not installable or
                       postgresql-13 but it is not installable or
                       postgresql-12 but it is not installable or
                       postgresql-11 but it is not installable or
                       postgresql-10 but it is not installable
              Depends: iplike-pgsql15 (>= 2.3.0) but it is not going to be installed or
                       iplike-pgsql14 (>= 2.3.0) but it is not going to be installed or
                       iplike-pgsql13 (>= 2.3.0) but it is not going to be installed or
                       iplike-pgsql12 (>= 2.3.0) but it is not going to be installed or
                       iplike-pgsql11 (>= 2.3.0) but it is not going to be installed or
                       iplike-pgsql10 (>= 2.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Contents of bootstrap.log:

ALTER ROLE
CREATE ROLE
GRANT
CREATE DATABASE
E: Unable to correct problems, you have held broken packages.

TankVet avatar May 11 '24 01:05 TankVet