LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-17-2016, 10:22 PM   #16
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730

Quote:
well i didnt know
To build on what ardvark71, there was a time when none of us knew.

We were all newbies once. That's why LQ is here. LQ helped me when I was new, and it still helps me now that I am old.
 
Old 02-17-2016, 10:24 PM   #17
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ardvark71 View Post
I have no idea, it's possible kodi was uninstalled incorrectly.

Regards...
i followed the guide on the kodi site, any other way to fix the error?
 
Old 02-17-2016, 10:40 PM   #18
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
What error you are talking about? You got the stale lock file because you killed the process instead of exiting normally.
 
Old 02-17-2016, 10:49 PM   #19
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by ardvark71 View Post
Thanks, Ztcoracat, I was going to answer that but forgot when I asked the OP about his distribution.

Regards...
You're Welcome-

Cheers
 
Old 02-17-2016, 10:50 PM   #20
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
To build on what ardvark71, there was a time when none of us knew.

We were all newbies once. That's why LQ is here. LQ helped me when I was new, and it still helps me now that I am old.
Ditto:-
 
Old 02-17-2016, 11:14 PM   #21
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
What error you are talking about? You got the stale lock file because you killed the process instead of exiting normally.
yea thats exactly what happened because i didnt know how to exit anyway can you shone some light on this please
 
Old 02-17-2016, 11:23 PM   #22
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,163
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Quote:
Originally Posted by iHateErrors View Post
yea thats exactly what happened because i didnt know how to exit anyway can you shone some light on this please
Please see post #10 of this thread, then #4 again and let us know what happens.

Regards...

Last edited by ardvark71; 02-17-2016 at 11:25 PM. Reason: Added information.
 
Old 02-17-2016, 11:42 PM   #23
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ardvark71 View Post
Please see post #10 of this thread, then #4 again and let us know what happens.

Regards...

Code:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock/dpkg
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock/var/lib/dpkg/lock
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock/var/lib/dpkg/11
shawn@shawn-Aspire-T690 ~ $ 
shawn@shawn-Aspire-T690 ~ $ kdjdfpfofj
kdjdfpfofj: command not found

Last edited by Tinkster; 02-21-2016 at 02:42 PM. Reason: profanity removed.
 
Old 02-18-2016, 02:26 AM   #24
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,163
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Hi...

While I realize your frustrated, please watch the language. Take a look at some of the other solutions listed here.

Regards...
 
Old 02-19-2016, 04:44 PM   #25
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
[QUOTE=ardvark71;5502071]Hi...

do you know any other way to find out the name of the locked file? Because I havent gotten this stale file fixed and I need my terminal.
 
Old 02-19-2016, 05:40 PM   #26
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
The path to lock file is in your first post.
 
1 members found this post helpful.
Old 02-19-2016, 05:47 PM   #27
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
The path to lock file is in your first post.
i really dont know where that is im not used to the terminal
 
Old 02-19-2016, 07:36 PM   #28
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by iHateErrors View Post
tried to get kodi running and now it screwed it up, so uninstalled it usuing kodi website than tried to use sudo apt-get update and than it it asked me a bunch of options for some new update i clicked d (to compare) and it just said some weird codes and than ~~~~~~~~~~~end. so i closed the terminal and tried to sudo apt-get update and got this: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


BS eh I cant seem to understand linux
............
 
Old 02-19-2016, 09:33 PM   #29
iHateErrors
Member
 
Registered: Sep 2015
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thumbs down

Quote:
Originally Posted by Emerson View Post
............
Code:
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock/ /var/lib/dpkg/lock
[sudo] password for shawn: 
rm: cannot remove ‘/var/lock/’: Is a directory
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock /var/lib/dpkg/lock
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lock/var/lib/dpkg/lock
shawn@shawn-Aspire-T690 ~ $ sudo rm -f /var/lib/dpkg/lock
shawn@shawn-Aspire-T690 ~ $  /var/lib/dpkg/lock
bash: /var/lib/dpkg/lock: No such file or directory
shawn@shawn-Aspire-T690 ~ $ sudo rm  /var/lib/dpkg/lock
rm: cannot remove ‘/var/lib/dpkg/lock’: No such file or directory
shawn@shawn-Aspire-T690 ~ $
Can somebody just tell me what i have to put inside my terminal to remove the stale file?
 
Old 02-19-2016, 09:37 PM   #30
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
I think you just did.
 
  


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
sudo apt-get update error list Firebeast Ubuntu 3 09-12-2015 08:25 PM
sudo apt-get update ERROR HELP linuxmarble Linux - Software 2 09-02-2014 05:23 AM
[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 problem yasokrish Linux - Newbie 6 04-16-2010 07:11 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 10:37 AM


All times are GMT -5. The time now is 12:56 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