Cannot update openSUSE (cannot refresh cookie)

Running openSUSE 11.0.

Everything worked fine until I uninstalled a package (JACK, to be specific). The uninstall appeared to work without problem.

But now when attempting to run openSUSE updater I get this message:

Refresh failed: Error: Could not refresh repository 'openSUSE-11.0-Updates': Can't open /var/cache/zypp/solv/openSUSE-11.0-Updates/cookie 

Any way to recover?


Not nice, but AFAIK this will solve the problem:

Start Yast - Software - Software repostiries, and remove the 11.0 update repo. Click OK to exit.
Now, from the same screen Configure Online Update. Add the update server and everything should be OK again.

From “man zypper”:

   clean (cc) [options] [alias|#|URI] ...
          Clean the local caches for all known or specified repositories. By default,
           only caches of downloaded packages are cleaned.

   -m, --metadata
          Clean repository metadata cache instead of package cache.

   -M, --raw-metadata
          Clean repository raw metadata cache instead of package cache.

   -a, --all
          Clean both repository metadata and package caches.

Perfect! Many thanks.