Mailinglist Archive: mirror (1 mails)

< Previous Next >
Re: [suse-mirror] openSUSE 12.1 Update Mirror Sync Problem
  • From: David Westfall <david.westfall@xxxxxxxxxx>
  • Date: Tue, 20 Mar 2012 10:32:06 -0400
  • Message-id: <CAOg-kO+wL1rEOFXz_QLqLm+UENKoYGJoCEhjB3HjN=X-hcJcng@mail.gmail.com>
I now have rsync access to rsync.opensuse.org.
I wrote a script to rsync the directories I want (12.1 i586 i686 noarc
and x86_64).

After the rsync I ran my repoVerify.sh script.

Update # repoVerify.sh
repo OS Name openSUSE
repo OS Version 12.1
repo Name Update

Comparing Checksums for all RPM's against repodata.
Checksum for i686/glibc-2.14.1-14.14.1.i686.rpm does not match repodata.

Comparing Checksums for all DRPM's against repodata.

Checking all RPM's for bad signature's.

Checking all DRPM's for bad signature's.


Fetch Correct Files?y
Fetching correct files.
i686/glibc-2.14.1-14.14.1.i686.rpm

2012-03-20 10:08:49.380522 NOTICE - Download complete:
/atlas/Distributions/openSUSE/12.1/Update/i686/glibc-2.14.1-14.14.1.i686.rpm.meta4
[#2 SIZE:0B/1.3MiB(0%) CN:0 SPD:0Bs] [Checksum:#2
768.0KiB/1.3MiB(54%)]
2012-03-20 10:08:49.478152 NOTICE - Verification finished
successfully.
file=/atlas/Distributions/openSUSE/12.1/Update/i686/glibc-2.14.1-14.14.1.i686.rpm

2012-03-20 10:08:49.478370 NOTICE - Download complete:
/atlas/Distributions/openSUSE/12.1/Update/i686/glibc-2.14.1-14.14.1.i686.rpm

Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| OK|
15.6KiB/s|/atlas/Distributions/openSUSE/12.1/Update/i686/glibc-2.14.1-14.14.1.i686.rpm.meta4
2| OK|
0B/s|/atlas/Distributions/openSUSE/12.1/Update/i686/glibc-2.14.1-14.14.1.i686.rpm

Status Legend:
(OK):download completed.



**** Tested file before aria2c fetch
12.1/Update # grep 'name="glibc"' tmpFileList|grep i686
<package
pkgid="13ab3d2dc7416ea949a1fe252fd83ddee600395dc74b79fa8a984a527ccc9a9e"
name="glibc" arch="i686">
<package
pkgid="af368a9d98cf593e77f5fbdca3a0ef963264ceee58a06b336bef300e03d93fff"
name="glibc" arch="i686">
<package
pkgid="31b30dea751822729275cfffc9a7619ad133217cd3fb54f4146e89b2ccb7981b"
name="glibc" arch="i686">

12.1/Update # sha256sum i686/glibc-2.14.1-14.14.1.i686.rpm
79ad1370628e518259510af7167476ec08a66c7d929b3e562eff2020b91c39e2
i686/glibc-2.14.1-14.14.1.i686.rpm

12.1/Update # l -h i686/glibc-2.14.1-14.14.1.i686.rpm
-rw-r--r-- 1 root root 1.4M Dec 9 07:55 i686/glibc-2.14.1-14.14.1.i686.rpm

*** After aria2c fetch.
12.1/Update # sha256sum i686/glibc-2.14.1-14.14.1.i686.rpm
79ad1370628e518259510af7167476ec08a66c7d929b3e562eff2020b91c39e2
i686/glibc-2.14.1-14.14.1.i686.rpm

This tells me that after the cecksums for repodata have been
calculated this file was replaced. I assume that rpm checksums are
calculated for every file each time you update repodata and that
repodata is built by and autoamted script. If so, it is like I said
there are different versions of files floating around your servers and
they find there way in to your master mirror at different times.

I wrote repoVerify.sh on 28 feb and run it after every mirror update.
This is the first time that I saw glibc. And after my script fetchs
the correct file with aria2c I would run my script again and not get
any errors in the repo. My script still says that glibc has the wrong
checksum.

Do you want me to add this to the bug report?

Would you like a copy of my script?

Dave W
--
To unsubscribe, e-mail: mirror+unsubscribe@xxxxxxxxxxxx
To contact the owner, email: mirror+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages