Home > Unable To > Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

Contents

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.

Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu

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

Could Not Get Lock /var/lib/dpkg/lock Kali

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.

Adv Reply October 12th, 2011 #7 majordread View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Oct 2011 Beans 19 Re: Problem with update- Unable to http://cloudindet.com/unable-to/vlc-is-unable-to-open-the-mrl-v4l2-dev-video0.html Dec 4 '14 at 21:47 11 This crashed my entire server. –에이바 Jan 5 '15 at 21:28 5 Killing apt or dpkg half way through is not a great That should resolve the issue. Daily update Weekly update Subscribe AboutContactAdvertiseTerms of UsePrivacy PolicyRSS Feed Terms© 2007 - 2016 Uqnic Network Pte Ltd. E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem.

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"?

more hot questions about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Other Stack Exception: Unable To Get Write Lock On /var/cache/app-info/xapian/default: Already Locked Treasure hunt of the century Sending a stranger's CV to HR A crossword so simple, it practically solves itself Why does WordPress use outdated jQuery v1.12.4? Tags AMD ATI Browser Catalyst Control Center Command Line Interface (CLI) Config Server Firewall (CSF) Cracking CUDA Denial of Service Attack Desktop Manager Distributed Denial of Service Attack (DDoS) Driver error

Home How to Denial-of-Service Attack (DoS) Hacking Linux Administration VirtualBox Virtual Private Network (VPN) Wireless LAN (Wi-Fi) Disable touchscreen in Linux October 26, 2016 Browse anonymously in Kali Linux with AnonsurfOctober

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.