Re: APT.
On Wed, May 27, 1998 at 07:28:32PM +0200, Juan Carlos wrote:
> Hola otra vez.
> Estoy intentando hacer el APT por http y no consigo que funcione. Esto
> es lo que hago:
>
> 1.- entro en dselect y selecciono Access. Obtengo lo siguiente:
>
> perl: warning: Setting locale failed for the categories:
> LC_CTYPE LC_COLLATE
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LC_CTYPE = (unset),
> LC_COLLATE = (unset),
> LANG = "ES"
> are supported and installed on your system.
> perl: warning: Falling back to the "C" locale.
Estos se deben a que el perl para la Debian 1.3.1 no estaba
"internacionalizado". Puedes ejcutar el dselect como
$ LANG=C dselect
para librarte de los "warning".
> I see you already have a source list.
> ------------------------------------------------------------------------
> deb ftp://ftp.debian.org/debian stable main contrib non-free
> deb http://ftp.de.debian.org/debian stable main contrib non-free
> ------------------------------------------------------------------------
> Do you wish to change it?[y/N]
>
> Le digo que no y pulso Enter.
>
> 2.- Le doy a Update y obtengo lo siguiente:
>
> 0% [Forking] [Forking]perl: warning: Setting locale failed for the
> categories:
> LC_CTYPE LC_COLLATE
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LC_CTYPE = (unset),
> LC_COLLATE = (unset),
> LANG = "ES"
> are supported and installed on your system.
> perl: warning: Falling back to the "C" locale.
Lo mismo que antes.
> Get http://ftp.de.debian.org stable/contrib Packages
> 0% [Forking] [Packages `Connecting to ftp.de.debian.org' 0]Can't locate
> File/stat.pm in @INC at /usr/lib/apt/methods/ftp line 21 (#1)
> (F) You said to do (or require, or use) a file that couldn't be
> found
> in any of the libraries mentioned in @INC. Perhaps you need to set
> the PERL5LIB environment variable to say where the extra library is,
> or maybe the script needs to add the library name to @INC. Or maybe
> you just misspelled the name of the file. See perlfunc/require.
>
> Uncaught exception from user code:
> Can't locate File/stat.pm in @INC at /usr/lib/apt/methods/ftp
> line 21.
> main::BEGIN called at File/stat.pm line 21
> eval {...} called at File/stat.pm line 21
Pues eso, parece que el perl que tienes instalado no tiene el fichero
File/stat.pm . Elimina la linea:
deb ftp://ftp.debian.org/debian stable main contrib non-free
del fichero /etc/apt/sources.list (no vas a poder usar el método ftp: con
esa versión del apt, así que tendrás que usar sólo el método http: o el
file:)
> BEGIN failed--compilation aborted at /usr/lib/apt/methods/ftp line 21.
> Get http://ftp.de.debian.org stable/main Packages
> Get http://ftp.de.debian.org stable/non-free Packages
> Fetched 831k in 14s (58.2k/s)
> Updating package file cache...
> E: Opening
> /var/state/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages
> - ifstream::ifstream (2 No such file or directory)
>
> update available list script returned error exit status 100.
> Press RETURN to continue.
Esto es debido al error anterior al intentar crear la lista de
ftp.debian.org, usando el método ftp.
> (ya habia estado antes haciendolo con otros servidores, y al parecer hay
> una cache por mi disco).
>
> 3.- Pulso Enter y voy a Select. Aqui, me aparece la pantalla de siempre
> del dselect y no veo nada de libc6 ni nada que se le parezca, por lo que
> pienso que no ha servido de nada lo del APT.
Es que ha fallado la actualización de la lista.
> ¿Donde puede estar el error?
En el propio apt, que necesita perl 5.004 para el método ftp. Creo
recordar que hay un perl 5.004 en bo-updates o bo-unstable, por si
quieres usar ftp.
> Seguro que me dejo de hacer algo antes, pero no veo que.
> Saludos:
>
> Juan Carlos
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Enrique Zanardi ezanardi@ull.es
--
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- Follow-Ups:
- Re: APT.
- From: Juan Carlos <SADACIA@santandersupernet.com>
- References:
- APT.
- From: Juan Carlos <SADACIA@santandersupernet.com>