NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

Dependencies in deb packages #828

Open ccztux opened 2 years ago

ccztux commented 2 years ago

In contrast to the rpm packages:

[root@cl01]: ~$ rpm -qpR ncpa-2.3.1.el7.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsXz) <= 5.2-1

the deb packages have dependencies:

[root@cl01]: ~$ dpkg -I ncpa-2.3.1.amd64.deb
 new debian package, version 2.0.
 size 9651770 bytes: control archive=5877 bytes.
     123 bytes,     4 lines      conffiles
     560 bytes,    14 lines      control
   10066 bytes,   135 lines      md5sums
    1680 bytes,    55 lines   *  postinst             #!/bin/bash
     232 bytes,    10 lines   *  postrm               #!/bin/bash
     515 bytes,    22 lines   *  preinst              #!/bin/bash
     346 bytes,    14 lines   *  prerm                #!/bin/bash
      53 bytes,     3 lines      shlibs
 Package: ncpa
 Version: 2.3.1-1
 Architecture: amd64
 Maintainer: root <root@localhost>
 Installed-Size: 28848
 Depends: libc6 (>= 2.17), libsqlite3-0 (>= 3.5.9), libssl1.0.0 (>= 1.0.1d), zlib1g (>= 1:1.2.0)
 Section: alien
 Priority: extra
 Description: A cross-platform active and passive monitoring agent
  The Nagios Cross-Platform Agent is used with Nagios XI and Nagios Core to run active
  and/or passive checks on any operating system. Installs with zero requirements using a
  bundled version of Python.
  .
  (Converted from a rpm package by alien version 8.92.)

Is this caused by the way the deb packages are built (alien)?

The dependencies with specific versions are causing errors when installing/updating/downgrading NCPA on Ubuntu.

grafik

jomann09 commented 2 years ago

There are some weird issues with the alien version of the deb packages, but we are going to be resolving this in NCPA 3 due to the fact we will be building deb packages using the proper method rather than turning the rpms into debs.