Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: lock file & admin dir problems< Next Oldest | Next Newest >
dallas7 Offline





Group: Members
Posts: 36
Joined: Sep. 2003
Posted: Jan. 13 2004,05:18 QUOTE

I'm running DSL .5 from a hard drive install. Can anyone tell me how to around this?

sudo apt-get install whatever
E: could not open lock file /var/lib/dpkg/lock -open (2 no such file or directory)
E: unable to lock the administratior directory (/var/lib/dpkb), are you root?

These error messages, or similar, come up in some way or another whenever I try to do anything with apt-get.  sudo, sudo su, no diff.


--------------
Your Jedi mind tricks won't work on me, Skywalker.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 13 2004,05:54 QUOTE

Have you typed:

sudo su
dpkg-restore
exit

before you tried to run the apt-get stuff? You need to restore the dpkg directory before apt-get will work and the dpkg-restore command will grab the file from the web site and restore it for you.

Good Luck.
Back to top
Profile PM 
1 replies since Jan. 13 2004,05:18 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: lock file & admin dir problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code