Skip to content

rpm: does not verify: no digest #74

@balupton

Description

@balupton

Apparently Fedora 43 has moved to a new digest format, and anything with the old will fail with:

# sudo dnf install https://github.com/greymd/teip/releases/download/v2.3.2/teip-2.3.2.x86_64-unknown-linux-musl.rpm
Updating and loading repositories:
Repositories loaded.
 https://github.com/greymd/teip/releases/download/v2.3.2/teip-2.3.2.x86_64-unknown-linux-musl.rpm         100% |   4.3 MiB/s |   1.0 MiB |  00m00s
Package                                          Arch         Version                                          Repository                     Size
Installing:
 teip                                            x86_64       2.3.2-1707780956                                 @commandline                3.6 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 1 MiB. Need to download 0 B.
After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B).
Is this ok [y/N]: y
Running transaction
Transaction failed: Rpm transaction failed.
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
  - package teip-2.3.2-1707780956.x86_64 does not verify: no digest

Note that --no-gpgchecks has no effect:

# sudo dnf --no-gpgchecks install https://github.com/greymd/teip/releases/download/v2.3.2/teip-2.3.2.x86_64-unknown-linux-musl.rpm
Updating and loading repositories:
Repositories loaded.
 https://github.com/greymd/teip/releases/download/v2.3.2/teip-2.3.2.x86_64-unknown-linux-musl.rpm         100% |   1.8 MiB/s |   1.0 MiB |  00m01s
Package                                          Arch         Version                                          Repository                     Size
Installing:
 teip                                            x86_64       2.3.2-1707780956                                 @commandline                3.6 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 1 MiB. Need to download 0 B.
After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B).
Is this ok [y/N]: y
Running transaction
Transaction failed: Rpm transaction failed.
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
  - package teip-2.3.2-1707780956.x86_64 does not verify: no digest

Something like this patchset apparently does the trick:

Doing a quick look at teip, seems maybe the rpm's are being built by:

Seems moving from centos to almalinux would be the way to go:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions