LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2008, 05:37 PM   #1
bdavide
Member
 
Registered: Apr 2008
Location: ITALY
Distribution: Ubuntu 7.10
Posts: 62

Rep: Reputation: 15
error installing dhcpd


This is the error when I try to install dhcpd on my Ubuntu 7.10.

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


I am logged as root and I tried unsuccesfully to access /var/lib/dpkg/lock (if that was important) and I received a denied error.
 
Old 06-16-2008, 05:40 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I would guess that you are already running the package manager in some way - perhaps it's running an update check or something in the background. How did you attempt the install?
 
Old 06-16-2008, 05:49 PM   #3
bdavide
Member
 
Registered: Apr 2008
Location: ITALY
Distribution: Ubuntu 7.10
Posts: 62

Original Poster
Rep: Reputation: 15
sudo apt-get install dhcp
 
Old 06-16-2008, 06:03 PM   #4
bdavide
Member
 
Registered: Apr 2008
Location: ITALY
Distribution: Ubuntu 7.10
Posts: 62

Original Poster
Rep: Reputation: 15
I even tried to install it trough webmin, still with an error.

Installing package(s) with command apt-get -y --force-yes -f install dhcp3-server ..

.. install failed!


whats going on?
 
Old 06-16-2008, 06:09 PM   #5
bdavide
Member
 
Registered: Apr 2008
Location: ITALY
Distribution: Ubuntu 7.10
Posts: 62

Original Poster
Rep: Reputation: 15
Furthermore, in the /etc/init.d/ instead of dhcpd.conf file I have dhcdbd.

Is another dhcp program installed on the machine and I didnt know about it?
 
Old 06-17-2008, 03:41 AM   #6
bdavide
Member
 
Registered: Apr 2008
Location: ITALY
Distribution: Ubuntu 7.10
Posts: 62

Original Poster
Rep: Reputation: 15
PLease help, Im lost!!

Summarizing:
This is the error when I try to install dhcpd on my Ubuntu 7.10.

sudo apt-get install dhcp

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I am logged as root and I tried unsuccesfully to access /var/lib/dpkg/lock (if that was important) and I received a denied error.

I even tried to install it trough webmin, still with an error.

Installing package(s) with command apt-get -y --force-yes -f install dhcp3-server ..

.. install failed!


Furthermore, in the /etc/init.d/ instead of dhcpd.conf file I have dhcdbd.

Is another dhcp program installed on the machine and I didnt know about it? If yes, do I need to delete it in order to install DHCPD?
 
Old 07-07-2008, 07:36 PM   #7
corrupt_reaper
LQ Newbie
 
Registered: Oct 2004
Location: West Midlands
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
hi there, i believe you have another package management runnng as root enter

dpkg --configure -a

thats always worked for me, let me know how you got on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Curious dhcpd error thosm Linux - Networking 7 08-31-2005 01:22 PM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 03:58 AM
dhcpd.conf (not listening error) SWAT Linux - Newbie 2 11-11-2003 03:22 AM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration