[heroes] ID bad mirror to report?
I'm in SE USA. Mirrorbrain has often lately been sending me to a bad repo, so I have to reconfigure repos to use a specific mirror rather than download.opensuse.org. How can I ID the bad mirror? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
Hello, Am Montag, 27. Juli 2020, 07:07:46 CEST schrieb Felix Miata:
I'm in SE USA. Mirrorbrain has often lately been sending me to a bad repo, so I have to reconfigure repos to use a specific mirror rather than download.opensuse.org. How can I ID the bad mirror?
If you use zypper, /var/log/zypper.log has details about the mirror used for each file - to get started, grep for "http". If you use YaST, I guess you'll find similar logs in /var/log/YaST/ Regards, Christian Boltz --
Henne, did you actually test this before closing the bug as invalid? of course i did not test it. do you think i'm bored? [> Christian Boltz and Hendrik Vogelsang in https://bugzilla.novell.com/show_bug.cgi?id=420972]
-- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
On 27/07/2020 12.47, Christian Boltz wrote:
Hello,
Am Montag, 27. Juli 2020, 07:07:46 CEST schrieb Felix Miata:
I'm in SE USA. Mirrorbrain has often lately been sending me to a bad repo, so I have to reconfigure repos to use a specific mirror rather than download.opensuse.org. How can I ID the bad mirror?
If you use zypper, /var/log/zypper.log has details about the mirror used for each file - to get started, grep for "http".
Felix, do: grep "http" /var/log/zypper.log | less I installed a single package for testing this. I see these entries: 2020-07-27 13:17:57 <1> Telcontar(29407) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/distribution/leap/15.1/repo/o... 2017.133.1.0csvn22833-lp151.6.1.noarch.rpm, ) 2020-07-27 13:17:57 <1> Telcontar(29407) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://fr2.rpmfind.net/linux/opensuse/distribution/leap/15.1/repo/oss/noarch.... 1.0csvn22833-lp151.6.1.noarch.rpm, ) 2020-07-27 13:17:57 <1> Telcontar(29407) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://opensuse.mirrors.proxad.net/opensuse/distribution/leap/15.1/repo/oss/..., ) 2020-07-27 13:17:57 <1> Telcontar(29407) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://mirror.hostsuisse.com/opensuse/distribution/leap/15.1/repo/oss/noarch..., ) 2020-07-27 13:17:57 <1> Telcontar(29407) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://www.mirrorservice.org/sites/download.opensuse.org/distribution/leap/1..., ) 2020-07-27 13:17:58 <2> Telcontar(29407) [zypp] MediaMultiCurl.cc(run):1154 #0: state: 3 received: 42830 url: http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/distribution/leap/15.1/repo/o... 2020-07-27 13:17:58 <2> Telcontar(29407) [zypp] MediaMultiCurl.cc(run):1154 #1: state: 5 received: 100316 url: http://fr2.rpmfind.net/linux/opensuse/distribution/leap/15.1/repo/oss/noarch... So you could search for "MediaCurl.cc" in the log to find the entries.
If you use YaST, I guess you'll find similar logs in /var/log/YaST/
I tried with YaST the same package install, and I see similar entries in "/var/log/YaST2/y2log" 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/distribution/leap/15.1/repo/o... 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):452 Proxy: not explicitly set 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):453 Proxy: libcurl may look into the environment 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] PathInfo.cc(chmod):1051 assert_file_mode 00600 /var/lib/YaST2/cookieschmod /var/lib/YaST2/cookies 00600 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://fr2.rpmfind.net/linux/opensuse/distribution/leap/15.1/repo/oss/noarch.... 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):452 Proxy: not explicitly set 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):453 Proxy: libcurl may look into the environment 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] PathInfo.cc(chmod):1051 assert_file_mode 00600 /var/lib/YaST2/cookieschmod /var/lib/YaST2/cookies 00600 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] MediaCurl.cc(MediaCurl):192 MediaCurl::MediaCurl(http://opensuse.mirrors.proxad.net/opensuse/distribution/leap/15.1/repo/oss/... 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):452 Proxy: not explicitly set 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp++] MediaCurl.cc(setupEasy):453 Proxy: libcurl may look into the environment 2020-07-27 13:23:46 <1> Telcontar(29774) [zypp] PathInfo.cc(chmod):1051 assert_file_mode 00600 /var/lib/YaST2/cookieschmod /var/lib/YaST2/cookies 00600 So you are right, the actual mirror used can be seen there. And that both zypper and yast are apparently downloading a single package from several sites. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 27/07/2020 13.29, Carlos E. R. wrote:
So you are right, the actual mirror used can be seen there. And that both zypper and yast are apparently downloading a single package from several sites.
yes, it will try 256kB chunks. It can be disabled with export ZYPP_MULTICURL=0 -- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org
participants (4)
-
Bernhard M. Wiedemann
-
Carlos E. R.
-
Christian Boltz
-
Felix Miata