Netxms Installation on Debian 9.1.0 Stretch using jessie repository

Started by maciej1981, August 10, 2017, 02:06:36 PM

Previous topic - Next topic

maciej1981

Hi

I am new on that forum. i was trying to install the server and mysql driver on new debian 10 stretch but it failed.


root@LAB-NETMGMT-SRV-01:~# apt-get install netxms-server netxms-dbdrv-mysql
Reading package lists... Done
Building dependency tree
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:
netxms-dbdrv-mysql : Depends: netxms-base (= 2.1.0-1) but it is not going to be installed
                      Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not installable
                      Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
netxms-server : Depends: netxms-base (= 2.1.0-1) but it is not going to be installed
                 Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
                 Depends: libzmq3 (>= 4.0.1+dfsg) but it is not installable
                 Depends: netxms-agent but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


if You could help me out a bit.

regards

Maciej

Alex Kirhenshtein


maciej1981

Hi Alex

Sorry my mistake

its debian 9.1.0 (Stretch)

regards

Maciej

Alex Kirhenshtein

Just tested on clean install of Debian9 - works just fine.

Verity sources, do apt update, also check for held packages (apt-mark showhold)

maciej1981

Thank You for Your help

i needed to install libssl1.0.0 from jessie repositories and that solved the issue.

then i came accross this issue while initialising the data base

"Initializing database...
SQL query failed (Specified key was too long; max key length is 767 bytes)"

but i solved that by creating a utf8 database.

regards

Maciej

martink0

Hello,
sorry for re openning this thread but I still have issues with installing netxms on fully updated Debian 9 - Stretch

Repository list:
deb http://ftp.sk.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://ftp.sk.debian.org/debian/ stable-updates main contrib non-free
deb http://packages.netxms.org/debian jessie main

But it still end-ups here:
root@db2:~# apt-get install netxms-server
Reading package lists... Done
Building dependency tree       
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:
netxms-server : Depends: libzmq3 (>= 4.0.1+dfsg) but it is not installable
E: Unable to correct problems, you have held broken packages.

root@db2:~# dpkg -l | grep libzmq
ii  libzmq3-dev:amd64              4.2.1-4                        amd64        lightweight messaging kernel (development files)
ii  libzmq5:amd64                  4.2.1-4                        amd64        lightweight messaging kernel (shared library)

"libssl1.0.0 from jessie"has been installed so it got me one step further..

Any help would be appreciate..

pcmaster

Hello to martink0

Previous post contains a solution to the problem!
You need to install 'libssl1.0.0' и 'libzmq3' from 'Jessy' repositories.

WBR, Vladimir.