You have two errors here. 1. For all standard (non-LTS) releases, the maximum duration of support is 18 months.Both versions have pros and cons - LTS gets long term support and standard gets latest features. systemctl disable apt-daily.service systemctl disable apt-daily.timer SHELLLinuxVagrantDevOps11BlockedUnblockFollowFollowingRene FragosoError 209 loading One Line Bio. when running sudo apt-get dist-upgrade again. http://sinistro.org/unable-to/could-not-get-lock-var-lib-dpkg-lock-open-11-resource.html
Not the answer you're looking for? Tango Icons © Tango Desktop Project. Working... Thank YouReplyDeletejobtodayinfo comFebruary 16, 2016 at 9:34 AMVERY USEFUL FOR MEReplyDeleteDivgun SethiJuly 12, 2016 at 7:35 PMapt-get updateAfter all above steps following lines appear,help!0% [Connecting to 192.168.0.3 (192.168.0.3)] [Connecting to 192.168.0.3 this
If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? Why did Tarkin undertake this course of action at the end of Rogue One? share|improve this answer edited Nov 5 at 8:36 Younghyo Kim 33 answered Feb 7 '12 at 2:22 zurdo 3,87511318 4 ok...
Search for processes ps -A | grep apt-get2. This was pretty annoying as it stops you from installing updates or new softwares. this is the error now i am getting –hasee Aug 1 at 6:23 sudo apt-get dist-upgrade I tried above command i got the error as shown bellow Errors were /var/cache/debconf/config.dat Is Locked By Another Process: Resource Temporarily Unavailable Fix could not get lock error in ubuntu - "E: Could not get lock /var/lib/apt/lists/lock" or "E: Could not get lock /var/lib/dpkg/lock" problem.
Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Problem with update- Unable Could Not Get Lock /var/lib/dpkg/lock Kali sudo apt-get install vlc (for example) –ArCiGo Aug 1 '14 at 21:04 Check for existing processes. I knew there was a problem with the date/time when I logged in, but was ignoring it. (Previously, it was setting it automatically via the Internet and NTP). https://ubuntuforums.org/showthread.php?t=1858466 Sign in to report inappropriate content.
Before it did so, it ran apt-get -yqq update, and this failed with error:==> default: Could not get lock /var/lib/dpkg/lock â€” open (11: Resource temporarily unavailable)While troubleshooting I found Ubuntu apt-daily 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 Unable To Lock The Administration Directory (/var/lib/dpkg/) Are You Root Ubuntu Sign in 1 Loading... E: Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem. This all happened right after system boot.
I don't recommend doing that as a first measure; maybe if there is no alternative. Check This Out For me, it was almost always caused by apt-get or some GUI that called it getting hung for some reason. Silly, but it might still explain the error for some. Everything was fine once the process finished. Unable To Lock Directory /var/cache/apt/archives/
andres gonzales 1,398 views 2:12 How To Fix "var/lib/dpkg..." Cydia Error Message #1 - Duration: 3:02. Thank you very much. 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 Source apt package-management dpkg share|improve this question edited Jul 2 at 10:33 Volker Siegel 6,37122145 asked Nov 30 '10 at 2:12 La Ode Adam Saputra 2,2203108 6 This is also true
Up next Could not open lock file /var/lib/apt/lists/lock [SOLVED] - Duration: 2:58. Sudo Rm /var/lib/apt/lists/lock share|improve this answer answered Oct 21 at 19:59 Joe 937619 add a comment| up vote 0 down vote In my case, X crashed while apt-get was still removing old kernels. If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member?
Loading... Kind regards If you believe everything you read, you better not read. ~ Japanese Proverb If you don't read the newspaper, you're uninformed. How do I answer a question on graduate school applications on textbooks used in my classes, when my class didn't use a textbook? Rm: Cannot Remove '/var/lib/apt/lists/lock': No Such File Or Directory Adv Reply October 12th, 2011 #2 matt_symes View Profile View Forum Posts Private Message Visit Homepage I'm back baby.
If you think that there is nothing currently installing or uninstalling, then just reboot your system with the command sudo reboot. why do they give the same output? I got it by reading many answers to questions like this one. have a peek here 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
share|improve this answer edited Oct 17 at 17:10 Denja 2501422 answered Apr 22 '14 at 7:41 kushvarma 66838 I am running no other dpkg program :\ –Yelmaaz Apr 22 Making identical C++ type aliases incompatible Is there a non-medical name for the curve where index finger and thumb meet? Does gunlugger AP ammo affects all armor? Killing a dpkg process directly, if present, is not a good idea, because if dpkg is active, it is probably manipulating the package database, and killing it may leave the package
EDIT: Added command. Maybe try sudo rm /var/cache/apt/archives/lock –kubahaha Sep 24 '12 at 13:56 This is not a good suggestion: blindly removing the luck may corrupt dpkg's state. –poolie Feb 2 '15 WinAndLinuxTutorials 46,324 views 2:53 How to remove/fix " Permission Denied" in linux (Ubuntu,Linux Mint,Fedora)? - Duration: 2:09. share|improve this answer answered Sep 24 at 11:19 Pavel Vlasov 15317 add a comment| up vote 0 down vote I have had this issue numerous times.
You can then either close that program, restart your PC or send a -TERM to the program with the lock by using kill and the pid. If you're facing the same error without 'Update Manager' running you have to remove it from /var/lib/dgkg/lock, which definitely you can't do it manually sudo fuser -cuk /var/lib/dpkg/lock sudo rm -f If you read the newspaper, you're mis-informed. - Mark Twain Thinking about becoming an Ubuntu Member? Just throwing this out there in case anyone else encounters this issue.
This will tell you what has got a lock on dpkg. If so then close that program, otherwise from the terminal type Code: sudo kill -TERM 15004 to close dpkg gracefully. Would you like to answer one of these unanswered questions instead? Powered by Blogger.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. Abha Network 28,298 views 1:56 sudo apt-get update && sudo apt-get ugprade - Duration: 9:58. Killing an apt or aptitude process is harmless unless it is actually in the middle of package installation.