LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2008, 06:58 PM   #1
netstat
LQ Newbie
 
Registered: Sep 2008
Location: anywhere they let me
Distribution: can't decide
Posts: 4

Rep: Reputation: 0
could not get lock /var/lib/dpkg/


new install debian 4.0

need to learn lamp.

want to try wajig for pkg management.

at prompt typed apt-get wajig

print read... E:could not get lock /var/lib/dpkg/lock - open
(11 resource temporarily unavailable)

E:unable to lock administration directory (var/lib/dpkg/
, is another process using it?

what does this mean?
can i install wajig while using debian 4.0 ? man says yes ...command line said no.

I then found this in similar threads..

myself faced this problem by some how i fix it. You do the same thing
here we gooooooooo.
we are at root
1. mv /var/lib/dpkg/status __/var/lib/dpkg/status_bak
2. cp /var/backups/dpkg.status.<any latest number>.gz __/var/lib/dpkg/
4. gunzip -d /var/lib/dpkg/dpkg.status.<any latest number>.gz
5. mv /var/lib/dpkg/dpkg.status.<the number in third step> __/var/lib/dpkg/status
6. apt-get updates

what does latest number mean? in the above statement...

another thing i read about this said
Hello,
the problem is that Synaptics acquires the lock.

if this is the problem how do i unlock synaptic ?

i then read...
sudo rm /var/lib/apt/list/lock

i typed this and was asked for password...i typed root...no good i typed userpassword and got the following print.

krash is not in the sudoers file. this incident will be reported.

I would just like to say that nothing is going right...and.. I would love to give this all up and watch tv...but tv is bad for me..
 
Old 09-08-2008, 08:52 PM   #2
netstat
LQ Newbie
 
Registered: Sep 2008
Location: anywhere they let me
Distribution: can't decide
Posts: 4

Original Poster
Rep: Reputation: 0
didn't read enough

sorry missed one detail had synaptic running.

dumb new be mistake. can i delete posts if I screw up??
 
  


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
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 16 02-15-2012 12:28 PM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
Unable to lock the administration directory (/var/lib/dpkg/) cccc Debian 10 11-15-2011 10:51 PM
Could not get lock /var/lib/dpkg/lock thelonius Debian 5 07-31-2006 07:48 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration