LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


View Poll Results: did this thread help you with not being able to update you system ive not found another thread that
yes 0 0%
no 0 0%
Multiple Choice Poll. Voters: 0. You may not vote on this poll

Closed Thread
  Search this Thread
Old 02-09-2019, 04:43 PM   #1
wlbowshot
LQ Newbie
 
Registered: Feb 2019
Location: orlando, fl.
Distribution: KDE plasma version 5.8.9 ; kernel version 4.10.0-38-generic ; OS type 64-bit
Posts: 2

Rep: Reputation: Disabled
sudo apt-get update not working


when i try to update system ;
sudo apt-get update
i get :

Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
what am i doing wrong

KDE Plasma version 5.8.9
Kde framework version 5.36.0
Qt version 5.6.1
Kernel version 4.10.0-38-generic
OS type 64-bit
Hardware;
Processors 4 x Intel Core I3-4030 CPU @ 1.90 Ghz
Memory 3.8 GiB of RAM

thank you the file was missing this fixed it ;

sudo touch /var/lib/apt/lists/lock

Last edited by wlbowshot; 02-09-2019 at 07:02 PM. Reason: problem solved
 
Old 02-09-2019, 04:56 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
If you have a graphical package manager open, such as Synaptic or KDE discover, it needs to be closed for apt to work, only one package management utility at a time can be used.
It is also possible the lock file in /var/lib/apt/lists is missing, it's just a blank file. You can make a new one with command: sudo touch /var/lib/apt/lists/lock
 
1 members found this post helpful.
Old 02-09-2019, 05:00 PM   #3
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Rep: Reputation: 24
Also, if you do not have Synaptic or a similar tool open, try using 'ps aux' to see if any other programing may be using the resource.
 
1 members found this post helpful.
Old 02-10-2019, 02:40 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to run this command "sudo apt-get install libdevil-dev" even after trying "apt-get -f install" getting below error message srihariu1 Linux - Embedded & Single-board computer 2 04-26-2018 06:33 AM
sudo apt-get update command not working zeeshanayub Linux - Newbie 1 10-21-2014 08:16 PM
[SOLVED] 404errors when running apt-get update already tried sudo rm /var/lib/apt/lists/* -vf rasec8711 Linux - Software 2 05-31-2012 10:33 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration