Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-18-2004, 06:12 PM   #1
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Rep: Reputation: 15
Tinysofa apt-get

If any of you have used this distro I have a question. I'm trying to update to the latest version of php via the apt-get command. While I was installing other dependencies it seemed to stop in mid installation. I opened up another command prompt and tried to continue installing but it kept giving me this error:

apt-get install libtool
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
libtool (1.5.6-3ts)
0 upgraded, 1 newly installed, 0 removed and 8 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

Even when I try to "apt-get clean" I get the same lock error.

I'm pretty new to linux so I thought that maybe killing the apt-get process would do this. I can't seem to kill the process. When I goto top, and then hit k to kill the pid and enter in the number, it seems it will not go away. I've even tried "kill 21644" and it doesn't work from the prompt. Any suggestions on how to go about fixing this without a reboot? (the windows way lol)
Old 12-19-2004, 02:43 PM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Not sure how the locking system works on apt-get and what will clear it. But just a normal kill just sends a SIGTERM which doesn't always work for a process that is stuck. You could try sending a SIGKILL instead although this might not neatly clean up the lock files. To send a kill signal to a process you can run the command:

kill -KILL 21644
Old 12-19-2004, 03:26 PM   #3
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Original Poster
Rep: Reputation: 15
Ah, that worked to kill the process. I just had to delete the lock file and that set it free.


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
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
AWstats setup on tinysofa tommytomato Linux - Newbie 4 10-24-2004 01:45 PM
htaccess on TinySofa tommytomato Linux - Security 5 10-21-2004 09:07 AM
MySQL on Tinysofa tommytomato Linux - Newbie 5 05-18-2004 11:52 AM
setup question tinysofa tommytomato Linux - General 0 05-15-2004 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

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