El lunes, 19 de diciembre de 2016 3:42:09 P. M. CST NetAdmin escribieron:
> El 19/12/2016 a las 09:21 a.m., Rommel Rodriguez Toirac escribió:
> > El viernes, 16 de diciembre de 2016 4:41:57 P. M. CST NetAdmin 
escribieron:
> >> El 16/12/2016 a las 04:00 p.m., Rommel Rodriguez Toirac escribió:
> >>> El viernes, 16 de diciembre de 2016 12:59:19 P. M. CST Yoandy Madrazo
> >>> Gómez
> >>> 
> >>> escribieron:
> >>>> El 16/12/2016 a las 11:54 AM, Rommel Rodriguez Toirac escribió:
> >>>>>     Mis saludos;
> >>>>> 
> >>>>> desde que salío la versión 16.04 de Ubuntu, nunca mas he podido usar
> >>>>> el
> >>>>> debmirror. Siempre me da el mismo error de que no puede conectarse con
> >>>>> el
> >>>>> servidor proxy (500 Can't connect to proxy.gtm.onat.gob.cu:3128)
> >>>>> 
> >>>>>     Esto es lo que tengo: debmirror 1:2.2.25ubuntu2 kubuntu 16.04.1
> >>>>>     (amd64)
> >>>>>     ¿Alguien sabe que es lo que sucede y si es posible solucionarlo de
> >>>>>     alguna
> >>>>> 
> >>>>> manera?
> >>>>> 
> >>>>> *****
> >>>>> rommel@p6:~$ debmirror --proxy=http://
> >>>>> miusuario:mipassw...@proxy.gtm.onat.gob.cu --progress --verbose
> >>>>> --debug
> >>>>> --host download.jovenclub.cu --root=/repos/ubuntu/xenial --method=http
> >>>>> --
> >>>>> dist=xenial,xenial-updates,xenial-proposed,xenial-security,xenial-back
> >>>>> po
> >>>>> r
> >>>>> ts -- section=main,universe,multiverse,restricted,main/dep11,universe/
> >>>>> dep11,multiverse/dep11,restricted/dep11 --arch=i386,amd64 --nosource
> >>>>> --no-
> >>>>> check-gpg --ignore-missing-release --ignore-release-gpg --postcleanup
> >>>>> --rsync- extra=none --diff=none --ignore-small-errors
> >>>>> --allow-dist-rename
> >>>>> --i18n -- timeout=0 /home/rommel/Publico/repos/ubuntu
> >>>>> 
> >>>>> Warning: --rsync-extra is not configured to mirror the trace files.
> >>>>> 
> >>>>>             This configuration is not recommended.
> >>>>> 
> >>>>> Mirroring to /home/rommel/Publico/repos/ubuntu from http://
> >>>>> download.jovenclub.cu/repos/ubuntu/xenial/
> >>>>> Arches: i386,amd64
> >>>>> Dists:
> >>>>> xenial,xenial-updates,xenial-proposed,xenial-security,xenial-backports
> >>>>> Sections: main,universe,multiverse,restricted,main/dep11,universe/
> >>>>> dep11,multiverse/dep11,restricted/dep11
> >>>>> Pdiff mode: none
> >>>>> Not checking Release gpg signatures.
> >>>>> Proxy: http://miusuario:mipassw...@proxy.gtm.onat.gob.cu
> >>>>> Will clean up after mirroring.
> >>>>> Attempting to get lock ...
> >>>>> Getting meta files ...
> >>>>> http://download.jovenclub.cu/repos/ubuntu/xenial/dists/xenial/Release
> >>>>> =>
> >>>>> [
> >>>>> 0%] Getting: dists/xenial/Release...     #** GET
> >>>>> http://download.jovenclub.cu/ repos/ubuntu/xenial/dists/xenial/Release
> >>>>> ==> 500 Can't connect to
> >>>>> proxy.gtm.onat.gob.cu:80
> >>>>> 500 Can't connect to proxy.gtm.onat.gob.cu:80
> >>>>> failed 500 Can't connect to proxy.gtm.onat.gob.cu:80
> >>>>> *****
> >>>> 
> >>>> Te lo está diciendo clarito, no le declaraste el puerto arriba y cree
> >>>> que le toca el 80, deja esta línea así
> >>>> 
> >>>> --proxy=http://miusuario:mipassw...@proxy.gtm.onat.gob.cu:3128
> >>>> 
> >>>> saludos
> >>>> 
> >>>    verdad, en el mensaje se me había olvidado ponerle el puerto del
> >>>    proxy,
> >>>    pero>
> >>> 
> >>> miren, con el puerto tampoco se conecta y da el mismo error:
> >>> 
> >>> rommel@p6:~$ debmirror --proxy=http://
> >>> miusuario:mipassw...@proxy.gtm.onat.gob.cu:3128 --progress --verbose
> >>> --debug --host download.jovenclub.cu --root=/repos/ubuntu/xenial
> >>> --method=http --
> >>> dist=xenial,xenial-updates,xenial-proposed,xenial-security,xenial-backpo
> >>> r
> >>> ts -- section=main,universe,multiverse,restricted,main/dep11,universe/
> >>> dep11,multiverse/dep11,restricted/dep11 --arch=i386,amd64 --nosource
> >>> --no-
> >>> check-gpg --ignore-missing-release --ignore-release-gpg --postcleanup
> >>> --rsync- extra=none --diff=none --ignore-small-errors
> >>> --allow-dist-rename
> >>> --i18n -- timeout=0 /home/rommel/Publico/repos/ubuntu
> >>> 
> >>> Warning: --rsync-extra is not configured to mirror the trace files.
> >>> 
> >>>            This configuration is not recommended.
> >>> 
> >>> Mirroring to /home/rommel/Publico/repos/ubuntu from http://
> >>> download.jovenclub.cu/repos/ubuntu/xenial/
> >>> Arches: i386,amd64
> >>> Dists:
> >>> xenial,xenial-updates,xenial-proposed,xenial-security,xenial-backports
> >>> Sections: main,universe,multiverse,restricted,main/dep11,universe/
> >>> dep11,multiverse/dep11,restricted/dep11
> >>> Pdiff mode: none
> >>> Not checking Release gpg signatures.
> >>> Proxy: http://miusuario:mipassw...@proxy.gtm.onat.gob.cu:3128
> >>> Will clean up after mirroring.
> >>> Attempting to get lock ...
> >>> Getting meta files ...
> >>> http://download.jovenclub.cu/repos/ubuntu/xenial/dists/xenial/Release =>
> >>> [
> >>> 0%] Getting: dists/xenial/Release...         #** GET http://
> >>> download.jovenclub.cu/repos/ubuntu/xenial/dists/xenial/Release ==> 500
> >>> Can't connect to proxy.gtm.onat.gob.cu:3128
> >>> 500 Can't connect to proxy.gtm.onat.gob.cu:3128
> >> 
> >> Ahora la segunda pregunta ?? Esa squid tiene salida ?? que dice cuando
> >> haces un nslookup proxy.gtm.onat.gob.cu  ?? telnet proxy.gtm.onat.gob.cu
> >> 3128 ??
> >> 
> >   El telnet:
> > rommel@p6:~$ telnet proxy.gtm.onat.gob.cu 3128
> > Trying 192.168.41.18...
> > Connected to gtmpx.gtm.onat.gob.cu.
> > Escape character is '^]'.
> > 
> >   El nslookup:
> > rommel@p6:~$ nslookup proxy.gtm.onat.gob.cu
> > Server:         192.168.41.12
> > Address:        192.168.41.12#53
> > 
> > proxy.gtm.onat.gob.cu   canonical name = gtmpx.gtm.onat.gob.cu.
> > Name:   gtmpx.gtm.onat.gob.cu
> > Address: 192.168.41.18
> 
> Solo se me ocurre que sea algo mal puesto en tu user y pass... seguro
> que el pass no tiene  algun caracter extraño ?? coje y haz un user pepe
> con password pepe y pasaselo al script a ver si es cosa de user y pass
> del proxy.

 No es problema del usuario o contraseña del proxy, no es problema de 
comunicación de esa PC con el proxy, pues desde ahí mismo descargo los repos 
de CentOS7 sin problemas y unas cuantas cosas mas que llevan el uso del proxy.
 
Con otro usuario falso:

debmirror --proxy=http://pepe:pepe...@proxy.gtm.onat.gob.cu:3128 --progress --
verbose --debug --host download.jovenclub.cu --root=/repos/ubuntu/xenial --
method=http --dist=xenial,xenial-updates,xenial-proposed,xenial-
security,xenial-backports --section=main,universe,multiverse,restricted,main/
dep11,universe/dep11,multiverse/dep11,restricted/dep11 --arch=i386,amd64 --
nosource --no-check-gpg --ignore-missing-release --ignore-release-gpg --
postcleanup --rsync-extra=none --diff=none --ignore-small-errors --allow-dist-
rename --i18n --timeout=0 /home/rommel/Publico/repos/ubuntu 

Warning: --rsync-extra is not configured to mirror the trace files.
         This configuration is not recommended.
Mirroring to /home/rommel/Publico/repos/ubuntu from http://
download.jovenclub.cu/repos/ubuntu/xenial/
Arches: i386,amd64
Dists: xenial,xenial-updates,xenial-proposed,xenial-security,xenial-backports
Sections: main,universe,multiverse,restricted,main/dep11,universe/
dep11,multiverse/dep11,restricted/dep11
Pdiff mode: none
Not checking Release gpg signatures.
Proxy: http://pepe:pepe...@proxy.gtm.onat.gob.cu:3128
Will clean up after mirroring.
Attempting to get lock ...
Getting meta files ...
http://download.jovenclub.cu/repos/ubuntu/xenial/dists/xenial/Release => [  
0%] Getting: dists/xenial/Release...         #** GET http://
download.jovenclub.cu/repos/ubuntu/xenial/dists/xenial/Release ==> 500 Can't 
connect to proxy.gtm.onat.gob.cu:3128
500 Can't connect to proxy.gtm.onat.gob.cu:3128
failed 500 Can't connect to proxy.gtm.onat.gob.cu:3128
 

 


-- 
Rommel Rodriguez Toirac
Administrador de redes
ONAT Guantánamo
Tel: 21327444 ext 120
______________________________________________________________________
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
  • [Gu... Rommel Rodriguez Toirac
    • ... Yoandy Madrazo Gómez
      • ... NetAdmin
      • ... Rommel Rodriguez Toirac
        • ... NetAdmin
          • ... Rommel Rodriguez Toirac
            • ... NetAdmin
              • ... Rommel Rodriguez Toirac
                • ... Tec. Comunicaciones Transgaviota Centro (Wilfredo Martínez Consuegra)
                • ... NetAdmin
                • ... Arnaldo Ugarte
                • ... yuniesky
                • ... Lázaro Armando
                • ... yuniesky
                • ... Marcos Bagarotti Marin
                • ... Arnaldo Ugarte
                • ... NetAdmin
                • ... Ernesto Acosta

Responder a