package snort 2.9.2-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

Bug #996450 reported by Nicolas Riesco
20
This bug affects 3 people
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
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
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)

Revision history for this message
Nicolas Riesco (nicolas-riesco) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Nicolas Riesco (nicolas-riesco) wrote :

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
        if [ "x$RET" = "xyes" ]; then
        # Remove the -o option which was introduced by Debconf
        # (snort/reverse_order) in versions previous to 2.8.5.2-2
            DEBIAN_SNORT_OPTIONS=`echo "$DEBIAN_SNORT_OPTIONS" | sed -e 's/ -o$//'`
        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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snort (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package snort - 2.9.15.1-2

---------------
snort (2.9.15.1-2) unstable; urgency=medium

  * debian/control:
     - Add libssl-dev as Build-Dep (Closes:#956812)
     - Update Standards version
     - Fix Git-VCS url
     - Make snort-doc Multi-Arch: foreign
  * debian/patches/documentation_debian: Document the use of /etc/default/snort

 -- Javier Fernández-Sanguino Peña <email address hidden> Sat, 18 Apr 2020 11:56:13 +0200

Changed in snort (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.