Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: 12.1 Repo Data is incorrect

  1. #1
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default 12.1 Repo Data is incorrect

    I keep a local copy of the openSUSE repos. That way I dont have 50 computers all trying to update through a firewall/proxy. I sync with ftp since rsync is blocked. This means I can not sync from openSUSE as they do not have a FTP site that I have been able to find. After I get a good sync I sync my mirror with a couple of my servers.

    I just installed a new 12.1 64bit computer last week. When I tried to update it this week I started getting a lot of checksum errors. I went to a computer that was already updated and went into software management and view repo and selected Updates. In then did a unconditional update and started getting the same checksum errors. I started looking into this. I now see that the check sum in the repodata files has changed.

    Download from Index of /update/12.1, repodata and checksum DONOT match.
    Code:
    -rw-------  1 dave SysAdmin  3579767 2012-01-20 14:01 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz
    .
    ..
    ...<package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
        <version epoch="0" ver="4.7.4" rel="19.4.1"/>
    ...
    ..
    .
    sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm 
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d  libqt4-4.7.4-19.4.1.x86_64.rpm
    Mirror on Atlas (Main Sync Server), repodata and rpm checksum DONOT match.
    Code:
    -r--r--r-- 1 root root 3579767 Jan 17 23:08 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz
    less 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml
    .
    ..
    ...
    <package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
        <version epoch="0" ver="4.7.4" rel="19.4.1"/>
    ...
    ..
    .
    -r--r--r-- 1 root root  3648318 Dec  9 09:06 libqt4-4.7.4-19.4.1.x86_64.rpm
    sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d  libqt4-4.7.4-19.4.1.x86_64.rpm
    Mirror on Colossus, repodata and rpm checksum match.
    Code:
    -r--r--r-- 1 root root 3130284 Jan  9 16:35 10364c734abbc252e06faa015c5bfc34e87e79ffd876c6c11439bd05f99fc5dd-filelists.xml.gz
    less 10364c734abbc252e06faa015c5bfc34e87e79ffd876c6c11439bd05f99fc5dd-filelists.xml.gz
    .
    ..
    ...
    <package pkgid="c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d" name="libqt4" arch="x86_64">
        <version epoch="0" ver="4.7.4" rel="19.4.1"/>
    ...
    ..
    .
    -r--r--r-- 1 root root  3648318 Dec  9 09:06 libqt4-4.7.4-19.4.1.x86_64.rpm
    sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d  libqt4-4.7.4-19.4.1.x86_64.rpm
    diff 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz /atlas/Distributions/openSUSE/12.1/Update/repodata/32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz

    This say that my repo files match openSUSE. As you can see that an RPM that has not changed since 9 Dec has new checksums in the repodata files. This only one of about twenty. Can someone else please verify this?

    Dave W

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: 12.1 Repo Data is incorrect

    On 2012-01-20 20:16, dwestf wrote:
    > This say that my repo files match openSUSE. As you can see that an RPM
    > that has not changed since 9 Dec has new checksums in the repodata
    > files. This only one of about twenty. Can someone else please verify
    > this?


    Can you give exact links?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: 12.1 Repo Data is incorrect

    On 01/20/2012 08:16 PM, dwestf wrote:
    > Can someone else please verify this?


    no one here (i think) can answer your questions...the repos are cared
    for by system administrators who do not rove these fora, but you can
    contact them, please see:
    http://en.opensuse.org/openSUSE:Serv...d.opensuse.org
    where you will find two email addresses and addressing details need to
    aim a bugzilla at the right folks

    since repos are normally addressed using download.opensuse.org, and that
    is actually a redirector which sends users to any one of _many_ mirrors
    (see the full list here: http://mirrors.opensuse.org/) then unless you
    can tell us exactly which mirror you received the apparently incorrect
    info from, no one could verify that the one you contacted is either
    correct, or not..

    however, i believe the the folks you can contact via the first address
    given above can both help you and repair any problems..

    thanks for taking the time and interest to raise the issue here, and there..

    --
    DD http://tinyurl.com/DD-Caveat
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: 12.1 Repo Data is incorrect

    On 2012-01-20 23:55, DenverD wrote:

    > since repos are normally addressed using download.opensuse.org, and that is
    > actually a redirector which sends users to any one of _many_ mirrors (see
    > the full list here: http://mirrors.opensuse.org/) then unless you can tell
    > us exactly which mirror you received the apparently incorrect info from, no
    > one could verify that the one you contacted is either correct, or not..


    I read recently that the redirector gives a file directly if it has no
    numeric part in the name, or a redirection if it has - if I understood it
    correctly. This is so that you download a master checksum file from the
    redirector, in order to verify what the mirrors give.

    > however, i believe the the folks you can contact via the first address
    > given above can both help you and repair any problems..


    That is correct.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: 12.1 Repo Data is incorrect

    On 01/21/2012 01:58 AM, Carlos E. R. wrote:
    > I read recently that the redirector gives a file directly if it has no
    > numeric part in the name, or a redirection if it has - if I understood it
    > correctly. This is so that you download a master checksum file from the
    > redirector, in order to verify what the mirrors give.


    AH! (i've not read that deeply into it, so i've not 'understood' it at
    all, but) that makes sense doesn't it....that way the server
    _controlled_ by the SUSE Community holds the checksum against which the
    scattered software is measured..

    hmmmm...so, if the checksums are being changed in the one, authoritative
    server then something is very wrong......hmmmmm, i don't find it highly
    likely that that is happening, or if it did that only one person might
    have noticed it..

    therefore, i tried again to understand exactly what Dave was showing in
    those code enclosed boxes...and, i do NOT understand what is shown..

    that is, i see "repodata and checksum DONOT match" yet in the three code
    boxes i see only three sha1sums, and they are, in the same order as the
    thread originating post:
    [code]
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    [code]

    so it appears to me that all three of the checksums given match
    perfectly, and i wonder if the proof of a mismatch was somehow not
    placed in the original post??

    what did i misunderstand?

    --
    DD http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: 12.1 Repo Data is incorrect

    On 2012-01-21 10:23, DenverD wrote:
    > what did i misunderstand?


    I'm not sure...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default Re: 12.1 Repo Data is incorrect

    Ok,



    Download these two files.

    http://download.opensuse.org/update/...lelists.xml.gz
    http://download.opensuse.org/update/...4.1.x86_64.rpm

    Code:
    zcat 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz |grep libqt4|grep x86
    <package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
    
    sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm 
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d  libqt4-4.7.4-19.4.1.x86_64.rpm
    I just did this test at home. I was not sure if I was getting stale files in a proxy cache.

    The other xml.gz also show the wrong checksums. Just built a clean 12.1 32 here at home. Going to do an upgrade to see if I get the same problem at home.

    Dave W

  8. #8
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default Re: 12.1 Repo Data is incorrect

    Update at home worked OK, then I remembered that I am on 32bit.

    Code:
    for i in `ls *.xml.gz`;do echo -e "\n\nfile $i";zcat $i |grep 'name="libqt4"'|grep i586;done
    
    file 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz
    <package pkgid="98dc690ce29d644d63400edf94eac2fc78ed65e79fdd9b9a8afb99daff0fe54f" name="libqt4" arch="i586">
    
    
    file 33c8f8f642d1b20265178a53ba370e3d6b1f90ee02a74c4f962060edcb9b72da-updateinfo.xml.gz
            <package name="libqt4" epoch="0" version="4.7.4" release="19.4.1" arch="i586" src="libqt4">
    
    
    file 3b1e2b15b7712a4c9d973ce34ebfb75aa47cace018529fd5e98727ebd213da90-susedata.xml.gz
    
    
    file 5afc6cb78c11733eb7ae0cd9dfefc5a37fba3d6530ec285484cf419be9bc7e84-suseinfo.xml.gz
    
    
    file 6a97fea89f63b0a7529d5fe21160dea59f72259316128c39a80c0d04f0482c21-deltainfo.xml.gz
    
    
    file b2944e8d02c0c442cc1ff68d55f6ba31cf4e7a59be436bffd96dbbcd7ce02fe9-other.xml.gz
    <package pkgid="98dc690ce29d644d63400edf94eac2fc78ed65e79fdd9b9a8afb99daff0fe54f" name="libqt4" arch="i586">
    
    
    file ce7a0af30c13a8a995d6840ce104912b0574058b73045e8b44137e37489d7625-primary.xml.gz
    
    sha256sum libqt4-4.7.4-19.4.1.i586.rpm 
    98dc690ce29d644d63400edf94eac2fc78ed65e79fdd9b9a8afb99daff0fe54f  libqt4-4.7.4-19.4.1.i586.rpm
    As you ca see the checksum for i586 version of libqt4 matches.

    Dave W

  9. #9

    Default Re: 12.1 Repo Data is incorrect

    Quote Originally Posted by DenverD View Post
    therefore, i tried again to understand exactly what Dave was showing in
    those code enclosed boxes...and, i do NOT understand what is shown..

    that is, i see "repodata and checksum DONOT match" yet in the three code
    boxes i see only three sha1sums, and they are, in the same order as the
    thread originating post:
    [code]
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d
    [code]

    so it appears to me that all three of the checksums given match
    perfectly, and i wonder if the proof of a mismatch was somehow not
    placed in the original post??

    what did i misunderstand?
    I think he's expecting the package pkgid to be the same as the sha256sum. It is in the third one that he said matches, and isn't in the first two that he is complaining about not matching. Whether they should be the same, I don't know.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: 12.1 Repo Data is incorrect

    On 2012-01-21 22:46, dwestf wrote:
    >
    > Ok,
    >
    >
    >
    > Download these two files.
    >
    > http://tinyurl.com/7m8v9x7
    > http://tinyurl.com/7bz9x43


    Done.
    Code:
    
    > cer@Telcontar:~/tmp/aa> ls -l
    > total 7060
    > -rw-r--r-- 1 cer users 3579767 Jan 18 00:08 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz
    > -rw-r--r-- 1 cer users 3648318 Dec  9 10:06 libqt4-4.7.4-19.4.1.x86_64.rpm
    The download got redirected to suse.bifi.unizar.es. I used wget.

    > Code:
    > --------------------
    >
    >
    > zcat 32ca040bf5837a12126d34067cb0ee196b091b76cf1ca1aaa9a0c2642c1fd1d7-filelists.xml.gz |grep libqt4|grep x86
    > <package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
    >
    > sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm
    > c7a3129be10ea272359b1e9468eb0293c7b1569d59b6ca01931428c15933b44d libqt4-4.7.4-19.4.1.x86_64.rpm
    > --------------------


    The grep pattern is too wide, but I see what you mean.

    Code:
    There is a line in filelists.xml.gz that reads:
    > <package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
    
    > cer@Telcontar:~/tmp/aa> sha256sum libqt4-4.7.4-19.4.1.x86_64.rpm
    > 746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c  libqt4-4.7.4-19.4.1.x86_64.rpm
    So they match.

    So that others understand, the file "filelists.xml.gz" contains a section
    that read thus:

    Code:
    
    > <package pkgid="746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c" name="libqt4" arch="x86_64">
    >     <version epoch="0" ver="4.7.4" rel="19.4.1"/>
    >     <file>/usr/bin/qdbus</file>
    >     <file>/usr/bin/xmlpatterns</file>
    >     <file>/usr/bin/xmlpatternsvalidator</file>
    >     <file>/usr/lib64/libQtCLucene.so.4</file>
    >     <file>/usr/lib64/libQtCLucene.so.4.7</file>
    >     <file>/usr/lib64/libQtCLucene.so.4.7.4</file>
    >     <file>/usr/lib64/libQtCore.so.4</file>
    >     <file>/usr/lib64/libQtCore.so.4.7</file>
    >     <file>/usr/lib64/libQtCore.so.4.7.4</file>
    ....
    >     <file type="dir">/usr/share/qt4</file>
    >     <file type="dir">/usr/share/qt4/translations</file>
    > </package>
    and apparently the pkgid token marks the sha256 hash of the file named
    there in several tokens. And it matches, at least in my case.


    It is possible you see a non matching file downloaded from some mirror near
    to you, and that would be a bug. Well, the word is not bug, whatever.

    But you need to detect what mirror. In the text output from wget you see it.

    Interestingly, you can use "aria2c" instead, which will first download the
    meta4 file, and then download the "real" file. Part of the contents of the
    meta4 file is this:

    Code:
    
    >     <!-- internal id: 57832832 -->
    >     <hash type="md5">0ae0af2e890bebe4812334f6aafa5407</hash>
    >     <hash type="sha-1">09fe1faa09046b9e20834694744207fa9c53f8f2</hash>
    >     <hash type="sha-256">746850567a5f53353f0deebc44ae0b7ed04528570f0a1c87bfee68345e77298c</hash>
    >     <pieces length="262144" type="sha-1">
    >       <hash>31afc11b5e15cc7ca1187d2c50d9679664ed02f6</hash>
    >       <hash>1029249e77186f5018d6e955455d79796a264417</hash>
    >
    and the sha-256 hash is also there and it matches. That is, if the software
    manager had used metalinks, it would automatically detect and correct the
    error (and see the bad mirror as bad). I wonder what is happening, I
    thought that zypper and yast used metalinks.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •