LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-26-2013, 12:07 PM   #1
Squerl101
Member
 
Registered: Nov 2011
Location: Muskego, WI
Posts: 34

Rep: Reputation: 0
Question Lock directory does not exist?


Hey guys, in running Raspbian Wheezy on my Raspberry Pi, and every time I go to install something, it says that /var/lib/dpkg/lock does not exist, and that it cannot lock the administration directory.

How should I go about fixing this? Any help is appreciated.
 
Old 01-26-2013, 12:31 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
There is no such thing as a lock directory, only lock files. These are placed inside the working directory of the application. I'm not sure an ordinary user can fix this (might be a bug upstream somewhere) but you can create the file (as root!) with
Code:
touch /var/lib/dpkg/lock
 
  


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
Directory does not exist. blck_kenzo Linux - Newbie 2 10-18-2010 03:07 AM
how to check directory exist or not nagendrar Solaris / OpenSolaris 1 04-30-2010 03:06 AM
Home directory does not exist emibee Linux - Laptop and Netbook 8 03-17-2009 04:20 PM
Home Directory Does not exist PLEASE HELP scdemon Ubuntu 2 02-10-2007 05:32 PM
apache directory does not exist Smokey Slackware 5 08-25-2004 09:06 AM


All times are GMT -5. The time now is 04:19 PM.

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