Well, ofc it does, when you can write and read properly!!!! If so then close that program, otherwise from the terminal type Code: sudo kill -TERM 15004 to close dpkg gracefully. Interesting, because I am the only user (I just installed the system) and there's no other process using dpkg. Watch Queue Queue __count__/__total__ Find out whyClose How to fix E: Could not get lock /var/lib/apt/lists/lock - open Resource temporarily unavailable Saju M SubscribeSubscribedUnsubscribe568568 Loading... navigate here
Securing a LAN that has multiple exposed external cat6 cable runs ? Processing triggers for menu (2.1.47) ... Loading... Tae Grado 695 views 9:29 [Ubuntu] [Fix] Error when using Ubuntu Software Center, apt-get, Package Manager, Update Manager - Duration: 2:53.
share|improve this answer answered Nov 30 '10 at 3:08 poolie 5,89512354 8 Great hint in contrast to the half-dozen replies suggesting to just remove the file ;-) I randomly ran The most notable symptom is perhaps the date/time of the lock file being the exact date/time that you are trying to run the command. Reading package lists...
Maybe some old apt thread is locking the file, you need to find out which and kill it or just rebooting will do it. –Bruno Pereira Jan 29 '12 at 11:19 Up next Could not open lock file /var/lib/apt/lists/lock [SOLVED] - Duration: 2:58. 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 Unable To Lock Directory /var/cache/apt/archives/ This worked for me, as it was trying to finish something it stared before the machine was stopped previously, and couldn't figure it out on his own. –morynicz Sep 14 '13
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dpkg 15004 root 3uW REG 8,1 0 7078501 /var/lib/dpkg/lock I also apologize as I am fairly new to Ubuntu, so fixing this Could Not Get Lock /var/lib/dpkg/lock Kali EDIT: Added command. Attempt to de-reference a null object in loop How to enable warning when comparing char and unsigned char? Reply Stephanie M.
I also am unable to use the update manager or the synaptic package handler. Sudo Rm /var/lib/apt/lists/lock This of course leads to us sometimes feeling dumb for not having read things more carefully. [email protected]:~# sudo apt-get update Hit http://http.kali.org sana InRelease . . The OP has a problem with installation failing, so I do not think that this would help much. –Alexis Wilke Jul 14 at 18:32 add a comment| up vote 0 down
Davis (@StephanieMDavis) June 29, 2016 at 9:47 am EXCELLENT; this solution worked impeccably. when running sudo apt-get dist-upgrade again. Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Do you want to continue? [Y/n] Y Get:1 http://http.kali.org/kali/ sana/main libamd2.3.1 amd64 1:4.2.1-3 [26.3 kB] . . /var/cache/debconf/config.dat Is Locked By Another Process I had to kill it which left various locks in place.
Is there a word for "timeless" that doesn't imply the passage of time? Many thank... Here's a run down of the issues: "E: Could not get lock /var/lib/dpkg/lock" error This happens when I tried to use apt-get update
[email protected]:~# apt-get update Hit http://http.kali.org sana InRelease his comment is here Is there an English idiom for provocative titles, something like "yellow title"?
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dpkg 2815 root 3rW REG 8,5 0 1043009 /var/lib/dpkg/lock please help Adv Reply June 20th, 2012 #9 nothingspecial View Profile View The cause was the time on my computer was set into the future. (This is because I'm on a Windows+Ubuntu dual boot system and I guess I have messed up local You can use ps afx|grep dpkg to check if there is still a process runnning at the same time. Rm: Cannot Remove ‘/var/lib/apt/lists/lock’: No Such File Or Directory Problems associated with booking flights inside another set of flights?
When I did that, I got errors like: newline in field name #padding in files like '/var/lib/dpkg/updates/0003'. Where can I get a file/list of the common and scientific names of species? Not the answer you're looking for? weblink For example:sudo fuser -cuk /var/lib/dpkg/lockKeep in mind that the fuser command will not release the lock acquired by the process you just killed, so you'll have to do this manually:sudo rm
Please try the other answers before doing this.