These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to reconstruct yum.repos.d ? on the new forum.
Hi,
Long story short, i messed up repos when i was super sleepy. I am not sure why i did but i executed rpm --rebuilddb
command and yum started to fail. After lots of trying things, i deleted yum.repos.d and executed yum clean all
and now there is no repo recorded.
When i try to add repo, getting this error:
[root@server ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
error: /var/tmp/rpm-tmp.KiX8Tm: Header V3 RSA/SHA256 Signature, key ID 0608b895: BAD
error: /var/tmp/rpm-tmp.KiX8Tm cannot be installed
How can i fix this? Thanks for your time.
(Btw, i have to reinstall centos and virtualmin repos too which i need to know how too)