error with zypper

Today I was thinking of updating to 11.1, but after updating yast, the only message I get from zypper is

Problem occured while reading the installed packages:
Error reading solv-file: /var/cache/zypp/solv/@System/solv
Please see the above error message for a hint.

try in terminal as su

rpmdb --rebuilddb

then

zypper refresh
zypper up

not working, still same error

Try deleting files in /tmp

and here too
/var/cache/zypp/solv

you will need to be su for /var…

not working either…

Sometimes it helps to force a rebuild of the zypper cache (in 11.0 and 11.0)


zypper ref -f

not working either, but, I’m not a very patience guy, so I think I will install openSUSE all over. thank you for your help!

It seems there is no zypper cache in oS 11 & 11.1, see this thread from the openSUSE Mailing List (as I am having similar problem)

Re: [opensuse] Where to look at zypper cache in 11.0?

Quoted below for ref:

Marcus Meissner wrote: On Tue, Jun 24, 2008 at 08:13:15PM -0500, David C. Rankin wrote: [INDENT]Listmates,

Has /var/cache/zypp/zypp.db gone the way of the dodo?

20:08 zion~> locate zypp.db
20:11 zion~>

The reason for asking is that I found it useful to delete zypp.db on occasion and use zypper ref to keep the file compact. I have no complaints with zypper in 11.0 and it is fast as hell - a really good thing. I also notice the complete new layout in /var/cache/zypp, but curiosity begs an answer. An anal “cat like” tendency.
There is no need for that anymore.

The generated .solv files are regenerated on the fly and are already as
compact as needed.
Would there ever be a need for a “zypper ref” anymore?
Of course, for explicitly refreshing the repositories.

Ciao, Marcus [/INDENT]There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1.
Regards
Dave P