Also I'm unable to install updates using the terminal. Saju M 4,377 views 1:16 Fix dpkg was interrupted you must manually - Duration: 3:59. Output the first position in your program for each input character How should night time be determined and logged in a fast westbound plane? When you install something on linux, it more often then not requires a few protected folders. his comment is here
share|improve this answer answered Feb 28 '14 at 13:20 Braiam 40.2k1696158 Thanks for the help gents,as I have not set root I didn't think I'd need to use sudo Don't use update manager , Ubuntu software center or apt-get through command line at the same time. –atenz Jul 12 '12 at 17:42 yes,I know,I don't have use all apt share|improve this question edited Mar 23 '14 at 4:23 Braiam 40.2k1696158 asked Nov 29 '12 at 16:15 Raghav Mittal 164348 4 This isn't a duplicate, same error, but different Will edit the post.
iPeris 17,438 views 8:49 sudo apt get update E: Some index files failed to download They have been ignored, or old ones used - Duration: 9:20. apt-get [email protected]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS" [email protected]:~$ uname -a Linux THEQUACK 3.13.0-39-generic #66~precise1-Ubuntu SMP Wed Oct 29 09:59:20 UTC 2014 i686 i686 i386 GNU/Linux [email protected]:~$ sudo rm What are those "sticks" on Jyn Erso's back? Could Not Open Lock File Var Lib Dpkg Lock Raspberry Pi Does having a finite number of generators with finite order imply that the group is finite?
Happens sometimes... –Gotschi Mar 10 '14 at 11:40 Thanks but when I enter it, it still says Permission denied –Papadopolous Mar 10 '14 at 12:00 I am Could Not Open Lock File /var/lib/dpkg/lock - Open (13 Permission Denied) Ubuntu asked 2 years ago viewed 63784 times active 2 years ago Linked 25 Permission denied, are you root? In a determinant prove xyz = 1 Does gunlugger AP ammo affects all armor? http://askubuntu.com/questions/423143/solving-var-lib-dpkg-lock-open-13-permission-denied-with-are-you-root-e To solve this problem, I introduced a single command: $ sudo!!
Extremely sorry and thanks for catching me there. Cannot Open Lock File /var/lib/dpkg/status Measuring Water with a Holey Cube Get out of the transit airport at Schengen area and the counting of Schengen period Does gunlugger AP ammo affects all armor? Done Building dependency tree Reading state information... Hasan Nuaim 4,402 views 1:46 How To Fix "var/lib/dpkg..." Cydia Error Message - Without Having iFile And Terminal #2 - Duration: 8:49.
share|improve this answer edited Oct 22 '13 at 20:19 answered Oct 22 '13 at 17:11 pst007x 3,181133562 add a comment| up vote -2 down vote sudo -s (gives the root access) Sorry I'm still learning. Could Not Open Lock File /var/lib/dpkg/lock - Open (2: No Such File Or Directory) since then i have tried reinstalling from a bootable usb to an older ubuntu and this is what i am getting now. Rm: Cannot Remove â€˜/var/lib/dpkg/lockâ€™: Permission Denied apt permissions dpkg share|improve this question asked Feb 19 '14 at 13:25 welshpudding 23113 marked as duplicate by Eliah Kagan, Rinzwind, Radu RÄƒdeanu, muru, Eric Carvalho Aug 21 '14 at 10:47
When hiking, why is the right of way given to people going up? http://sinistro.org/not-open/could-not-open-file-in-sharepoint.html Thus, you need to run the apt-get commands with sudo: sudo apt-get. Working... ubuntu root share|improve this question edited Aug 1 at 6:56 karel 7,11392327 asked Aug 1 at 5:31 hasee 61 1 please anyone help by solving my error. –hasee Aug 1 Error Reading Lock File Not Enough Data Read
Cracker & Patcher 14,178 views 4:31 How to unlock locked files in Android mobile without password - Duration: 1:46. Thanks in advance with any assistance on this. Could large but sparsely populated country control its borders? http://sinistro.org/not-open/could-not-open-lock-file-var.html A real function problem Pentesting against own web service hosted on 3rd party platform What are those "sticks" on Jyn Erso's back?
asked 2 years ago viewed 9558 times active 1 year ago Related 8apt-get update gives me errors with mirrordirector.raspbian.org1Problem with apt-get and locales1Error on sudo apt-get update3apt-get connections time out when E: Could Not Open File /var/lib/dpkg/status - Open (2: No Such File Or Directory) Jul 24 at 21:00 add a comment| up vote 2 down vote just run sudo apt-get update sudo is for running it as super user share|improve this answer answered Mar 10 Browse other questions tagged apt permissions dpkg or ask your own question.
Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Jarett Dunn 2,452 views 9:58 Loading more suggestions... During a normal shutdown, the apps should close in an orderly fashion and remove the lock. Rm /var/lib/dpkg/lock The correct answer is @braiam 's one. –Rmano Mar 10 '14 at 14:02 No such file or directory: /var/lib/dpkg/lock –Igor G.
[email protected]:~$ apt-get update E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock - open (13: What is the purpose of Subject-Verb agreement? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed check over here DistroUbuntu Development Release Re: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) Hadn't even thought of that - nor ever seen it mentioned as a solution.
More settings you will find under System â†’ Administration â†’ Sofware sources [ updates ] tab... Jul 24 at 20:59 add a comment| up vote 6 down vote Before running any administrative task: installing, removing, changing system wide preferences, etc. Now I feel terribly stupid for missing that! –welshpudding Feb 19 '14 at 14:03 add a comment| Not the answer you're looking for? Or else the updater gets locked. –Dan Johansen Feb 28 '14 at 12:50 1 The lock exists to protect your repository configuration files.
First I tried to check what was locking it using: sudo lsof /var/lib/dpkg/lock with output of: lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/gareth/.gvfs Output information may be incomplete. As a regular user you don't have enough privileges to install packages. Watch Queue Queue __count__/__total__ Find out whyClose Could not open lock file /var/lib/apt/lists/lock [SOLVED] Cracker & Patcher SubscribeSubscribedUnsubscribe393393 Loading... Why do manufacturers detune engines?