As I follow the tutorial for install mariadb on centos 8 (https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-centos-8) the dnf install command has repeatedly failed. The files download but the install fails and I think it’s because of an issue with the signature. I get the following back each time I run the dnf install:
error: /var/cache/dnf/appstream-670736f27949a722/packages/perl-DBI-1.641-4.module_el8+332+132e4365.x86_64.rpm: signature hdr data: BAD, no. of bytes(30020) out of range error: /var/cache/dnf/appstream-670736f27949a722/packages/perl-IO-Socket-SSL-2.066-4.module_el8+339+1ec643e0.noarch.rpm: signature hdr data: BAD, no. of bytes(11548) out of range error: /var/cache/dnf/appstream-670736f27949a722/packages/perl-Net-SSLeay-1.88-2.module_el8+339+1ec643e0.x86_64.rpm: signature hdr data: BAD, no. of bytes(28456) out of range Problem opening package perl-DBI-1.641-4.module_el8+332+132e4365.x86_64.rpm Problem opening package perl-IO-Socket-SSL-2.066-4.module_el8+339+1ec643e0.noarch.rpm Problem opening package perl-Net-SSLeay-1.88-2.module_el8+339+1ec643e0.x86_64.rpm The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: GPG check FAILED
I’ve done some searching but so far found nothing to help resolve the error. Any guidance would be greatly appreciated.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.