Error con los repositorios añadidos q proponen en www.guia-ubuntu.org

Robert aciddized en gmail.com
Lun Abr 18 19:30:38 UTC 2005


En/na dani ha escrit:
> En guia-ubuntu t dicen q si quieres añadir nuevos repositorios, añadas
> estos: 
> 
> ## Uncomment the following two lines to add software from the 'universe'
> ## repository.
> ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
> ## team, and may not be under a free licence. Please satisfy yourself as to
> ## your rights to use the software. Also, please note that software in
> ## universe WILL NOT receive any review or updates from the Ubuntu security
> ## team.
> deb http://us.archive.ubuntu.com/ubuntu hoary universe
> deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
>  
> deb http://us.archive.ubuntu.com/ubuntu hoary main
> deb-src http://us.archive.ubuntu.com/ubuntu hoary main
>  
> deb http://security.ubuntu.com/ubuntu hoary-security main restricted
> deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
>  
> deb http://security.ubuntu.com/ubuntu hoary-security universe
> deb-src http://security.ubuntu.com/ubuntu hoary-security universe
>  
> deb http://archive.ubuntu.com/ubuntu hoary multiverse
> deb-src http://archive.ubuntu.com/ubuntu hoary multiverse
>  
> # DVDCSS/xvid/other legally questionable packages
> deb ftp://ftp.nerim.net/debian-marillat stable main
> deb ftp://ftp.nerim.net/debian-marillat unstable main
> deb ftp://ftp.nerim.net/debian-marillat testing main
>  
> # Backports
> deb http://backports.ubuntuforums.org/backports/ hoary-backports main universe
>  
> # MPlayer
> deb http://sh.nu/~crimsun/ ./
> 
> 
> y que justo despues hagas 
> $ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
> $ gpg --armor --export 1F41B907 | sudo apt-key add -
> $ sudo apt-get update
> 
> Pues bien, a mi estas 3 intrucciones me dan errores, y no se porque es. Alguien me puede ayudar??
> Aki van los errores
> 
> dani en konoha:~ $ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
> gpg: can't open `/home/dani/.gnupg/pubring.gpg'
> gpg: keydb_get_keyblock failed: eof
> gpg: no writable keyring found: eof
> gpg: error reading `[stream]': general error
> gpg: Total number processed: 0
> dani en konoha:~ $  gpg --armor --export 1F41B907 | sudo apt-key add -
> gpg: can't open `/home/dani/.gnupg/pubring.gpg'
> gpg: WARNING: nothing exported
> gpg: key export failed: file open error
> gpg: no valid OpenPGP data found.
> 
> Muchas gracias. un saludo
> 
> 

Es un problema de permisos. Ejecuta la siguiente orden:

$ sudo chown usuario /home/usuario/.gnupg/pubring.conf

Sustituye 'usuario' por el nombre de tú usuario.

Salu2




Más información sobre la lista de distribución ubuntu-es