I’ve recently experienced trouble with refreshing the Packman repo. So
far I’ve tried:
Deleting and adding the repo again (as well as deleting GPG Key).
Using one of the mirrors instead - same error results.
This is what occurs upon refreshing:
> zypper ref -f 2
> Forcing raw metadata refresh
> Digest verification failed for primary.xml.gz. Expected
> 77d22cc9e4ebd308cc53ccb09c2c9e316ac6a66e, found
> 1a9db464021ded7d420f0d260a5d24173007f166. Continue? [yes/NO]: yes
> Downloading repository ‘Packman Repository’ metadata [done]
> Forcing building of repository cache
> Building repository ‘Packman Repository’ cache [done]
> Error building the cache database:
> ‘repo2solv.sh’ ‘-o’
> ‘/var/cache/zypp/solv/http:_ftp.skynet.be_pub_packman_suse_11.0/solv’
> ‘/var/cache/zypp/raw/http:_ftp.skynet.be_pub_packman_suse_11.0’
>
> gzip: primary.xml.gz: not in gzip format
> repo_rpmmd: no element found at line 1:0
>
> Skipping repository ‘Packman Repository’ because of the above error.
> Could not refresh the repositories because of errors.
>
This one’s got me beat. Anyone able to shed some light on this?
Think I have a similiar issue, (the only way i know how to install
things is to use repos at the moment…) everytime i run Yast > Software
Management > when it does the repo refresh on startup… Yast seems to
keep trying to refresh the packman repo again and again for at least 2-3
times before i can view the list of software screen… and on my slow
connection, downloading the gz takes like a minute or two for each
try…
Thought maybe it’s a packman repo issue… didn’t really bother about it
since it’s not really critical for me…
> does it work when you refresh the repo through Yast?
No, I get a ‘Wrong Digest’ error message reporting that the expected
checksum does not match the current checksum. It gives me the option to
use it anyway, but after the refresh process is complete the same error
message as with zypper process, and the Packman repo is then disabled.
Mirrors for the same repo (opensuse 11) give same result:
> linux:/home/dean # zypper ar ‘Index of /linux/packman/suse/11.0’
> (http://mirror.pacific.net.au/linux/packman/suse/11.0/) Packman
> Adding repository ‘Packman’ [done]
> Repository ‘Packman’ successfully added
> Enabled: Yes
> Autorefresh: No
> URI: ‘Index of /linux/packman/suse/11.0’
> (http://mirror.pacific.net.au/linux/packman/suse/11.0/)
>
> linux:/home/dean # zypper refresh Packman
> Digest verification failed for primary.xml.gz. Expected
> 99c955417bd7d76c985c95534199df229414881e, found
> b048f2d943d096026cb324b13871dd1e318c5e97. Continue? [yes/NO]: yes
> Downloading repository ‘Packman’ metadata [done]
> Building repository ‘Packman’ cache [done]
> Error building the cache database:
> ‘repo2solv.sh’ ‘-o’ ‘/var/cache/zypp/solv/Packman/solv’
> ‘/var/cache/zypp/raw/Packman’
>
> gzip: primary.xml.gz: not in gzip format
> repo_rpmmd: no element found at line 1:0
>
> Skipping repository ‘Packman’ because of the above error.
> Could not refresh the repositories because of errors.
> I’ve had that happen to me as well, so I changed mirrors and that seemed
> to fix what ever was causing the problem
>
> try
>
> Index of /suse/11.1
>
> see if you still have problems
Strangely, the problem finally disappeared after I decided to experiment
with adding the 11.1 version of the repo and refreshing (which worked
ok), then removing and adding the default version 11 repo again. This
time all was well.
I can only think that deleting the repo (via yast and zypper) was not
clearing /var/cache/zypp… properly. Anyway, all sorted now.