After pressing the "Magic" button to Upgrade from 3.3 to 3.4 I got an Error that IPS did not install - depends on suricata. I did all of the following even tried to remove all apt archives and fetched from another source server! Someone more clevir than me need to help please!
sudo dpkg --configure -a
root@chaos:~# sudo dpkg --configure -a
dpkg: error processing suricata (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of zentyal-ips:
zentyal-ips depends on suricata; however:
Package suricata is not configured yet.
dpkg: error processing zentyal-ips (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
root@chaos:/var/cache/apt/archives# apt-get install suricata
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-mpm-prefork apache2.2-bin autotools-dev bc cups-filters foomatic-db foomatic-db-engine foomatic-filters gnustep-make gobjc-4.6 hplip-data
libapache-singleton-perl libapache2-authcookie-perl libbind9-80 libconfig++8 libconfig8 libcupscgi1 libcupsfilters1 libcupsmime1 libcupsppdc1 libdconf0
libdm0 libdns81 libexif12 libexporter-cluster-perl libgd2-xpm libgnustep-base1.22 libgphoto2-2 libgphoto2-port0 libhpmud0 libieee1284-3 libisc83
libisccc80 libisccfg82 liblcms1 liblua5.1-0 liblwres80 libnet-cups-perl libobjc3 libsane libsane-common libsane-hpaio libsnmp-base libsnmp15
libtcmalloc-minimal0 libtommath0 libv4l-0 libv4lconvert0 linux-headers-3.8.0-30 linux-headers-3.8.0-30-generic php-mdb2 php-mdb2-driver-mysql php5-ldap
poppler-utils python-apport python-dbus python-dbus-dev python-gi python-gnupginterface python-gobject-2 python-imaging python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth python-pexpect python-problem-report python-reportlab python-wadllib
python-zope.interface samba4
Use 'apt-get autoremove' to remove them.
Recommended packages:
oinkmaster
The following packages will be upgraded:
suricata
1 upgraded, 0 newly installed, 0 to remove and 343 not upgraded.
2 not fully installed or removed.
Need to get 785 kB of archives.
After this operation, 1Â 501 kB disk space will be freed.
Get:1 http://cz.archive.ubuntu.com/ubuntu/ saucy/universe suricata amd64 1.4.3-1 [785 kB]
Fetched 785 kB in 5s (132 kB/s)
E: Could not open file descriptor -1
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 335809 files and directories currently installed.)
Preparing to replace suricata 1.1.1-1 (using .../suricata_1.4.3-1_amd64.deb) ...
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/suricata_1.4.3-1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
/var/cache/apt/archives/suricata_1.4.3-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@chaos:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-mpm-prefork apache2.2-bin autotools-dev bc cups-filters foomatic-db foomatic-db-engine foomatic-filters gnustep-make gobjc-4.6 hplip-data
libapache-singleton-perl libapache2-authcookie-perl libbind9-80 libconfig++8 libconfig8 libcupscgi1 libcupsfilters1 libcupsmime1 libcupsppdc1 libdconf0
libdm0 libdns81 libexif12 libexporter-cluster-perl libgd2-xpm libgnustep-base1.22 libgphoto2-2 libgphoto2-port0 libhpmud0 libieee1284-3 libisc83
libisccc80 libisccfg82 liblcms1 liblua5.1-0 liblwres80 libnet-cups-perl libobjc3 libsane libsane-common libsane-hpaio libsnmp-base libsnmp15
libtcmalloc-minimal0 libtommath0 libv4l-0 libv4lconvert0 linux-headers-3.8.0-30 linux-headers-3.8.0-30-generic php-mdb2 php-mdb2-driver-mysql php5-ldap
poppler-utils python-apport python-dbus python-dbus-dev python-gi python-gnupginterface python-gobject-2 python-imaging python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth python-pexpect python-problem-report python-reportlab python-wadllib
python-zope.interface samba4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
suricata
Recommended packages:
oinkmaster
The following packages will be upgraded:
suricata
1 upgraded, 0 newly installed, 0 to remove and 342 not upgraded.
3 not fully installed or removed.
Need to get 0 B/785 kB of archives.
After this operation, 1Â 501 kB disk space will be freed.
Do you want to continue [Y/n]? y
E: Could not open file descriptor -1
debconf: apt-extracttemplates failed: No such file or directory
Setting up grep (2.14-3) ...
(Reading database ... 335809 files and directories currently installed.)
Preparing to replace suricata 1.1.1-1 (using .../suricata_1.4.3-1_amd64.deb) ...
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/suricata_1.4.3-1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
* NFQUEUE support not found !
* Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
/var/cache/apt/archives/suricata_1.4.3-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)