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

Thierry Carrez thierry.carrez at ubuntu.com
Wed Aug 4 13:00:32 BST 2010


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

** Changed in: dhcp3 (Ubuntu)
       Status: New => Incomplete

-- 
package dhcp3-server 3.1.3-2ubuntu3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2
https://bugs.launchpad.net/bugs/613414
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list