Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Update error in checksums

  1. #1

    Default Update error in checksums

    Hello, zypper ref and then zypper update is giving me this error:

    Checking for file conflicts: ..........................................................................................................................................................[done]
    (1/3) Installing: nvidia-bumblebee-32bit-352.21-1.1 ..................................................................................................................................[error]
    Installation of nvidia-bumblebee-32bit-352.21-1.1 failed:
    Error: Subprocess failed. Error: RPM failed: Error in checksums 684561131 3808707183
    error: %pre(nvidia-bumblebee-32bit-352.21-1.1.x86_64) scriptlet failed, exit status 254
    error: nvidia-bumblebee-32bit-352.21-1.1.x86_64: install failed
    error: nvidia-bumblebee-32bit-346.72-1.1.x86_64: erase skipped

    Abort, retry, ignore? [a/r/i] (a):

    Thanks.
    openSUSE Leap 15.0

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Update error in checksums

    On 2015-07-25 12:06, bonedriven wrote:

    > Installation of nvidia-bumblebee-32bit-352.21-1.1 failed:
    > Error: Subprocess failed. Error: RPM failed: Error in checksums
    > 684561131 3808707183


    You have to force re-download of the package, by deleting the cache copy.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  3. #3

    Default Re: Update error in checksums

    Thanks. I thought "zypper clean" was supposed to delete the cached copy. It turns out that I have to manually delete the copy under /usr/src.
    openSUSE Leap 15.0

  4. #4

    Default Re: Update error in checksums

    Quote Originally Posted by bonedriven View Post
    Thanks. I thought "zypper clean" was supposed to delete the cached copy.
    Yes, it is, and it does.

    But the nvidia driver download is not cached by zypper.

    The package script downloads the nvidia driver (the .run installer) to /usr/src/ and then unpacks and installs the files.
    And it doesn't download it again if the file is already there, but apparently it doesn't check its integrity first nor handles the situation when the file is "broken".

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Update error in checksums

    On 2015-07-26 13:46, wolfi323 wrote:
    >
    > bonedriven;2721027 Wrote:
    >> Thanks. I thought "zypper clean" was supposed to delete the cached copy.

    > Yes, it is, and it does.
    >
    > But the nvidia driver download is not cached by zypper.
    >
    > The package script downloads the nvidia driver (the .run installer) to
    > /usr/src/ and then unpacks and installs the files.
    > And it doesn't download it again if the file is already there, but
    > apparently it doesn't check its integrity first nor handles the
    > situation when the file is "broken".


    Oh. I didn't know that.

    I was rather thinking of /var/cache/zypp/*something*, maybe "raw". I
    know that "clean" erases the metadata, I'm unsure if it deletes also the
    rpm cache. :-?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,790
    Blog Entries
    3

    Default Re: Update error in checksums

    Quote Originally Posted by robin_listas View Post
    I was rather thinking of /var/cache/zypp/*something*, maybe "raw". I
    know that "clean" erases the metadata, I'm unsure if it deletes also the
    rpm cache. :-?
    Yes, it does.

    I'm using your suggestion (from the opensuse mailing list) for sharing downloaded updates between computers. So I tried "zypper clean" and it deleted all of the cached rpms.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Update error in checksums

    On 2015-07-26 16:16, nrickert wrote:
    >
    > robin_listas;2721040 Wrote:
    >> I was rather thinking of /var/cache/zypp/*something*, maybe "raw". I
    >> know that "clean" erases the metadata, I'm unsure if it deletes also the
    >> rpm cache. :-?

    >
    > Yes, it does.
    >
    > I'm using your suggestion (from the opensuse mailing list) for sharing
    > downloaded updates between computers. So I tried "zypper clean" and it
    > deleted all of the cached rpms.


    That's terrible! I must remember not to ever use "clean" :-)

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,790
    Blog Entries
    3

    Default Re: Update error in checksums

    Quote Originally Posted by robin_listas View Post
    That's terrible! I must remember not to ever use "clean" :-)
    In my case, I had finished updating all computers. So I probably wouldn't need those particular rpms again. I tried "zypper clean" as a test to see if it would delete them. It did, but no harm done.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #9

    Default Re: Update error in checksums

    Quote Originally Posted by robin_listas View Post
    That's terrible! I must remember not to ever use "clean" :-)
    Well, there are several options to the clean command:
    Code:
    wolfi@amiga:~> LANG=C zypper clean --helpclean (cc) [alias|#|URI] ...
    
    Clean local caches.
    
      Command options:
    -r, --repo <alias|#|URI> Clean only specified repositories.
    -m, --metadata           Clean metadata cache.
    -M, --raw-metadata       Clean raw metadata cache.
    -a, --all                Clean both metadata and package caches.
    And from the zypper man page:
    Code:
           clean (cc) [options] [alias|name|#|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.
    So "zypper clean" _only_ removes the cached packages...
    Last edited by wolfi323; 27-Jul-2015 at 01:45.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Update error in checksums

    On 2015-07-27 10:46, wolfi323 wrote:

    > So "zypper clean" _only_ removes the cached packages...


    Yes, but that is /terrible/ for me, because I share that directory over
    NFS to several computers. A "zypper clean" deletes the cache used by
    them all, gigabytes of downloads. Now I have fast internet, so it
    doesn't matter as much. Previously, with my 1 mbit adsl, it meant hours.

    I knew this fact, but I had forgotten.

    One way to avoid this would be to create a replication directory of
    *hard* links, of every rpm. If the main "copy" is deleted, the other one
    remains. Of course, it is not a real copy, no new space used. Just a way
    of talking :-)

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

Page 1 of 2 12 LastLast

Posting Permissions

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