snort@Snort:~$ sudo apt-get install snort [sudo] password for snort: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: snort-doc The following NEW packages will be installed: snort 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/696 kB of archives. After this operation, 1,794 kB of additional disk space will be used. Preconfiguring packages ... (Reading database ... 180677 files and directories currently installed.) Unpacking snort (from .../snort_2.9.2-3ubuntu1_i386.deb) ... usermod: user snort is currently logged in dpkg: error processing /var/cache/apt/archives/snort_2.9.2-3ubuntu1_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 8 No apport report written because MaxReports is reached already Errors were encountered while processing: /var/cache/apt/archives/snort_2.9.2-3ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Bug #1031917 reported by clickwir
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snort (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Fresh install of Ubuntu desktop 12.04. All updates applied as of 8/1/2012. Then when trying to install snort via 'sudo apt-get install snort' I get the following.

snort@Snort:~$ sudo apt-get install snort
[sudo] password for snort:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  snort-doc
The following NEW packages will be installed:
  snort
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/696 kB of archives.
After this operation, 1,794 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 180677 files and directories currently installed.)
Unpacking snort (from .../snort_2.9.2-3ubuntu1_i386.deb) ...
usermod: user snort is currently logged in
dpkg: error processing /var/cache/apt/archives/snort_2.9.2-3ubuntu1_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 8
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/snort_2.9.2-3ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is a fresh install, just installed. In fact, we got this error and assumed the installation was f'd. So we redownloaded and burned a cd again, reinstalled with a full wipe of the partitions and still got the same error.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: snort (not installed)
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21
Uname: Linux 3.2.0-27-generic-pae i686
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Wed Aug 1 16:16:33 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: snort
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
clickwir (clickwir) wrote :

Here's some more info. We wiped and reloaded with Ubuntu Server 12.04. Still get same install error. So we tried doing sudo apt-get -b source snort. Of course it needed about a dozen packages first, but after that (and 45 minutes later) it seemed to install properly. So something appears to be wrong with the prebuilt pacakage. Maybe? I'm not sure.

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.

Other bug subscribers

Remote bug watches

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