subprocess installed post-installation script returned error exit code 1
- by Laura quintero
I had installed snort on ubuntu 11.04 and uninstall it because I had problems, to reinstall it leaves a problem:
Reading package lists ... done
Building dependency tree
Reading state information ... done
Calculating upgrade ... ready
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
0 B will be used for additional disk space after this operation.
Do you want to continue [S / n]? s
Configuring snort (2.8.5.2-9.1) ...
* Stopping Network Intrusion Detection System snort * - No running snort instance found
* Starting Network Intrusion Detection System snort [fail]
invoke-rc.d: initscript snort, action "start" failed.
dpkg: error processing snort (- configure):
subprocess installed post-installation script returned error exit code 1
Errors were encountered while processing:
snort
E: Sub-process / usr / bin / dpkg Returned an error code (1)
any solution?
Commands allready used
apt-get clean
apt-get remove snort
sudo apt-get dist-upgrade
dpkg - remove - force-remove-reinstreq snort
and nothing.