Error building cache of repository for openSUSE-12.3 non-OSS Updates

I was going to upgrade my openSUSE-12.1 to openSUSE-12.3 using zypper. After disabling all 12.1 repos and adding the openSUSE 12.3 repos (oss, non-oss and respective updates) I did a zypper clean followed by zypper refresh and got the following error message:


Error building the cache:
|] Failed to cache repo (4).

In verbose mode the error message was specified as


 - 'repo2solv.sh' '-o' '/var/cache/zypp/solv/repo-12.3-update-non-oss/solv' '/var/cache/zypp/raw/repo-12.3-update-non-oss'
error, the repository specifies extra information about package with checksum '5512dbd74163e11fd7e99fe5173039a8e36d3f8400f8385a182a5825fdcd9ed6', which does not exist in the repository.

I tried

  • changing the mirror site of the repository
  • deleting all cache data in /var/cache/zypp
    followed by a new refresh without success.

Can anybody give me a hint whether this is a problem of my machine or an error in the repository, i.e. can anybody build the cache of openSuse 12.3 non-oss-updates ?

Any hints would be appreciated.

Regards
Claas

Upgrade from 12.1 to 12.3 is not supported. Upgrading is only supported for 12.1 -> 12.2, 12.2->12.3 etc etc.
Please post output of


zypper lr -d

Thanks for the quick response. I should have noted, that I have already successfully performed the 12.1->12.3 update without any problems on another machine two weeks ago. So although it may not be supported, the behaviour then was different from now.

Here is the desired output of zypper


xxx
#  | Alias                              | Name                                                                                 | Enabled | Refresh | Priority | Type   | URI                                                                              | Service
---+------------------------------------+--------------------------------------------------------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
 1 | Geo                                | Geo                                                                                  | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.1/        |        
 2 | Geo-tools                          | Geo-tools                                                                            | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.1         |        
 3 | KDE 4.8                            | KDE 4.8                                                                              | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/48/openSUSE_12.1         |        
 4 | KDE_Extra                          | Additional packages maintained by the KDE team (openSUSE_12.1)                       | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/              |        
 5 | KDE_UpdatedApps                    | Backports of latest application releases to stable openSUSE releases (openSUSE_12.1) | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_12.1/        |        
 6 | Updates-for-openSUSE-12.1-12.1-1.4 | Updates for openSUSE 12.1 12.1-1.4                                                   | No      | No      |   99     | rpm-md | http://download.opensuse.org/update/12.1/                                        |        
 7 | VLC                                | VLC                                                                                  | No      | No      |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/12.1                                   |        
 8 | developement tools                 | developement tools                                                                   | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools/openSUSE_12.1             |        
 9 | education                          | education                                                                            | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_12.1                |        
10 | gcc                                | gcc                                                                                  | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/gcc/openSUSE_12.1               |        
11 | google-earth                       | google-earth                                                                         | No      | No      |   99     | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64                               |        
12 | mozilla                            | mozilla                                                                              | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1                  |        
13 | nvidia                             | openSUSE-12.3 nVidia                                                                 | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/12.3                                          |        
14 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4                                                               | No      | No      |   99     | yast2  | nfs://129.247.161.49/suse/12.1/oss                                               |        
15 | python                             | python                                                                               | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1 |        
16 | qt                                 | qt                                                                                   | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_12.1                  |        
17 | repo-12.3-non-oss                  | openSUSE-12.3 Non-OSS                                                                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss                      |        
18 | repo-12.3-oss                      | openSUSE-12.3 OSS                                                                    | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss                          |        
19 | repo-12.3-update-non-oss           | openSUSE-12.3 Updates Non-OSS                                                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3-non-oss                                 |        
20 | repo-12.3-update-oss               | openSUSE-12.3 Updates OSS                                                            | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.3                                         |        
21 | repo-debug                         | openSUSE-12.1-Debug                                                                  | No      | No      |   99     | NONE   | http://download.opensuse.org/debug/distribution/12.1/repo/oss/                   |        
22 | repo-debug-update                  | openSUSE-12.1-Update-Debug                                                           | No      | No      |   99     | NONE   | http://download.opensuse.org/debug/update/12.1/                                  |        
23 | repo-non-oss                       | openSUSE-12.1-Non-Oss                                                                | No      | No      |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/                     |        
24 | repo-oss                           | openSUSE-12.1-Oss                                                                    | No      | No      |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/                         |        
25 | repo-source                        | openSUSE-12.1-Source                                                                 | No      | No      |   99     | NONE   | http://download.opensuse.org/source/distribution/12.1/repo/oss/                  |        
26 | science                            | science                                                                              | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_12.1                  |        
27 | subversion                         | subversion                                                                           | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_12.1        |        

Hope that helps.

Regards
Claas

You could try to upgrade zypper and rpm first. Maybe the older version cannot cope with the 12.3 repo’s metadata.

zypper in -f zypper rpm

Or, since that error message is about the update-non-oss repo, just disable that for now. You can enable it and install the latest non-oss updates anytime after the distribution upgrade as well.

On 2014-01-07 13:26, claashk wrote:
>
> Thanks for the quick response. I should have noted, that I have already
> successfully performed the 12.1->12.3 update without any problems on
> another machine two weeks ago. So although it may not be supported, the
> behaviour then was different from now.

One suggestion is to update the zypper toolchain first.

> Here is the desired output of zypper

Your list is a bit confusing, but you really only have active the four
mandatory repos plus nvidia. Shouldn’t be a problem.

Did you try “zypper clean”?


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

@Wolfi323: Installing without this repo might be worth a try indeed. Thanks for the hint. One thing that bothers me though, is why zypper has problems to interpret the metadata of this repository only (and not the other three). Any ideas what could cause this? As stated earlier, it worked fine two weeks ago on another machine.

@robin_listas: Sorry the list is so long. I deactivated all my other repos before deleting them, so I could fall back to the existing system easier, in case of problems. As to the answer to your question: Yes I tried zypper clean without success.

Thanks for your input.

Regards
Claas

Well, maybe it’s just a temporary problem with the mirror you got redirected to? Maybe it was in the middle of syncing when you ran zypper?
Or maybe that mirror is just broken. If you try again later, you might get redirected to a different one though.

On 2014-01-07 14:36, wolfi323 wrote:

> Well, maybe it’s just a temporary problem with the mirror you got
> redirected to? Maybe it was in the middle of syncing when you ran
> zypper?
> Or maybe that mirror is just broken. If you try again later, you might
> get redirected to a different one though.

Might be.

I would try disabling that repo temporarily, upgradint the zypper and
rpm tool chain, as you said, then reactivate the repo to try again.

Another possibility is editing the repo url (editing the file in
/etc/zypp/repos.d/ I think is easier) to point directly to another mirror.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Disabling the repo, upgrading and enabling it again worked flawlessly. After some minor difficulties with the nVidia graphics drive, openSUSE 12.3 now runs very smoothly. Thank you all for your support.

Claas