Wrong Digest error

Help,
I have a fresh install of opensuse 11.1 but I am unable to update any packages >:(.

They all error in yast2 with “Wrong Digest” message.
running rpm --checksig on an rpm downloaded via download.opensuse.org fails.

http://i41.tinypic.com/2rhxqon.png

My proxy company networkbox say their proxy is not at fault but I have never had any issues updating opensuse 11.1 at other sites with a direct internet gateway.

Help please, I need a way to prove to them their proxy is altering the rpm’s, if that is the case.

Open Yast - Software - Repositories

Disable the DVD source.
Delete all the others.

Now we are going to add them back

Updates:
Index of /update/11.1

Oss:
Index of /distribution/11.1/repo/oss

Non-Oss:
Index of /distribution/11.1/repo/non-oss

Now set the priority to 20 for Updates
and 120 for Oss and Non-Oss

You can add other repo’s as needed and they will default to 99. That’s fine.
Repository Management - openSUSE Forums
May help

Followed your instructions and now I get this error after clicking OK on the software repositories dialog.

http://i39.tinypic.com/2cfz7kl.png

followed by this error:

http://i42.tinypic.com/2d1mmp5.png

Post the terminal output of

zypper lr

Here is the output:

linux-682p:~ # zypper lr

| Alias | Name | Enabled | Refresh

–±-------------±----------------------±--------±-------
1 | 11.1 | 11.1 | Yes | Yes
2 | 11.1_1 | 11.1 | Yes | Yes
3 | 11.1_2 | 11.1 | Yes | Yes
4 | Packman-RPMs | Packman-RPMs | Yes | Yes
5 | repo-debug | openSUSE-11.1-Debug | Yes | Yes
6 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | No
7 | repo-oss | openSUSE-11.1-Oss | Yes | No
8 | repo-source | openSUSE-11.1-Source | Yes | Yes
9 | repo-update | openSUSE-11.1-Update | Yes | No

Delete 1,2,3

set 9 to Yes|Yes

then do from a su terminal

zypper ref

then

zypper up

When doing zypper ref I get a digest error:

linux-682p:~ # zypper ref
Digest verification failed for primary.xml.gz. Expected 056694756e34245b2ad1abfe52faa835d469857c, found c3d3695e0583a153e07a882311d5f84f22e9c5d2. Continue? [yes/NO]:

I decided to select yes and continue:

igest verification failed for primary.xml.gz. Expected 056694756e34245b2ad1abfe52faa835d469857c, found c3d3695e0583a153e07a882311d5f84f22e9c5d2. Continue? [yes/NO]: yes
Retrieving repository ‘Packman-RPMs’ metadata [done]
Building repository ‘Packman-RPMs’ cache [done]
Repository ‘openSUSE-11.1-Debug’ is up to date.
Repository ‘openSUSE-11.1-Non-Oss’ is up to date.
Repository ‘openSUSE-11.1-Oss’ is up to date.
Digest verification failed for packages.DU.gz. Expected c2c47b2bea12224005074a4a1dff2abb66ec28f0, found 0e90c879133dc4ac7b63acd021c0969cc24d00e6. Continue? [yes/NO]: yes
Digest verification failed for packages.en.gz. Expected c516f888a801b7ad394dcb168578794ea61df7ac, found 6823d3c13f03a493100ed8537b873bdb34a09cbd. Continue? [yes/NO]: yes
Digest verification failed for packages.gz. Expected 1874049deedf1d8f102f3d824f3d3a5145823aa1, found ee673b70d6b5ef3669fe439881cc2560e7e92351. Continue? [yes/NO]: yes
Retrieving repository ‘openSUSE-11.1-Source’ metadata [done]
Building repository ‘openSUSE-11.1-Source’ cache [done]
Digest verification failed for primary.xml.gz. Expected 9d8e031e23a31dab42a5225d050068f1b1c8aed3, found 609390d62f2afb697a95d05e385f8abb5abebf9d. Continue? [yes/NO]: yes
Digest verification failed for deltainfo.xml.gz. Expected d1df1c10eb34e92680893d2443ea1024d4f48de3, found 859b26f4ce5d59d7576db07454602ce3a0434d9f. Continue? [yes/NO]: yes
Retrieving repository ‘openSUSE-11.1-Update’ metadata [done]
Building repository ‘openSUSE-11.1-Update’ cache [done]
All repositories have been refreshed.

then I tried an online update, though with any expectations.
Online update errors with the same error I posted in my 1st post.

su terminal do:

rpmdb --rebuilddb

try yast again

Results from rpmdb --rebuilddb:

linux-682p:~ # rpmdb --rebuilddb
error: rpmdbNextIterator: skipping h# 168 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbNextIterator: skipping h# 646 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbNextIterator: skipping h# 35 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbAdd: skipping h# 267 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbNextIterator: skipping h# 121 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbAdd: skipping h# 553 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284
error: rpmdbAdd: skipping h# 559 Header V3 RSA/SHA256 signature: BAD, key ID 3dbdc284

Can see a few errors in there, tried online update again.

http://i42.tinypic.com/21eqmap.png

Got a digest error on the repo data from packman repo.

Clicked yes to test rpm downloading anyway and I get the Wrong Digest error for the 1st rpm downloaded again:

http://i43.tinypic.com/2mgs6j9.png

Looking back I have to question if you actually did delete ALL and add back as described earlier: Wrong Digest error - openSUSE Forums

If you did, then your comments later don’t make sense. (comments 3 & 5)

To repeat myself…

I have followed all your steps in comment 2.
After setting the priorities I click OK

It starts Refreshing Repository… and then comes up with this error:

http://i42.tinypic.com/6ga3q1.png

Which is the same error I posted in question 3 with a different checksum.

update

When I reopen the Software Repositories the original repo’s are still listed.
To test I removed all repo’s and closed Software Repositories.
I then reopened it and they were all gone, I re-added the ones you proivded, clicked ok and a Wrong Digest error pops up. I click no to not keep it, then click no to not try again and Software Repositories closes. Reopening it does not show the entrys I added (the ones you provided).

You actually click the OK button don’t you, not the close button(X) in the UI window?

Yes I do actually click the OK button like I said. Not another random button :stuck_out_tongue:
For anyone else’s information the Close button in the title bar != OK.

Im a systems administrator (10 years and counting) who is fairly fimilar with linux etc, so do not treat me like an ignorant newbie please :slight_smile:

Fair enough. No insult intended.

But after my instruction in #2

you then posted repo info as:

1 | 11.1 | 11.1 | Yes | Yes
2 | 11.1_1 | 11.1 | Yes | Yes
3 | 11.1_2 | 11.1 | Yes | Yes
4 | Packman-RPMs | Packman-RPMs | Yes | Yes
5 | repo-debug | openSUSE-11.1-Debug | Yes | Yes
6 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | No
7 | repo-oss | openSUSE-11.1-Oss | Yes | No
8 | repo-source | openSUSE-11.1-Source | Yes | Yes
9 | repo-update | openSUSE-11.1-Update | Yes | No

when all you should have had was

6 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | No
7 | repo-oss | openSUSE-11.1-Oss | Yes | No
9 | repo-update | openSUSE-11.1-Update | Yes | No

and Updates should have been Yes|Yes

So please what is your

zypper lr

now

mem novell wrote:

> They all error in yast2 with “Wrong Digest” message.
> running rpm --checksig on an rpm downloaded via download.opensuse.org
> fails.

I am also getting this “Wrong Digest” error…

-G-

Yes, The repo’s dont get changed for some reason, possibly due to the wrong digest error ?

So even so I remove all and add the 3 you posted in number 2, when it fails it does not save my newly entered repo’s. So zypper lr Just lists the old repo’s as the update failed.

As I removed all, then quit Software Repositories this is the current message I get:

linux-682p:~ # zypper lr
No repositories defined. Use the ‘zypper addrepo’ command to add one or more repositories.

I decided to try adding 1 repo at a time (add, save, close to test) and I had some success:

linux-682p:~ # zypper lr
# | Alias | Name | Enabled | Refresh
--+-------+------+---------+--------
1 | 11.1  | 11.1 | Yes     | Yes

The updates url worked fine, but when I added the oss url it failed with a Wrong Digest error after I had clicked OK to close.
http://i44.tinypic.com/j9r59u.png
Clicked No (Use Anyway?) , then No again (bad checksum, Try again).

Then look at zypper lr and see that the repo I just added was not saved:

linux-682p:~ # zypper lr
# | Alias | Name | Enabled | Refresh
--+-------+------+---------+--------
1 | 11.1  | 11.1 | Yes     | Yes

I then tried non-oss which to my surprise went in without problems.

linux-682p:~ # zypper lr
# | Alias                         | Name                          | Enabled | Refresh
--+-------------------------------+-------------------------------+---------+--------
1 | 11.1                          | 11.1                          | Yes     | Yes
2 | openSUSE-NonOSS-Add-on_11.1-0 | openSUSE-NonOSS-Add-on 11.1-0 | Yes     | Yes

So now I have 2 repo’s that went it correctly and oss failed.
I will try an update to see if I still get Wrong Digest errors.

Few warnings from Yast2 online update because I do not have oss repo. I clicked do not install patches requiring unmet dependencies.
Unfortunately I get the same old error Wrong Digest on the 1st package it attempts to download which is opensuse-manual_en.
http://i42.tinypic.com/15gtvlk.png

Thanks for your help so far.

Try using a different mirror than those default ones

openSUSE Download Mirrors - Overview

Download repomd.xml and primary.xml.gz Index of /distribution/11.1/repo/oss/suse/repodata

Note where it is transferring from please from the browser(tracking the mirror)

Extract primary.xml do a sha1sum on primary.xml does it match the sum in repomd.xml?

I think you’re catching mirrors syncing but this will confirm it.

Post up the sum so I can check, that sum for oxygen is the sum it should be. Not the one your system reckons it should be.

Digest error for me too! Strange, in the same time for everybody. :slight_smile: Something is wrong with the repos. Try again tomorrow.