I migrated my core system from CentOS 7 to Rocky Linux 8.5. I did a clean install on new media and then pulled in my legacy data volumes. My core server is a KVM host and also hosts repos over my LAN for the various OS versions my KVM guest systems use. Overall, the migration was quite successful, but I do have a problem with the Cockpit feature that looked to be a good thing to use. The problem is with the Software Update function.
Software Update complains about pending update while there are none. When I try to apply all, I get this very odd complaint:
Applying updates failed
package atk-2.28.1-2.el7.x86_64 cannot be verified and repo media-2 is GPG enabled: /var/www/html/CentOS-7.8.2003/x86_64/Everything/Packages/atk-2.28.1-2.el7.x86_64.rpm could not be verified. /var/www/html/CentOS-7.8.2003/x86_64/Everything/Packages/atk-2.28.1-2.el7.x86_64.rpm:: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY: Header DSA signature: NOTFOUND: Header SHA1 digest: OK: V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY: DSA signature: NOTFOUND: MD5 digest: OK
So there are a bunch of problems here. None of my repos defined in /etc/yum.repos.d reference media-2 as a repo. What appears to have happened is that the system picked up on my local directory structure for the repos i serve to other systems and figured it would reference them for this Rocky Linux 8.5 system.
How can I stop this?
I cannot find any file that defines this as a repo. (I am assuming there are similar media and media-1 repo definitions somewhere that also need to be stamped out”