[Bug 363060] Re: package dhcp3-server 3.1.1-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 127

eswar eswararaj at gmail.com
Mon Apr 20 19:30:45 BST 2009


Hi,
thanx for the reply,,

when i try to install dhcp3-server the following error occurs:
 sudo apt-get install dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dhcp3-common
The following NEW packages will be installed
  dhcp3-common dhcp3-server
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/686kB of archives.
After this operation, 1499kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package dhcp3-common.
(Reading database ... 148139 files and directories currently installed.)
Unpacking dhcp3-common (from .../dhcp3-common_3.1.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package dhcp3-server.
Unpacking dhcp3-server (from .../dhcp3-server_3.1.1-1ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up dhcp3-common (3.1.1-1ubuntu2) ...
Setting up dhcp3-server (3.1.1-1ubuntu2) ...
 * Starting DHCP server
dhcpd3                                                   * check syslog for
diagnostics.

[fail]
invoke-rc.d: initscript dhcp3-server, action "start" failed.
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#    Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES=""

My purpose of this package : i would like my ubuntu machine to act like a
router to other computers. i tought of achieving this by creating a network
(wireless network using my wireless usb-lan adaptor).
so added few more interfaces to the above file eth0 and wlan0.. and tried to
configure through the dhcp but it comes out saying my wlan0 is not ready!!
very puzzed

i have also tried with avahi - not able to achieve the goal - so unistalled
the whole thing!

i have tried few other things i could not establish the local area network
using my wireless card! is ther any thing i should be doing ..

any help wil be of great use.. my networking knowledge is very
limitted..

thank you very much

cheers
eswar

On Mon, Apr 20, 2009 at 10:24 AM, Thierry Carrez
<thierry.carrez at ubuntu.com>wrote:

> There apparently were some leftovers from a previous dhcp3-server
> installation. The error in the logs is:
> /etc/default/dhcp3-server: 1: auto: not found
>
>
> Apparently something was set in the old /etc/default/dhcp3-server that
> prevents successful install/startup. Could you attach your
> /etc/default/dhcp3-server file ?
>
> Purging existing config files and reinstalling should fix the issue:
> $ sudo apt-get purge dhcp3-server
> $ sudo apt-get install dhcp3-server
>
>
> ** Changed in: dhcp3 (Ubuntu)
>       Status: New => Incomplete
>
> --
> package dhcp3-server 3.1.1-1ubuntu2 failed to install/upgrade: subprocess
> post-installation script returned error exit status 127
> https://bugs.launchpad.net/bugs/363060
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
package dhcp3-server 3.1.1-1ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 127
https://bugs.launchpad.net/bugs/363060
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