[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with apt-get update



Hola David,

Am 2007-03-08 10:44:53, schrieb David Primero Segundo:
> linex-inWpyZ:/var/lib/dpkg# apt-get update
> Des:1 http://apt.linex.org sarge/linex2006 Packages [491kB]
> Obj http://ftp.de.debian.org sarge/main Packages
> Obj http://ftp.de.debian.org sarge/main Release
> Obj http://security.debian.org sarge/updates/main Packages
> Obj http://security.debian.org sarge/updates/main Release
> Obj http://ftp.de.debian.org sarge/contrib Packages
> Obj http://ftp.de.debian.org sarge/contrib Release
> Obj http://ftp.de.debian.org sarge/non-free Packages
> Obj http://ftp.de.debian.org sarge/non-free Release
> Obj http://security.debian.org sarge/updates/contrib Packages
> Obj http://security.debian.org sarge/updates/contrib Release
> Obj http://apt.linex.org sarge/linex2006 Release

First of all:  with this bunch of Servers you should increase your
Apt-Cache value in /etc/apt/apt.conf

> i detected that the file into /var/lib/dpkg/, which is named 'available' is 
> corrupt because i can't open it to read, and the same happens with the 
> 'status' files, also into the same directory.

Delete the file "/var/lib/dpkg/available", the copy the file
"/var/lib/dpkg/status.old" to "/var/lib/dpkg/status" and rerun
"apt-get update.

If you have NO /var/lib/dpkg/status.old then look for the newest
file in "/var/backups/dpkg.satus.X.gz" which you uncompress and
copy to "/var/lib/dpkg/status".

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: