LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 02-09-2019, 05:32 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;
4xIntel Core I3-4030 CPU @ 1.90 Ghz
Memory 3.8 GiB of Ram

Last edited by wlbowshot; 02-09-2019 at 05:39 PM.
 
Old 02-09-2019, 09:35 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
Another process might be using APT:-
OR> the repo might be down.

Do you have Synaptic or the Software MGR open and running?
IF so close it.

Did you change your sources list?
 
Old 02-09-2019, 09:52 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,891
Blog Entries: 27

Rep: Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671Reputation: 4671
I have observed that in a number of *buntu-based distros, an update checker checks for updates right after login and periodically thereafter. It could be that you are running into this update checker.

Try waiting a few minutes and then trying it again and let us know what happens.
 
Old 02-10-2019, 01:04 AM   #4
adithyay328
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Rep: Reputation: Disabled
It definitely is that another process is currently updating. Any time it says cannot acquire the lock after running as sudo, it's another process. Let the other finish before trying again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:33 AM
sudo apt-get update command not working zeeshanayub Linux - Newbie 1 10-21-2014 09: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 11:33 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 10:37 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 08:02 PM

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

All times are GMT -5. The time now is 08:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration