Results 1 to 4 of 4

Thread: Cannot update openSUSE (cannot refresh cookie)

  1. #1

    Default 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?

    --
    Ian

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,059
    Blog Entries
    14

    Default Re: Cannot update openSUSE (cannot refresh cookie)

    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Cannot update openSUSE (cannot refresh cookie)

    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.

  4. #4

    Default Re: Cannot update openSUSE (cannot refresh cookie)

    Quote Originally Posted by Knurpht View Post
    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.
    Perfect! Many thanks.

    --
    Ian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •