1

how to bring yum to the previous stage? when your rpm db is deleted

view story
linux-howto

http://unix.stackexchange.com – I did a stupid thing i deleted all my rpm data by doing rm -rf /var/lib/rpm/* #and then rebuild the db (of course no point as all data is gone) rpm --rebuilddb I know i should have done 'rm -rf /var/lib/rpm/__*' and the 'rpm --rebuilddb' And i got this error while trying yum update command Could not parse metalink https://mirrors.fedoraproject.org /metalink?repo=fedora-$releasever&arch=i386 error was No repomd file Error: File /var/cache/yum/i386/$releasever/fedora/metalink.xml does not exist I found that i didn't even have the /var/cache/yum/i386 folder after the previous operat (HowTos)