[Rpm-maint] [rpm-software-management/rpm] can't rpm erase, package with invalid hash lodged inside rpmdb (Issue #2460)

hgkamath notifications at github.com
Fri Mar 31 09:47:09 UTC 2023


### Description
When using rpm I think there are two non-easily identifiable packages are messed up.
The ```rpm -e``` erase option does not have a ```--nodigest``` argument unlike the install/upgrade/verify options. 
The below logs show that unnamed packages through up hashdigest errors.
I believe the packages to be livna-release and libdvdcss.

I recently did an upgrade from fedora-37 to fedora-38, 
For the most part, other than a few dependency hiccups with some packages like ffmpeg-libs, libplacebo, libchromapaint, which were resolved, the update went smoothly. Fedora-38 boots and works with no issues.  

How can I fix this
attempting to force install livna-release is also not possible

### Logs
```
[root at sirius livna]# rpm -qa | grep JJUUNNKK
error: rpmdbNextIterator: skipping h#      17 
Header V4 DSA/SHA1 Signature, key ID a109b1ec: BAD
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h#      19 
Header V4 DSA/SHA1 Signature, key ID a109b1ec: BAD
Header SHA1 digest: OK

[root at sirius livna]#  rpm -e livna-release
error: rpmdbNextIterator: skipping h#      17 
Header V4 DSA/SHA1 Signature, key ID a109b1ec: BAD
Header SHA1 digest: OK
[root at sirius livna]#  rpm -e libdvdcss
error: rpmdbNextIterator: skipping h#      19 
Header V4 DSA/SHA1 Signature, key ID a109b1ec: BAD
Header SHA1 digest: OK

[root at sirius livna]# rpm -i ./livna-release-1-1.noarch.rpm
error: ./livna-release-1-1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID a109b1ec: BAD
error: ./livna-release-1-1.noarch.rpm cannot be installed

```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2460
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2460 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230331/e5d074af/attachment.html>


More information about the Rpm-maint mailing list