El lun, 06-02-2012 a las 12:46 -0500, Reynaldo Cuenca Campos escribió: > Hola listeros, > tengo un colega que empeso a montar su server en debian, y > resulta que lo instalo y todo bien hasta que que llego el momento > empezar a instalar programas pues le da un error al hacer apt-get update > contra el repos que esta en ftp.sld.cu, vale tambien agregar que el > pertenece a esa red, desde el navegador accede a la pagina pero cuando > le toca al apt-get update le pasa lo siguiente. > > ################################################# > apt-get update > Ign http://ftp.sld.cu squeeze Release.gpg > Ign http://ftp.sld.cu/debian/ squeeze/contrib Translation-en > Ign http://ftp.sld.cu/debian/ squeeze/contrib Translation-es > Ign http://ftp.sld.cu/debian/ squeeze/main Translation-en > Ign http://ftp.sld.cu/debian/ squeeze/main Translation-es > Ign http://ftp.sld.cu/debian/ squeeze/non-free Translation-en > Ign http://ftp.sld.cu/debian/ squeeze/non-free Translation-es > Ign http://ftp.sld.cu squeeze Release > Ign http://ftp.sld.cu squeeze/main i386 Packages > Ign http://ftp.sld.cu squeeze/contrib i386 Packages > Ign http://ftp.sld.cu squeeze/non-free i386 Packages > Err http://ftp.sld.cu squeeze/main i386 Packages > 403 Forbidden > Err http://ftp.sld.cu squeeze/contrib i386 Packages > 403 Forbidden > Err http://ftp.sld.cu squeeze/non-free i386 Packages > 403 Forbidden > W: Imposible obtener > http://ftp.sld.cu/debian/dists/squeeze/main/binary-i386/Packages.gz > 403 Forbidden > > W: Imposible obtener > http://ftp.sld.cu/debian/dists/squeeze/contrib/binary-i386/Packages.gz > 403 Forbidden > > W: Imposible obtener > http://ftp.sld.cu/debian/dists/squeeze/non-free/binary-i386/Packages.gz > 403 Forbidden > > E: No se han podido descargar algunos archivos de índice, se han > ignorado, o se ha utilizado unos antiguos en su lugar. > > ########################################################### > el sources.list esta configurado de esta forma > > ########################################################### > deb http://ftp.sld.cu/debian squeeze main contrib non-free > > #deb ftp://ftp.sld.cu/debian-backports squeeze-backports main contrib > non-free > > #deb ftp://ftp.sld.cu/debian-multimedia squeeze main non-free > > #deb ftp://ftp.sld.cu/debian-security squeeze/updates main contrib non-free > > #deb ftp://ftp.sld.cu/debian-volatile lenny/volatile main contrib > > #deb http://download.jovenclub.cu/repos/debian squeeze main contrib non-free > > ########################################################### > > entonces comente la primera linea y descomente la del repo de gutl > y el resultado fue este > > ########################################################### > apt-get update > Ign http://download.jovenclub.cu squeeze Release.gpg > Ign http://download.jovenclub.cu/repos/debian/ squeeze/contrib > Translation-en > Ign http://download.jovenclub.cu/repos/debian/ squeeze/contrib > Translation-es > Ign http://download.jovenclub.cu/repos/debian/ squeeze/main Translation-en > Ign http://download.jovenclub.cu/repos/debian/ squeeze/main Translation-es > Ign http://download.jovenclub.cu/repos/debian/ squeeze/non-free > Translation-en > Ign http://download.jovenclub.cu/repos/debian/ squeeze/non-free > Translation-es > Ign http://download.jovenclub.cu squeeze Release > Ign http://download.jovenclub.cu squeeze/main i386 Packages > Ign http://download.jovenclub.cu squeeze/contrib i386 Packages > Ign http://download.jovenclub.cu squeeze/non-free i386 Packages > Err http://download.jovenclub.cu squeeze/main i386 Packages > 404 Not Found > Err http://download.jovenclub.cu squeeze/contrib i386 Packages > 404 Not Found > Err http://download.jovenclub.cu squeeze/non-free i386 Packages > 404 Not Found > W: Imposible obtener > http://download.jovenclub.cu/repos/debian/dists/squeeze/main/binary-i386/Packages.gz > > 404 Not Found > > W: Imposible obtener > http://download.jovenclub.cu/repos/debian/dists/squeeze/contrib/binary-i386/Packages.gz > > 404 Not Found > > W: Imposible obtener > http://download.jovenclub.cu/repos/debian/dists/squeeze/non-free/binary-i386/Packages.gz > > 404 Not Found > > E: No se han podido descargar algunos archivos de índice, se han > ignorado, o se ha utilizado unos antiguos en su lugar. > > > ------------ próxima parte ------------ > Se ha borrado un adjunto en formato HTML... > URL: > <http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20120206/4b4fcd47/attachment.htm> > ______________________________________________________________________ > Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba. > Gutl-l@jovenclub.cu > https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
Buenas tardes, Si a este server le intermedia un server proxy. Mira lo que le pasa al colega, es muy simple, no es igual configurar los parámetros para navegar en su navegador que configurar estos parámetros para que la consola tome esa configuración, para eso debe modificar varios ficheros, siempre utilizo tres, otros dicen que con meno, en fin la elección es suya. apt.conf este fichero debe crearlo en la carpeta cd /etc/apt touch apt.conf le agregas lo siguiente. Acquire::http::Proxy "http://xxx.xxx.xxx.xxx:puerto"; Acquire::https::Proxy "http://xxx.xxx.xxx.xxx:puerto"; Acquire::ftp::Proxy "http://xxx.xxx.xxx.xxx:puerto"; bash.bashrc agregar estas líneas al bash export http_proxy=http://xxx.xxx.xxx.xxx:puerto/ export https_proxy=http://xxx.xxx.xxx.xxx:puerto/ export ftp_proxy=http://xxx.xxx.xxx.xxx:puerto/ environment agregar estas líneas. http_proxy=http://xxx.xxx.xxx.xxx:puerto/ https_proxy=http://xxx.xxx.xxx.xxx:puerto/ ftp_proxy=http://xxx.xxx.xxx.xxx:puerto/ Nota si utilizas pass para el proxy, esta configuración cambia que recomendé, si este el problema entonces preguntas nuevamente acá en lista y ya le argumentarán. espero resuelva, -- Comp∴M∴:liuber's hdez. «Cuba» -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ ______________________________________________________________________ Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba. Gutl-l@jovenclub.cu https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l