What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? Is ATC communication subject to FCC profanity regulations? Training Certification Events Webinars CommunityParticipate Q&A Forums Blogs ResourcesNewsletter Distributions Publications Infographics Photos Videos Jobs bilhakki May 18, 2013 'Could not open lock file...' Where to fix this? I ended up opening terminal: sudo nautilus navigating to the folders/files, and changing permissions to ME - FOLDER:FULL ACCESS / FILES: READ WRITE ROOT - FOLDER: FULL ACCESS / FILES: READ his comment is here
The lock file is used as concurrency control for dpkg and is used by dpkg and so indirectly by apt, aptitude, software center, synaptic and update manager (etc). What are those "sticks" on Jyn Erso's back? This feature is not available right now. This answer is really DANGEROUS.
apt) it will ask for your password and then if entered correctly will allow you to do the task as root if this dosent help then make sure that any programs Sign in Share More Report Need to report the video? share|improve this answer answered Nov 29 '12 at 16:18 gertvdijk 39.2k17101175 add a comment| up vote 2 down vote Try with sudo apt-get update If u still get lock error try
Tango Icons © Tango Desktop Project. asked 4 years ago viewed 129443 times active 2 years ago Linked -1 Gimp Terminal install problem 1 Unable to lock the administration directory (/var/lib/dpkg/), are you root? 0 gparted is Wireless Script|Cube and Desktop Effects in Compiz|#Ubuntu Forums Social IRC Chat How To Use Code Tags|How To Mark Thread Solved|Posting Guidelines|SSO registration guide Adv Reply Quick Navigation New to Ubuntu Rm: Cannot Remove â€˜/var/lib/dpkg/lockâ€™: Permission Denied asked 4 years ago viewed 135610 times active 2 years ago Linked 1 How do I get root in terminal? 4 Solving /var/lib/dpkg/lock - open (13: Permission denied) with “are you
How to select a number from all the integers list? Could Not Open Lock File /var/lib/dpkg/lock - Open (2: No Such File Or Directory) You can know which programs run with Super-user privileges as when they need to be run with super-user privileges, they will prompt you for your password. What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? Hasan Nuaim 4,402 views 1:46 How to open Password Protected Excel File (No Software & 100% Free) - Duration: 2:15.
Qual è la preposizione corretta in questa frase? E: Could Not Open File /var/lib/dpkg/status - Open (2: No Such File Or Directory) Why did it take longer to go to Rivendell in The Hobbit than in The Fellowship of the Ring? Or else the updater gets locked. –Dan Johansen Feb 28 '14 at 12:50 1 The lock exists to protect your repository configuration files. Done Building dependency tree Reading state information...
Please try again later. https://talk.maemo.org/showthread.php?t=44812 Please change them back via: "sudo chmod 644 /var/lib/dpkg/status" in order to fix the issue. Could Not Open Lock File /var/lib/dpkg/status Cydia Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Would you like to answer one of these unanswered questions instead?
share|improve this answer answered Mar 10 '14 at 18:51 RPi Awesomeness 2,22321949 add a comment| up vote 3 down vote have you tried sudo? this content Sign in to add this video to a playlist. What's the difference between ls and la? Watch QueueQueueWatch QueueQueue Remove allDisconnect The next video is startingstop Loading... Error Reading Lock File Not Enough Data Read
In all cases just run them on two separate lines as in: sudo apt-get update sudo apt-get dist-upgrade share|improve this answer edited Sep 7 '15 at 12:40 Ghanima♦ 7,69162651 answered Sep The fix in my case was to separate the statements: sudo apt-get update sudo apt-get upgrade My guess is that somehow these guys got into a deadly embrace. A published paper stole my unpublished results from a science fair Explain it to me like I'm a physics grad: Greenhouse Effect Were defendants at the Nuremberg trial allowed to deny weblink Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Could not open lock
Working... Could Not Open Lock File Var Lib Dpkg Lock Raspberry Pi This is specially true for apt-get. And if any software being installed on Un*x system doesn't have this safety, we should start writing an if statement to take care of it –drake01 Nov 24 '13 at 3:00
From the Link: File locking is a mechanism which allows only one process to access a file at any specific time. share|improve this answer edited Nov 29 '12 at 16:35 answered Nov 29 '12 at 16:25 iBelieve 3,95521852 1 This does't help in getting rid of the error: unable to lock You need to be root to do it.... Nano Error Reading Lock File Not Enough Data Read The time now is 01:37 PM.
Defendant"? Rating is available when the video has been rented. ssfs should be used for abap, not for javaWhat is the DIR_GLOBAL value as mentioned in the noteï¼ŸBest regards,James 0 Likes 0 View this answer in context Archived discussions are read-only. http://gsbook.org/lock-file/debian-apt-get-could-not-open-lock-file.php Loading...
DistroUbuntu Development Release Re: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) You should be able to remove the lock by closing the package management apps as mentioned Thanks again and extreme apologies to everyone. Prepend sudo to the command to elevate the privileges. If you wouldn't mind, please mark this SOLVED using the 'Thread Tools' link near the top right of the original post.
share|improve this answer edited Mar 23 '14 at 12:41 answered Mar 23 '14 at 12:34 Cheapskate01 115 add a comment| protected by goldilocks♦ Sep 27 '15 at 12:46 Thank you for If you believe everything you read, you better not read. ~ Japanese Proverb If you don't read the newspaper, you're uninformed. What does this symbol of a car balancing on two wheels mean? Cracker & Patcher 6,126 views 5:03 Loading more suggestions...