Results 1 to 9 of 9

Thread: Constantly getting "Digest verification failed for file ..." error

  1. #1

    Default Constantly getting "Digest verification failed for file ..." error

    Hi guys,

    I'm on tumbleweed and have been running into this "Digest verification failed for file ..." error while updating the repos with zypper recently.

    The error is something like this
    Code:
    Retrieving repository 'packman' metadata -------------------------------------------------------------------------------------------------------------------------------------------------[/]
    
    Warning: Digest verification failed for file 'primary.xml.gz'
    [/var/cache/zypp/raw/packman7Rmbls/repodata/primary.xml.gz]
    
      expected 3911ecd55b1d374295ab68728af006f0423573e8757ededcf55918a5a604b05e
      but got  2d80b34906cc2a5010592b89aae385e8198d90941e6948a3a83033fe01ab22ec
    
    Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.
    
    However if you made certain that the file with checksum '2d80..' is secure, correct
    and should be used within this operation, enter the first 4 characters of the checksum
    to unblock using this file on your own risk. Empty input will discard the file.
    
    Unblock or discard? [2d80/...? shows all options] (discard): 
    
    
    It usually happens with packman and repo-debug, I've tried clean zypper cache with "zypper clean" and force refresh with "zypper ref -f", but no good. I tried remove the repo and re-add it using the official suggested repo urls, still no good.
    My repo list below:
    Code:
    #  | Alias                               | Name             | Enabled | GPG Check | Refresh | URI                                                                           
    ---+-------------------------------------+------------------+---------+-----------+---------+------------------------------------------------------------------------------
     1 | MEGAsync                            | MEGAsync         | No      | ----      | ----    | https://mega.nz/linux/MEGAsync/openSUSE_Tumbleweed/                           
     2 | X11:Bumblebee                       | X11:Bumblebee    | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Tumbleweed/
     3 | http-download.opensuse.org-34484f96 | openSUSE:Factory | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/oss/                             
     4 | packman                             | packman          | Yes     | (r ) Yes  | Yes     | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/           
     5 | repo-debug                          | repo-debug       | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/debug                            
     6 | repo-non-oss                        | repo-non-oss     | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/non-oss                          
     7 | repo-oss                            | repo-oss         | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/oss                              
     8 | repo-src-non-oss                    | repo-src-non-oss | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/src-non-oss                      
     9 | repo-src-oss                        | repo-src-oss     | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/src-oss                          
    10 | repo-update                         | repo-update      | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/tumbleweed/  
    
    Any ideas? thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: Constantly getting "Digest verification failed for file ..." error

    How do you update? FYI On TW only 'zypper dup' is supported.
    ° 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: Constantly getting "Digest verification failed for file ..." error

    Quote Originally Posted by Knurpht View Post
    How do you update? FYI On TW only 'zypper dup' is supported.
    I use "zypper dup --no-allow-vendor-change", and it has been working well for past. I doubt it's the problem, since "zypper ref" gives the said verification error.

  4. #4
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,145

    Default Re: Constantly getting "Digest verification failed for file ..." error

    You could try explicitly specifying a mirror. I generally use either
    http://ftp5.gwdg.de/pub/opensuse/tumbleweed/repo/oss/
    or
    http://anorien.csc.warwick.ac.uk/dow...weed/repo/oss/
    for example.
    ~Thank you for sharing an interesting problem.
    --
    slàinte mhath,
    rayH

  5. #5

    Default Re: Constantly getting "Digest verification failed for file ..." error

    Ran into this problem again, and finally found out that it's something about accessing the repository. If I run the update behind a proxy (which guarantees successful access to the repo), the problem is gone. Weird enough though, even if I do not use the proxy, I can reach the repo in a browser without any problem. Also it's a mystery why zypper notifies a warning about verification error instead of issues of accessing the repo.

    Anyways, hope this helps somebody.

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

    Default Re: Constantly getting "Digest verification failed for file ..." error

    There are a number of mirrors for the repos. These are alternative sites that have a copy of the repo.

    When you connect to a repo, your connection is redirected to the "nearest" mirror. The redirection depends on the IP address used and ip geolocation services.

    When you use a proxy, the redirection depend on the proxy ip rather than your local ip. So you are probably being redirected to a different mirror when you use a proxy. It looks as if there may be problems with the mirror that you use when not using a proxy.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7

    Default Re: Constantly getting "Digest verification failed for file ..." error

    Was getting this problem with network installation of Tumbleweed, it errored out before the installer started - YAST translation package failed digest verification.
    I had tried multiple times on several days, always the same result. As I was finishing this post, tried again - and it succeeded. Apparently either it got another mirror, or the affected mirror got fixed right then.

  8. #8

    Default Re: Constantly getting "Digest verification failed for file ..." error

    Having same problem with TW NET install, is it safe to ignore the message? E.g. can I do something about it after install?

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: Constantly getting "Digest verification failed for file ..." error

    Quote Originally Posted by dac73 View Post
    Having same problem with TW NET install, is it safe to ignore the message? E.g. can I do something about it after install?
    Hi, welcome,

    Please start a new thread, with messages from your system, this one f.e. is about the packman repo, which is not involved in the NET install.
    ° 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

Posting Permissions

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