NetXMS Support Forum

English Support => General Support => Topic started by: maciej1981 on August 10, 2017, 02:06:36 PM

Title: Netxms Installation on Debian 9.1.0 Stretch using jessie repository
Post by: maciej1981 on August 10, 2017, 02:06:36 PM
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
Title: Re: Netxms Installation on Debian 10 Stretch using jessie repository
Post by: Alex Kirhenshtein on August 10, 2017, 04:08:24 PM
Hello.

Debian 10 (which is sid) or 9 (Stretch)?
Title: Re: Netxms Installation on Debian 10 Stretch using jessie repository
Post by: maciej1981 on August 10, 2017, 04:18:42 PM
Hi Alex

Sorry my mistake

its debian 9.1.0 (Stretch)

regards

Maciej
Title: Re: Netxms Installation on Debian 9.1.0 Stretch using jessie repository
Post by: Alex Kirhenshtein on August 10, 2017, 05:52:02 PM
Just tested on clean install of Debian9 - works just fine.

Verity sources, do apt update, also check for held packages (apt-mark showhold)
Title: Re: Netxms Installation on Debian 9.1.0 Stretch using jessie repository
Post by: maciej1981 on August 10, 2017, 07:02:48 PM
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
Title: Re: Netxms Installation on Debian 9.1.0 Stretch using jessie repository
Post by: martink0 on October 05, 2017, 09:51:43 AM
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..
Title: Re: Netxms Installation on Debian 9.1.0 Stretch using jessie repository
Post by: pcmaster on October 05, 2017, 04:44:29 PM
Hello to martink0

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

WBR, Vladimir.