[ubuntu-ar] debmirror y ubuntu lucid

Guillermo Lisi guillermolisi at gmail.com
Fri Sep 23 15:04:00 UTC 2011


On 09/23/2011 11:35 AM, Roman H. Gelbort wrote:
> Tengo en el colegio un debmirror que instaló otra persona y nunca se
> usó. Ahora quiero ponerlo a andar y me encuentro que si apunto los repos
> a mi servidor, cuando hago apt-get update, algunos se actualizan bien y
> otros no.
>
> Por lo que me metí al servidor para ver que sucedía.
>
> Tengo croneado este script:
>
> #!/bin/bash
> cd /repositorio
> debmirror -h ar.archive.ubuntu.com --method=http -r ubuntu -d
> lucid,lucid-security,lucid-updates -a i386 -s
> main,universe,multiverse,restricted --nosource --progress
> --ignore-small-errors --ignore-release-gpg --ignore-missing-release
> /repositorio/ubuntu
>
> exit 0
>
> Si lo ejecuto manualmente, obtengo esta salida:
>
> root at v01-datos:/repositorio# ./ubuntu.sh
> Mirroring to /repositorio/ubuntu from http://ar.archive.ubuntu.com/ubuntu/
> Arches: i386
> Dists: lucid,lucid-security,lucid-updates
> Sections: main,universe,multiverse,restricted
> Pdiff mode: use
> Will clean up AFTER mirroring.
> Attempting to get lock, this might take 2 minutes before it fails.
> Get Release files.
> [0%] Getting: dists/lucid/Release... ok
> [0%] Getting: dists/lucid/Release.gpg... ok
> gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': error al abrir
> fichero
> gpgv: Firmado el jue 29 abr 2010 14:25:07 ART usando clave DSA ID 437D05B5
> [GNUPG:] ERRSIG 40976EAF437D05B5 17 2 00 1272561907 9
> [GNUPG:] NO_PUBKEY 40976EAF437D05B5
> gpgv: Imposible comprobar la firma: Clave pública no encontrada
> Release signature does not verify.
> Ubuntu Release file: using Suite (lucid).
> [0%] Getting: dists/lucid-security/Release... ok
> [0%] Getting: dists/lucid-security/Release.gpg... ok
> gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': error al abrir
> fichero
> gpgv: Firmado el jue 22 sep 2011 15:15:12 ART usando clave DSA ID 437D05B5
> [GNUPG:] ERRSIG 40976EAF437D05B5 17 2 00 1316715312 9
> [GNUPG:] NO_PUBKEY 40976EAF437D05B5
> gpgv: Imposible comprobar la firma: Clave pública no encontrada
> Release signature does not verify.
> Ubuntu Release file: using Suite (lucid-security).
> [0%] Getting: dists/lucid-updates/Release... ok
> [0%] Getting: dists/lucid-updates/Release.gpg... ok
> gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg': error al abrir
> fichero
> gpgv: Firmado el jue 22 sep 2011 16:26:36 ART usando clave DSA ID 437D05B5
> [GNUPG:] ERRSIG 40976EAF437D05B5 17 2 00 1316719596 9
> [GNUPG:] NO_PUBKEY 40976EAF437D05B5
> gpgv: Imposible comprobar la firma: Clave pública no encontrada
> Release signature does not verify.
> Ubuntu Release file: using Suite (lucid-updates).
> Get Packages and Sources files and other miscellany.
> Parse Packages and Sources files and add to the file list everything
> therein.
> Download all files that we need to get (0 B).
> Get package files.
> Downloaded 143 kiB in 18s at 7.98 kiB/s.
> Everything OK. Moving meta files.
> Cleanup mirror.
> All done.
>
> Lo cual me muestra varios errores (creo que de claves faltantes o no
> coincidentes) y me da toda la impresión que ese es el problema por el
> cual algunos repos responden bien y otros no.
>
> En lo que necesito ayuda es en como arreglar esto. Ya que lo que
> encontré fueron tutoriales sobre como crear el repositorio pero no en el
> arreglo de problemas puntuales (que tampoco estoy 100% seguro de haberla
> embocado).
>
> Si alguien tiene la respuesta, le estaré muy agradecido que me la facilite.
>
Antes de revisar el tema claves sugiero cambiar el origen de los
repositorios.
En lo que expusiste se ve que esta tomando repos de ARG y esta
comprobado que, por cuestiones ajenas a quienes mantienen los mirrors
locales, periodicamente se presentan problemas de acceso, consistencia, etc.

Creo que lo mas seguro es apuntar directamente al mirror central:

donde dice
> Mirroring to /repositorio/ubuntu from http://ar.archive.ubuntu.com/ubuntu/
deberia decir

Mirroring to /repositorio/ubuntu from http://archive.ubuntu.com/ubuntu/

Probaria con esa modificacion y en base a lo que resulte iria por los
demas problemas, pero de a uno por vez, como para noo perder el control
de  lo que se esta haciendo.

-- 
Guillermo Lisi
http://ubuntu.org.ar
http://guillermolisi.com.ar
http://geeksroom.com




More information about the Ubuntu-ar mailing list