LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-20-2005, 11:28 AM   #1
abadile
LQ Newbie
 
Registered: Jun 2005
Distribution: slackware, debian
Posts: 4

Rep: Reputation: 0
Angry apt could not lock the cache file


hello,

i'm new to debian with previous experience with slackware.

i recently install the latest sarge stable, everything went smooth.

while installing packages through apt i've closed wrongly the xterm window.

now i cannt install/deinstall anything.

any idea??

thanks
 
Old 06-20-2005, 11:30 AM   #2
joeljkp
Member
 
Registered: Feb 2003
Distribution: Ubuntu
Posts: 41

Rep: Reputation: 15
Are you logged in as root when you try to use apt?

In a terminal, type 'su', hit Enter, then type in your root password, then try.
 
Old 06-20-2005, 11:52 AM   #3
abadile
LQ Newbie
 
Registered: Jun 2005
Distribution: slackware, debian
Posts: 4

Original Poster
Rep: Reputation: 0
yes,

i'm root.

the point is that i killed the xterm while the packages downloaded and now the apt cache is locked.

thanks
 
Old 06-20-2005, 12:03 PM   #4
joeljkp
Member
 
Registered: Feb 2003
Distribution: Ubuntu
Posts: 41

Rep: Reputation: 15
Ah, sorry about that.

I'm not sure... either wait for another answer or try the debian mailing lists.
 
Old 06-20-2005, 12:35 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Check your running processes. Chances are apt is still trying to running in the background.

I know I have done the same.
 
  


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
apt-cache question Rav3n Debian 11 07-17-2004 06:05 PM
Can't read lock file /tmp/.X0-lock squinn Linux - Newbie 3 07-13-2004 03:42 PM
One apt cache to rule them all... GameboyHippo Debian 1 05-26-2004 02:43 PM
How to 'apt-cache search' & 'apt-file search' by distribution? davidas Debian 3 04-19-2004 01:56 PM
APT questions -- file on the mirror, not in the cache... MatthewSabin Linux - Software 6 06-14-2003 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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