LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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/RPIOS
Posts: 4,886
Blog Entries: 28

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

I know I have done the same.
 
  


Reply



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 01:23 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