I was trying to install omd alongside a working ntopng instance on the same server and ran into the error below
user@jknetmon:~$ sudo dpkg -i omd-1.20.trusty.amd64.deb
Selecting previously unselected package omd-1.20.
(Reading database ... 169285 files and directories currently installed.)
Preparing to unpack omd-1.20.trusty.amd64.deb ...
Unpacking omd-1.20 (0.trusty) ...
dpkg: dependency problems prevent configuration of omd-1.20:
omd-1.20 depends on libsnmp-python; however:
Package libsnmp-python is not installed.
omd-1.20 depends on libapache2-mod-fcgid; however:
Package libapache2-mod-fcgid is not installed.
omd-1.20 depends on libapache2-mod-proxy-html; however:
Package libapache2-mod-proxy-html is not installed.
omd-1.20 depends on apache2-mpm-prefork; however:
Package apache2-mpm-prefork is not installed.
omd-1.20 depends on libboost-program-options1.54.0; however:
Package libboost-program-options1.54.0 is not installed.
omd-1.20 depends on libboost-system1.54.0; however:
Package libboost-system1.54.0 is not installed.
omd-1.20 depends on libperl5.18; however:
Package libperl5.18 is not installed.
omd-1.20 depends on php5-cli; however:
Package php5-cli is not installed.
omd-1.20 depends on php5-cgi; however:
Package php5-cgi is not installed.
omd-1.20 depends on php5-gd; however:
Package php5-gd is not installed.
omd-1.20 depends on php5-mcrypt
dpkg: error processing package omd-1.20 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
omd-1.20
user@jknetmon:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
debugedit fonts-font-awesome fonts-liberation fping freeradius-common freeradius-utils graphviz lcab libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcdt5 libcgraph6 libcups2
libdbi-perl libevent-1.4-2 libfreeradius2 libgd3 libgsf-1-114 libgsf-1-common libgvc6 libgvpr2 libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-bootstrap libjs-d3 libjs-jquery libjs-jquery-form
libjs-jquery-metadata libjs-jquery-tablesorter libjs-rickshaw liblcms2-2 libldb1 libluajit-5.1-2 libluajit-5.1-common libmcrypt4 libndpi3 libnet-snmp-perl libnspr4 libnss3 libnss3-nssdb libpango1.0-0
libpangox-1.0-0 libpangoxft-1.0-0 libpathplan4 libpoppler58 libpython2.7 librpm3 librpmbuild3 librpmio3 librpmsign3 libsm6 libsmbclient libsnmp-perl libtalloc2 libtdb1 libtevent0 libtiff5 libtirpc1 libvpx3
libwbclient0 libxaw7 libxft2 libxmu6 libxpm4 libxt6 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-101-generic
linux-image-4.4.0-87-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-87-generic php-cgi php-gd php-mcrypt php-sqlite3 php7.0-cgi php7.0-gd php7.0-mcrypt php7.0-sqlite3 poppler-utils pyro
python-crypto python-ldb python-samba python-talloc python-tdb rpcbind rpm rpm-common rpm2cpio samba-common samba-common-bin samba-libs smbclient x11-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
omd-1.20
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 294 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 193748 files and directories currently installed.)
Removing omd-1.20 (0.trusty) ...
Setting up ntopng (3.2.180104-3976) ...
Rebuilding ld cache...
(Re)Starting ntopng...
Synchronizing state of ntopng.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable ntopng
Failed to execute operation: File exists
dpkg: error processing package ntopng (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
ntopng
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@jknetmon:~$
Could not seem to overcome the ntopng error no matter what I tried.
Then tried removeing the notpng cached packages using
sudo apt-get clean
and tried to reinstall the ntopng packages using
sudo apt-get install -reinstall ntopng
and continue to get the error...
user@jknetmon:~$ sudo apt-get install --reinstall ntopng
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
debugedit fonts-font-awesome fonts-liberation fping freeradius-common freeradius-utils graphviz lcab libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcdt5 libcgraph6 libcups2
libdbi-perl libevent-1.4-2 libfreeradius2 libgd3 libgsf-1-114 libgsf-1-common libgvc6 libgvpr2 libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-bootstrap libjs-d3 libjs-jquery libjs-jquery-form
libjs-jquery-metadata libjs-jquery-tablesorter libjs-rickshaw liblcms2-2 libldb1 libluajit-5.1-2 libluajit-5.1-common libmcrypt4 libndpi3 libnet-snmp-perl libnspr4 libnss3 libnss3-nssdb libpango1.0-0
libpangox-1.0-0 libpangoxft-1.0-0 libpathplan4 libpoppler58 libpython2.7 librpm3 librpmbuild3 librpmio3 librpmsign3 libsm6 libsmbclient libsnmp-perl libtalloc2 libtdb1 libtevent0 libtiff5 libtirpc1 libvpx3
libwbclient0 libxaw7 libxft2 libxmu6 libxpm4 libxt6 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-101-generic
linux-image-4.4.0-87-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-87-generic php-cgi php-gd php-mcrypt php-sqlite3 php7.0-cgi php7.0-gd php7.0-mcrypt php7.0-sqlite3 poppler-utils pyro
python-crypto python-ldb python-samba python-talloc python-tdb rpcbind rpm rpm-common rpm2cpio samba-common samba-common-bin samba-libs smbclient x11-common
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
ntopng
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
Need to get 5,540 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://packages.ntop.org/apt-stable/16.04 x64/ ntopng 3.2.180106-3979 [5,540 kB]
Fetched 5,540 kB in 1s (2,869 kB/s)
(Reading database ... 169285 files and directories currently installed.)
Preparing to unpack .../ntopng_3.2.180106-3979_amd64.deb ...
Unpacking ntopng (3.2.180106-3979) over (3.2.180104-3976) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up ntopng (3.2.180106-3979) ...
Rebuilding ld cache...
(Re)Starting ntopng...
Synchronizing state of ntopng.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable ntopng
Failed to execute operation: File exists
dpkg: error processing package ntopng (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
ntopng
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ntopng seems to be running without issue but I can't seem to install anything else on the system.
Is there a linux expert in the group who can gently point me in the right direction?
Thank you
Jeff Kotch
Sr. Network Analyst
York Region District School Board
Aurora Education Centre
60 Wellington Street West
Aurora, ON L4G 3H2
905.727.0022 x.2235
user@jknetmon:~$ sudo dpkg -i omd-1.20.trusty.amd64.deb
Selecting previously unselected package omd-1.20.
(Reading database ... 169285 files and directories currently installed.)
Preparing to unpack omd-1.20.trusty.amd64.deb ...
Unpacking omd-1.20 (0.trusty) ...
dpkg: dependency problems prevent configuration of omd-1.20:
omd-1.20 depends on libsnmp-python; however:
Package libsnmp-python is not installed.
omd-1.20 depends on libapache2-mod-fcgid; however:
Package libapache2-mod-fcgid is not installed.
omd-1.20 depends on libapache2-mod-proxy-html; however:
Package libapache2-mod-proxy-html is not installed.
omd-1.20 depends on apache2-mpm-prefork; however:
Package apache2-mpm-prefork is not installed.
omd-1.20 depends on libboost-program-options1.54.0; however:
Package libboost-program-options1.54.0 is not installed.
omd-1.20 depends on libboost-system1.54.0; however:
Package libboost-system1.54.0 is not installed.
omd-1.20 depends on libperl5.18; however:
Package libperl5.18 is not installed.
omd-1.20 depends on php5-cli; however:
Package php5-cli is not installed.
omd-1.20 depends on php5-cgi; however:
Package php5-cgi is not installed.
omd-1.20 depends on php5-gd; however:
Package php5-gd is not installed.
omd-1.20 depends on php5-mcrypt
dpkg: error processing package omd-1.20 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
omd-1.20
user@jknetmon:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
debugedit fonts-font-awesome fonts-liberation fping freeradius-common freeradius-utils graphviz lcab libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcdt5 libcgraph6 libcups2
libdbi-perl libevent-1.4-2 libfreeradius2 libgd3 libgsf-1-114 libgsf-1-common libgvc6 libgvpr2 libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-bootstrap libjs-d3 libjs-jquery libjs-jquery-form
libjs-jquery-metadata libjs-jquery-tablesorter libjs-rickshaw liblcms2-2 libldb1 libluajit-5.1-2 libluajit-5.1-common libmcrypt4 libndpi3 libnet-snmp-perl libnspr4 libnss3 libnss3-nssdb libpango1.0-0
libpangox-1.0-0 libpangoxft-1.0-0 libpathplan4 libpoppler58 libpython2.7 librpm3 librpmbuild3 librpmio3 librpmsign3 libsm6 libsmbclient libsnmp-perl libtalloc2 libtdb1 libtevent0 libtiff5 libtirpc1 libvpx3
libwbclient0 libxaw7 libxft2 libxmu6 libxpm4 libxt6 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-101-generic
linux-image-4.4.0-87-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-87-generic php-cgi php-gd php-mcrypt php-sqlite3 php7.0-cgi php7.0-gd php7.0-mcrypt php7.0-sqlite3 poppler-utils pyro
python-crypto python-ldb python-samba python-talloc python-tdb rpcbind rpm rpm-common rpm2cpio samba-common samba-common-bin samba-libs smbclient x11-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
omd-1.20
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 294 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 193748 files and directories currently installed.)
Removing omd-1.20 (0.trusty) ...
Setting up ntopng (3.2.180104-3976) ...
Rebuilding ld cache...
(Re)Starting ntopng...
Synchronizing state of ntopng.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable ntopng
Failed to execute operation: File exists
dpkg: error processing package ntopng (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
ntopng
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@jknetmon:~$
Could not seem to overcome the ntopng error no matter what I tried.
Then tried removeing the notpng cached packages using
sudo apt-get clean
and tried to reinstall the ntopng packages using
sudo apt-get install -reinstall ntopng
and continue to get the error...
user@jknetmon:~$ sudo apt-get install --reinstall ntopng
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
debugedit fonts-font-awesome fonts-liberation fping freeradius-common freeradius-utils graphviz lcab libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcdt5 libcgraph6 libcups2
libdbi-perl libevent-1.4-2 libfreeradius2 libgd3 libgsf-1-114 libgsf-1-common libgvc6 libgvpr2 libice6 libjbig0 libjpeg-turbo8 libjpeg8 libjs-bootstrap libjs-d3 libjs-jquery libjs-jquery-form
libjs-jquery-metadata libjs-jquery-tablesorter libjs-rickshaw liblcms2-2 libldb1 libluajit-5.1-2 libluajit-5.1-common libmcrypt4 libndpi3 libnet-snmp-perl libnspr4 libnss3 libnss3-nssdb libpango1.0-0
libpangox-1.0-0 libpangoxft-1.0-0 libpathplan4 libpoppler58 libpython2.7 librpm3 librpmbuild3 librpmio3 librpmsign3 libsm6 libsmbclient libsnmp-perl libtalloc2 libtdb1 libtevent0 libtiff5 libtirpc1 libvpx3
libwbclient0 libxaw7 libxft2 libxmu6 libxpm4 libxt6 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-101-generic
linux-image-4.4.0-87-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-87-generic php-cgi php-gd php-mcrypt php-sqlite3 php7.0-cgi php7.0-gd php7.0-mcrypt php7.0-sqlite3 poppler-utils pyro
python-crypto python-ldb python-samba python-talloc python-tdb rpcbind rpm rpm-common rpm2cpio samba-common samba-common-bin samba-libs smbclient x11-common
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
ntopng
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
Need to get 5,540 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://packages.ntop.org/apt-stable/16.04 x64/ ntopng 3.2.180106-3979 [5,540 kB]
Fetched 5,540 kB in 1s (2,869 kB/s)
(Reading database ... 169285 files and directories currently installed.)
Preparing to unpack .../ntopng_3.2.180106-3979_amd64.deb ...
Unpacking ntopng (3.2.180106-3979) over (3.2.180104-3976) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up ntopng (3.2.180106-3979) ...
Rebuilding ld cache...
(Re)Starting ntopng...
Synchronizing state of ntopng.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable ntopng
Failed to execute operation: File exists
dpkg: error processing package ntopng (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
ntopng
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ntopng seems to be running without issue but I can't seem to install anything else on the system.
Is there a linux expert in the group who can gently point me in the right direction?
Thank you
Jeff Kotch
Sr. Network Analyst
York Region District School Board
Aurora Education Centre
60 Wellington Street West
Aurora, ON L4G 3H2
905.727.0022 x.2235