package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

Bug #613414 reported by kistareddyd
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: dhcp3-server 3.1.3-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 4 16:57:36 2010
ErrorMessage: subprocess installed pre-removal script returned error exit status 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: dhcp3
Title: package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

Revision history for this message
kistareddyd (kistareddyd) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Stop action in prerm fails when sourcing the /etc/default/dhcp3-server file, so I suppose its contents is broken. I'd remove it, run "sudo dpkg-reconfigure dhcp3-server" to recreate it, then try to remove the package.
See:

Removing dhcp3-server ...
/etc/default/dhcp3-server: 12: subnet: not found
/etc/default/dhcp3-server: 13: range: not found
/etc/default/dhcp3-server: 14: option: not found
/etc/default/dhcp3-server: 15: option: not found
/etc/default/dhcp3-server: 16: option: not found
/etc/default/dhcp3-server: 17: option: not found
/etc/default/dhcp3-server: 18: option: not found
/etc/default/dhcp3-server: 19: default-lease-time: not found
/etc/default/dhcp3-server: 20: max-lease-time: not found
/etc/default/dhcp3-server: 21: Syntax error: "}" unexpected
invoke-rc.d: initscript dhcp3-server, action "stop" failed.

Changed in dhcp3 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Simon K (octav14n)
Changed in dhcp3 (Ubuntu):
status: Incomplete → Confirmed
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.