Mailinglist Archive: opensuse (1599 mails)

< Previous Next >
Re: [opensuse] updating software repositories, mirrors
  • From: "Rajko M." <rmatov101@xxxxxxxxxxx>
  • Date: Sun, 25 Oct 2009 22:44:52 -0500
  • Message-id: <200910252244.52474.rmatov101@xxxxxxxxxxx>
On Sunday 25 October 2009 02:36:54 Constant Brouerius van Nidek wrote:

Is there a possibility to see which mirror is contacted?

All mirrors that are used are listed in /var/log/zypper.log or in equivalent
yast log in /var/log/YaST2/y2log .

Be aware that it could be very long list if you just run 'zypper up' after
installation. The redirector (called Mirror
Brain) can use different mirrors for different files within the same update
session. I got over 500 lines with last factory update which is a bit more
than half of the updated files.

grep "(log_redirects_curl)" /var/log/zypper.log
will list lines with all mirrors that are used.

grep "(log_redirects_curl)" /var/log/zypper.log | tail -n20
will list last 20 entries.

If last zypper.log doesn't show anything then you can use compressed logs.
They have file name like:

bzip2 -dc /var/log/zypper.log-<date>.bz2 | grep "redirects_curl"

Regards, Rajko

OpenSUSE Wiki Team:
People of openSUSE:
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >