LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error installing dhcpd (https://www.linuxquestions.org/questions/linux-newbie-8/error-installing-dhcpd-649739/)

bdavide 06-16-2008 05:37 PM

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.

billymayday 06-16-2008 05:40 PM

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?

bdavide 06-16-2008 05:49 PM

sudo apt-get install dhcp

bdavide 06-16-2008 06:03 PM

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?

bdavide 06-16-2008 06:09 PM

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?

bdavide 06-17-2008 03:41 AM

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?

corrupt_reaper 07-07-2008 07:36 PM

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 ;)


All times are GMT -5. The time now is 07:25 AM.