PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001642PacketFencepackagingpublic2013-05-14 21:442013-05-15 07:13
Reporteradamashley 
Assigned Tofrancis 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0.0 
Target VersionFixed in Version+1 
Summary0001642: Ubuntu package install fails when trying to stop services that don't exist
DescriptionClean ubuntu 12.04.2 LTS install with minimal install. Only SSH and requirements to boot are installed.

Add repository and install package as documented at http://www.packetfence.org/support/faqs/article/how-to-install-packetfence-on-ubuntu.html [^]

Install runs until following error message occurs:
dpkg: error processing packetfence (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 packetfence


Edited /var/lib/dpkg/info/packetfence.postinst to add more comments through out the process that is failing. Resulting log:

root@proxy01:/var/lib/dpkg# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up packetfence (4.0.0) ...
DH already exists, won't touch it!
managing services
Stopping snort
dpkg: error processing packetfence (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 packetfence
E: Sub-process /usr/bin/dpkg returned an error code (1)

Install script is failing because there is no service called snort installed on the machine. Only packages installed are those listed as dependancies for packetfence.
TagsNo tags attached.
fixed in git revisionhttps://github.com/inverse-inc/packetfence/commit/0816032722c3b4c99be2010667b2e585c0acc756 [^]
fixed in mtn revision
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-05-14 21:44 adamashley New Issue
2013-05-15 07:13 francis fixed in git revision => 0816032722c3b4c99be2010667b2e585c0acc756
2013-05-15 07:13 francis Status new => resolved
2013-05-15 07:13 francis Fixed in Version => +1
2013-05-15 07:13 francis Resolution open => fixed
2013-05-15 07:13 francis Assigned To => francis
2013-05-15 07:13 francis fixed in git revision 0816032722c3b4c99be2010667b2e585c0acc756 => https://github.com/inverse-inc/packetfence/commit/0816032722c3b4c99be2010667b2e585c0acc756 [^]


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker