package snort 2.9.2-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snort (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Get this error every time an update is installed. It started after upgrading to the beta version of 12.04.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: snort 2.9.2-3ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
giflib-tools: Install
snort: Configure
giflib-tools: Configure
Architecture: amd64
Date: Tue May 8 10:24:48 2012
DuplicateSignature:
Setting up snort (2.9.2-3ubuntu1) ...
dpkg: error processing snort (--configure):
subprocess installed post-installation script returned error exit status 10
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: snort
Title: package snort 2.9.2-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
UpgradeStatus: Upgraded to precise on 2012-03-18 (50 days ago)
tags: | removed: need-duplicate-check |
I've tracked down the point where the post-installation fails.
It fails in the script /var/lib/ dpkg/info/ snort.config when line 16 "db_get snort/reverse_ order" is run.
To workaorund this failure I have removed the following lines from script /var/lib/ dpkg/info/ snort.config:
db_get snort/reverse_order reverse_ order) in versions previous to 2.8.5.2-2
DEBIAN_ SNORT_OPTIONS= `echo "$DEBIAN_ SNORT_OPTIONS" | sed -e 's/ -o$//'`
if [ "x$RET" = "xyes" ]; then
# Remove the -o option which was introduced by Debconf
# (snort/
fi
I believe this bug is related to the following change:
http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ oneiric/ snort/oneiric/ revision/ 24
I hope this helps.