[naemon-dev] first debian / ubuntu packages - Install problem with official check-mk-livestatus package installed

Sven Velt sven at velt.de
Fri Dec 13 12:50:17 CET 2013


Hi!

Sven Nierlein wrote:
> The first packages for debian and ubuntu are finished and ready for testing.
> You can download them here
> -> http://labs.consol.de/naemon/testing/

Thanks Sven!

I want to install "naemon" (meta package) from this repo on my hosted
Debian/Squeeze monitoring box and it failed with:

| Unpacking naemon-livestatus (from .../naemon-livestatus_0.0.1_i386.deb) ...
| dpkg: error processing /var/cache/apt/archives/naemon-livestatus_0.0.1_i386.deb (--unpack):
|  trying to overwrite '/usr/bin/unixcat', which is also in package check-mk-livestatus 1.1.12p7-1~bpo60+1

... as there's already the official "check-mk-livestatus" package.

Quick fix for me:

| dpkg-divert --package naemon-livestatus --divert /usr/bin/unixcat.foo --rename /usr/bin/unixcat

which renames "/usr/bin/unixcat" from "check-mk-livestatus" to
"/usr/bin/unixcat.foo" and puts "naemon-livestatus" version of unixcat
to "/usr/bin/unixcat"

Why "check-mk-livestatus" AND "naemon-livestatus"? The first contains
the module for "nagios3" and "icinga" packages which is not compatible
with Nagios4/Naemon due to API changes.

To fix this I suggest to put "unixcat" from "naemon-livestatus" somewhere into
"/usr/lib/naemon/".

Bye

Sven

-- 
Leukämie     -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie
Heilung      -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende
Typisierung  -> http://www.knochenmarkspende.de/page.php?id=12
Warum&Fragen -> sven at velt.de


More information about the Naemon-dev mailing list