I fixed the problem about a month ago after another failed upgrade
indicated that the problem was caused by a dhcp configuration file in
another location.  That file was located under etc/default (I think) and
it was largely blank.  When the server tried to start using that
configuration file it gave the errors shown in the original message.
The configuration file in the standard location (/etc/dhcp3?) was
correct but not being used.  I deleted the blank configuration file and
the package updated correctly.

This may have been caused when I accidentally selected the option to
restore some of the communication configuration files to the defaults
during an upgrade.  That particular dialog was not very clear about
which option preserved the changes I had made in the configuration
files.


Tom N.


----- Original Message ----
From: Chuck Short <chuck.sh...@canonical.com>
To: tanon...@yahoo.com
Sent: Sunday, September 20, 2009 2:15:03 PM
Subject: [Bug 389302] Re: dhcp3-server fails to update

Relevant error:

Removing dhcp3-server ...
/etc/default/dhcp3-server: 14: default-lease-time: not found
/etc/default/dhcp3-server: 15: max-lease-time: 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: option: not found
/etc/default/dhcp3-server: 20: option: not found
/etc/default/dhcp3-server: 22: subnet: not found
/etc/default/dhcp3-server: 23: range: not found
/etc/default/dhcp3-server: 24: range: not found
/etc/default/dhcp3-server: 25: Syntax error: "}" unexpected
invoke-rc.d: initscript dhcp3-server, action "stop" failed.
dpkg: error processing dhcp3-server (--purge):
subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
dhcp3-server
Log ended: 2009-06-18  20:47:41


Are you still having this problem?

Regards
chuck

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

-- 
dhcp3-server fails to update
https://bugs.launchpad.net/bugs/389302
You received this bug notification because you are a direct subscriber
of the bug.

Status in “dhcp3” package in Ubuntu: Incomplete

Bug description:
Errors were encountered while processing:
dhcp3-server
gadmin-dhcpd
gdhcpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of gadmin-dhcpd:
gadmin-dhcpd depends on dhcp3-server; however:
  Package dhcp3-server is not configured yet.
dpkg: error processing gadmin-dhcpd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gdhcpd:
gdhcpd depends on gadmin-dhcpd; however:
  Package gadmin-dhcpd is not configured yet.
dpkg: error processing gdhcpd (--configure):
dependency proglems - leaving unconfigured
Errors were encountered while processing:
gadmin-dhcpd
gdhcpd

Cannot uninstall dhcp3-server either.  Stopped server and tried to use
synaptic to remove, but got an error and package remained installed.
Error started after upgrade from 8.04 to 8.10 and persisted in 9.04.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 127
Package: dhcp3-server 3.1.1-5ubuntu8
SourcePackage: dhcp3
Title: package dhcp3-server 3.1.1-5ubuntu8 failed to install/upgrade: 
subprocess post-installation script returned error exit status 127
Uname: Linux 2.6.28-13-generic i686

-- 
dhcp3-server fails to update
https://bugs.launchpad.net/bugs/389302
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to