Debian This forum is for the discussion of Debian Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
02-28-2009, 01:03 AM
#1
LQ Newbie
Registered: Nov 2004
Location: japan
Distribution: debian
Posts: 3
Rep:
how to do when apt archive is broken ?
My /var/cache/apt/archive is now broken
and I cannot use apt.
I found that my /var partition was full (completely with 0 bite of free space)
With analysing utilities, I found that that was because of apt's caches.
It never happen when you use aptitude I guess but since some months I have been using synaptic.
I couldn't do ' aptitude clean ' because it requires some free space in /var.
In a some wrong way, I broke something in my archive directry.
Now when I tap aptitude update or something,
apt refuses it saying it is impossible because archive is broken.
02-28-2009, 01:56 AM
#2
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776
Rep:
You can find some useful tricks here:
http://sidux.com/PNphpBB2-viewtopic-t-9449.html
Google is your friend.
cheers,
jdk
02-28-2009, 02:45 AM
#3
LQ Newbie
Registered: Nov 2004
Location: japan
Distribution: debian
Posts: 3
Original Poster
Rep:
I think the article you taught me is a good one.
But unfortunately I cannot find any useful trick for my actual situation.
# aptitude update
E: Le répertoire d'archive /var/cache/apt/archives/partial n'existe pas.
that is to say:
E: The archive directory /var/cache/apt/archives/partial doesn't exist.
My archive directory is broken.
I must find some way to force apt to recreate the directory.
Or I must reinstall the system ?
Anyway, thank you very much for your kind information.
02-28-2009, 04:52 AM
#5
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 2,776
Rep:
Quote:
Originally Posted by
tianlou
Pas de problème. Ça m'a fait plaisir (No problem, it was my pleasure). Did that solution work?
Cheers,
jdk
02-28-2009, 05:36 AM
#6
Member
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 632
Rep:
Hi. I'm interested in this problem, but I don't speak French(??!!) Could somebody outline what the solution actually is? Thanks.
02-28-2009, 06:42 AM
#7
Member
Registered: May 2007
Distribution: Debian
Posts: 754
Rep:
The answer appears to be this: get root privileges and then -
Code:
mkdir -pv /var/cache/apt/archives/partial
If I understand correctly, you just need to give APT a place to work, and creating that directory does the trick.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:13 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News