Create README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-03-19 13:09:02 +01:00 committed by GitHub
parent 1ee88e0dc1
commit 398a8c40e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,61 @@
# error: rpmdbNextIterator: skipping
## Top
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
If we do
```shell
dnf -y update
```
then we get this error message:
```shell
error: rpmdbNextIterator: skipping h# 36674
Header RSA signature: BAD (header tag 268: invalid OpenPGP signature: Parsing an OpenPGP packet:
Failed to parse Signature Packet
because: Signature appears to be created by a non-conformant OpenPGP implementation, see <https://github.com/rpm-software-management/rpm/issues/2351>.
because: Malformed MPI: leading bit is not set: expected bit 8 to be set in 10110 (16))
Header SHA256 digest: OK
Header SHA1 digest: OK
error: rpmdbNextIterator: skipping h# 36674
Header RSA signature: BAD (header tag 268: invalid OpenPGP signature: Parsing an OpenPGP packet:
Failed to parse Signature Packet
because: Signature appears to be created by a non-conformant OpenPGP implementation, see <https://github.com/rpm-software-management/rpm/issues/2351>.
because: Malformed MPI: leading bit is not set: expected bit 8 to be set in 10110 (16))
Header SHA256 digest: OK
Header SHA1 digest: OK
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: An rpm exception occurred: package not installed
```
With
```shell
rpm -qa >/dev/null 2> error.log
cat error.log | grep "error: rpmdbNextIterator: skipping h#" | awk -c '{print "rpm -q --nosignature --querybynumber " $5 }' | sort -u | sh
```
we can check which packages have a problem.
With
```shell
rpm -qa >/dev/null 2> error.log
cat error.log | grep "error: rpmdbNextIterator: skipping h#" | awk -c '{print "rpm -e --nosignature --nodeps $(rpm -q --nosignature --querybynumber " $5 ")"}' | sort -u | sh
```
we remove those package. However you need to make sure that these are not important packages and that you reinstall the updated version via dnf afterwards.
In the case of intel oneapi:
```shell
dnf -y install intel-aikit
dnf -y install intel-basekit
dnf -y install intel-dlfdkit
dnf -y install intel-hpckit
dnf -y install intel-iotkit
```