New created droplets are not updating (yum update)
Total 61 MB/s | 550 MB 00:08
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/linux-firmware-20230217-113.git83f1d778.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(716100) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/NetworkManager-1.40.16-1.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(21364) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/NetworkManager-libnm-1.40.16-1.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(17400) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/cockpit-bridge-286.1-1.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(10708) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/cockpit-system-286.1-1.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(61956) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/cockpit-ws-286.1-1.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(35528) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/libibverbs-44.0-2.el8.1.x86_64.rpm: signature hdr data: BAD, no. of bytes(15176) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/libpwquality-1.4.4-6.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(18564) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/openssl-1.1.1k-9.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(32932) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/policycoreutils-2.9-24.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(38356) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/policycoreutils-python-utils-2.9-24.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(11352) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/python3-policycoreutils-2.9-24.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(68700) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/python3-syspurpose-1.28.35-1.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(11344) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/rdma-core-44.0-2.el8.1.x86_64.rpm: signature hdr data: BAD, no. of bytes(11792) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/selinux-policy-targeted-3.14.3-117.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(679656) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/systemd-239-73.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(183268) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/systemd-udev-239-73.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(58816) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/tar-1.30-9.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(13828) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/tuned-2.20.0-1.el8.noarch.rpm: signature hdr data: BAD, no. of bytes(94844) out of range
error: /var/cache/dnf/baseos-726e5a1cc76d0c79/packages/util-linux-2.32.1-41.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(127884) out of range
Problem opening package linux-firmware-20230217-113.git83f1d778.el8.noarch.rpm
Problem opening package NetworkManager-1.40.16-1.el8.x86_64.rpm
Problem opening package NetworkManager-libnm-1.40.16-1.el8.x86_64.rpm
Problem opening package cockpit-bridge-286.1-1.el8.x86_64.rpm
Problem opening package cockpit-system-286.1-1.el8.noarch.rpm
Problem opening package cockpit-ws-286.1-1.el8.x86_64.rpm
Problem opening package libibverbs-44.0-2.el8.1.x86_64.rpm
Problem opening package libpwquality-1.4.4-6.el8.x86_64.rpm
Problem opening package openssl-1.1.1k-9.el8.x86_64.rpm
Problem opening package policycoreutils-2.9-24.el8.x86_64.rpm
Problem opening package policycoreutils-python-utils-2.9-24.el8.noarch.rpm
Problem opening package python3-policycoreutils-2.9-24.el8.noarch.rpm
Problem opening package python3-syspurpose-1.28.35-1.el8.x86_64.rpm
Problem opening package rdma-core-44.0-2.el8.1.x86_64.rpm
Problem opening package selinux-policy-targeted-3.14.3-117.el8.noarch.rpm
Problem opening package systemd-239-73.el8.x86_64.rpm
Problem opening package systemd-udev-239-73.el8.x86_64.rpm
Problem opening package tar-1.30-9.el8.x86_64.rpm
Problem opening package tuned-2.20.0-1.el8.noarch.rpm
Problem opening package util-linux-2.32.1-41.el8.x86_64.rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @admin245734 and @azaj.ikbal,
So indeed I’ve managed to recreate the issue. This is coming from the fact that when you create a new CentOS Droplet and then try to update it with the dnf
or yum
update
command you are updating the rpm package as well causing differences in the rpm version trying to unpackage rpm files thus coming with an error like :
Problem opening package linux-firmware-20230217-113.git83f1d778.el8.noarch.rpm
I’ve reported this however for the time being what you can do is to update rpm alone and then do the dnf update on all packages;
- dnf update rpm
After that is completed:
- dnf update
Hey @admin245734,
I’ve found a similar bug in this thread :
https://bugzilla.redhat.com/show_bug.cgi?id=1192524
Can you set skip_if_unavailable=True
and timeout=400
in etc/dnf/dnf.conf
and try again?
Additionally, can you paste the contents of your dnf conf?
Hi @admin245734,
Try adding the following lines to your /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
If it doesn’t work, try adding the following parameter to your update command:
- sudo yum update --nogpgcheck
Let me know how it goes,
Sergio Turpín
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.