<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Pascal Bleser wrote:
<blockquote cite="mid459CDA7B.5050005@skynet.be" type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikus Grinbergs wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Running SUSE 10.1 64bit. Issued 'smart update'.
It downloaded (apparently successfully) files primary.xml.gz and
filelists.xml.gz for Packman from a mirror in Germany. Then it
*again* downloaded those same two files from a mirror in Belgium
(apparently successfully). Now it is **again** downloading those
same two files from a mirror in Austria !!!
At approximately 1.0 KBps (my dial-up line has other transfers
going on, too), it seems to be taking _forever_ for the 'smart
update' to complete. WHY does smart have to download more than
one copy of these (huge) files (I see no error messages) ??
</pre>
</blockquote>
<pre wrap=""><!---->
It doesn't. The only situation where I could imagine smart does that is
if the mirrors are badly out of sync.
When you run smart update, it only fetches a small file to check whether
smart's local copy of the repository metadata is still up-to-date or not:
- - for rpm-md it's repodata/repomd.xml (951 bytes for my repository)
- - for yast2 it's media.1/media (22 bytes for my repository)
media.1/media contains a serial number and repodata/repomd.xml contains
checksums and timestamps for the individual metadata files
(primary.xml.gz, filelists.xml.gz and other.xml.gz).
If the remote serial number/timestamp is different from the local one
(in /var/lib/smart/channels/), it will fetch the remote metadata files.
If not, then it won't.
If you don't like the mirrors, just remove all the mirrors and change
the channel baseurl's to your preferred mirror.
cheers
- --
-o) Pascal Bleser <a class="moz-txt-link-freetext" href="http://linux01.gwdg.de/~pbleser/">http://linux01.gwdg.de/~pbleser/</a>
/\\ <a class="moz-txt-link-rfc2396E" href="mailto:pascal.bleser@skynet.be"><pascal.bleser@skynet.be></a> <a class="moz-txt-link-rfc2396E" href="mailto:guru@unixtech.be"><guru@unixtech.be></a>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFnNp7r3NMWliFcXcRAqi0AJ9Lo+G1l0RML4x6Z5HjGsVXxKdlZgCeMro7
F+/NJVpd/M4UfRLH72VEtcU=
=CTie
-----END PGP SIGNATURE-----
</pre>
</blockquote>
Where does smart store that information about its channels? I removed
/var/lib/smart/cache en did smart channel --remove-all, but he still
doesn't check the channel again. Prior to smart 0.50rc1 it was the case
that it checked and parsed again the channels.<br>
<br>
Thx<br>
</body>
</html>