PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > problems with apt-get update
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

problems with apt-get update

Réponse
 
LinkBack Outils de la discussion
Vieux 08/03/2007, 10h50   #1
David Primero Segundo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut problems with apt-get update

hi, my problem is the next:
when i run apt-get update, debian says me:


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
Descargados 491kB en 7s (70,1kB/s)
Leyendo lista de paquetes... ¡Error!
E: Error de lectura - read (5 Error de entrada/salida)
E: No se pudieron analizar o abrir las listas de paquetes o el
archivo de estado.

my sourcelist is this:
deb http://apt.linex.org/linex2006 sarge linex2006 # gnuLinEx 2006
deb http://security.debian.org/ sarge/updates main contrib #
Seguridad de Debian
deb http://ftp.de.debian.org/debian sarge main contrib non-free #
Copia de Debian en Alemania

and i don't be able to fix it, i tried with:
apt-get clean, un apt-get autoclean, un apt-get -f install, un dpkg
--configure -a,
and nothing, the error continues.

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.

till i got this error before, but i can fix it doing apt-get clean,
autoclean... but now i can't.
please can you me?

__________________________________________________ _______________
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con
MSN Entretenimiento. http://entretenimiento.msn.es/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/03/2007, 11h10   #2
Mathias Brodala
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with apt-get update

Hellol David.

David Primero Segundo, 08.03.2007 11:44:
> hi, my problem is the next:
> when i run apt-get update, debian says me:
>
>
> 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
> Descargados 491kB en 7s (70,1kB/s)
> Leyendo lista de paquetes... ¡Error!
> E: Error de lectura - read (5 Error de entrada/salida)
> E: No se pudieron analizar o abrir las listas de paquetes o el
> archivo de estado.


Please run the command as follows and post the output:

# LC_ALL=C apt-get update


Regards, Mathias

--
debian/rules


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7+2hYfUFJ3ewsJgRAr1ZAJ4xPQPLx19IIL/Hp4QSnhHwlbLBHACgl/pO
Cdx26brjFzIze/PAeO1UlHY=
=Qmnc
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 08/03/2007, 11h20   #3
Cédric Lucantis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with apt-get update

Hi,

> hi, my problem is the next:
> when i run apt-get update, debian says me:
>

...
> E: Error de lectura - read (5 Error de entrada/salida)
> E: No se pudieron analizar o abrir las listas de paquetes o el
> archivo de estado.
>
> my sourcelist is this:
> deb http://apt.linex.org/linex2006 sarge linex2006 # gnuLinEx 2006
> deb http://security.debian.org/ sarge/updates main contrib #
> Seguridad de Debian
> deb http://ftp.de.debian.org/debian sarge main contrib non-free #
> Copia de Debian en Alemania
>
> and i don't be able to fix it, i tried with:
> apt-get clean, un apt-get autoclean, un apt-get -f install, un dpkg
> --configure -a,
> and nothing, the error continues.
>
> 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.


I had a similar problem in the past and solved it by adding the following line
in /etc/apt/apt.conf (create the file if you don't have one) :

APT::Cache-Limit "100000000";

then re-run apt-get update

try a higher value if it does not work, but I don't know what it means exactly
so maybe there's a risk of breaking something

--
Cédric Lucantis
  Réponse avec citation
Vieux 08/03/2007, 11h30   #4
David Primero Segundo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with apt-get update

no friend, the error continues, i try this:
linex-inWpyZ:/etc/apt# cat apt.conf

APT
{
APT::Cache-Limit "100000000";
CDROM
{
NoMount "True";
};
};

Acquire
{
cdrom
{
mount "/media/cdrecorder";
};
};

and then, with: apt-get update, but i don't get luck.

>From: Cédric Lucantis <omer@no-log.org>
>To: debian-user@lists.debian.org
>Subject: Re: problems with apt-get update
>Date: Thu, 8 Mar 2007 12:14:32 +0100
>
>Hi,
>
> > hi, my problem is the next:
> > when i run apt-get update, debian says me:
> >

>...
> > E: Error de lectura - read (5 Error de entrada/salida)
> > E: No se pudieron analizar o abrir las listas de paquetes o el
> > archivo de estado.
> >
> > my sourcelist is this:
> > deb http://apt.linex.org/linex2006 sarge linex2006 # gnuLinEx 2006
> > deb http://security.debian.org/ sarge/updates main contrib #
> > Seguridad de Debian
> > deb http://ftp.de.debian.org/debian sarge main contrib non-free #
> > Copia de Debian en Alemania
> >
> > and i don't be able to fix it, i tried with:
> > apt-get clean, un apt-get autoclean, un apt-get -f install, un dpkg
> > --configure -a,
> > and nothing, the error continues.
> >
> > 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.

>
>I had a similar problem in the past and solved it by adding the following
>line
>in /etc/apt/apt.conf (create the file if you don't have one) :
>
>APT::Cache-Limit "100000000";
>
>then re-run apt-get update
>
>try a higher value if it does not work, but I don't know what it means
>exactly
>so maybe there's a risk of breaking something
>
>--
>Cédric Lucantis
>


__________________________________________________ _______________
Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con
MSN Entretenimiento. http://entretenimiento.msn.es/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/03/2007, 11h40   #5
Cédric Lucantis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: problems with apt-get update

> no friend, the error continues, i try this:
> linex-inWpyZ:/etc/apt# cat apt.conf
>
> APT
> {
> APT::Cache-Limit "100000000";
> CDROM
> {
> NoMount "True";
> };
> };
>


hmm, not sure about it, but maybe APT::Cache-Limit inside APT{} is redundant
and not understood by apt. Try either APT { Cache-Limit ... } or
APT::Cache-Limit outside of the braces.

--
Cédric Lucantis
  Réponse avec citation
Vieux 13/03/2007, 18h00   #6
Michelle Konzack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF9s6FC0FPBMSS+BIRApHJAKCmM3OdvVD89TagX+I5bd G5xzwM5gCgvh3k
xoWLHXKliHjDKnPkCyALdr8=
=XRW7
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15593 seconds with 14 queries