-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. wrote:
Btw, what does zypper do in such a case? Does it restart the update in such a case?
Nope, it fails, with weird errors, like package not found on repo.
That's one of the reasons I said that factory should keep versions numbers, a timestamp. If while downloading zypper sees a different stamp than at the beginning, it should abort with informative error. The timestamp could perhaps also be used to keep snapshots of the repo, so that we users are guaranteed the repo doesn't change for some days.
Actualy the timestamp of the index file (repo/repomd.xml, content) is the timestamp of the repostiory. So we have this, and use this, but not for media problems when downloading rpms. We could improve this, indeed. The type of error should be accessible to applications from MediaException (i was about to suggest this on zypp-devel), so that they can act on them (zypper could check whether metadata are up to date in case of FileNotFound error when downloading rpm file and report that to user, or this can be done in libzypp's commit code and a specific exception can be thrown to the apps). - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkkZlwAACgkQgEhGpmN+6QGiOwCfRYNV4r9ifAcI/sZp/5YARo6c o/kAn1Z8MdOj0vVY9JRyR/GoHkr81hwA =oTCV -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org