Re: FC7 - How to install yum from scratch



On Sun, 16 Sep 2007 14:59:28 +0000, Bill Gee typed this message:

How do I install yum from scratch on an FC7 system? It's a long and
sordid story ... Short version: I managed to corrupt my yum.repos.d
directory beyond repair. I thought I could remove and reinstall yum to
get it back. No such luck ... yum will not install from the .rpm files
on the FC7 DVD.

I did a "--nodeps" on rpm to force the install. When starting yum it
says that module yum is not present.

The yum wiki is worse than useless, and the updates directories for
various FC7 mirrors do not contain any usable rpm file.

What errors are you getting on your rpm -Uhv yum* install of yum?

if you haven't run it for a while run updatedb, then do a locate yum |
less or locate yum > yum.txt to see if it's still around.

Try the rpm -qa | grep yum for installed packages and remove them.

Then for the rpm -Uhv yum* note all of the missing dependencies and
install those dependent packages.
.



Relevant Pages

  • Re: Is there any way to force a yum install/update?
    ... This is the best way to install packages that are not yet in the ... repositories - get or make a binary rpm (from source rpm or maybe from ... binaries that were not known about by rpm and yum and built an empty ... When you install a RPM something by yum, it updates the RPM database. ...
    (Fedora)
  • Re: yum not available [Re:Fedora core 4 and MySQL problem]
    ... >> I did that but yum does not work on my setup, ... > rpm -q yum ... not able to either download or the rpm or install it. ... Connecting to ...
    (RedHat)
  • Re: fc4 yum update problems on two installations
    ... The database enry for the older package does not get removed, though it was overwritten by the new version. ... to remove the rpm entry only from the database. ... Using yum remove kernel xxx worked to get the latest kernel installed, ... yum install newerpackage ...
    (Fedora)
  • Re: Update problems!
    ... In a Fedora 7 system, ... the yum install will work. ... What puzzles me is that this key is missing from your rpm database. ...
    (Fedora)
  • Re: Is there any way to force a yum install/update?
    ... Download rpm you want to install. ... yum localinstall new.package.rpm ...
    (Fedora)