[Yum] complete reinstall of yum - is rpm OK ?

David Timms dtimms at iinet.net.au
Thu Jan 31 10:52:50 UTC 2008


maxwell wrote:
> I am using FC 6
> I  just did  a  build from source (thats what  i  think it is called)
> followed the instructions in the "README"   and "INSTALL"
> did make and make install  - everything went well .
> problem is  i  so much personalised this FC6  ,and i have so much info 
> and other modifications that
> i  do mot want to  upgrade to FC-8  from disk(i have them) , rather do 
> it the yum way  , but yum cannot work.
Does rpm still work ?

You could check that the various rpms are installed and OK:
# rpm -q python-sqlite
# rpm -V python-sqlite
   {verifies the package: no output is good ;) }
and so forth for each package that is listed as a provider for yum 
{obviously my listing is from F8}

# yum deplist yum
Loading "downloadonly" plugin
Loading "skip-broken" plugin
Finding dependencies:
package: yum.noarch 3.2.7-1.fc8
   dependency: config(yum) = 3.2.7-1.fc8
    provider: yum.noarch 3.2.7-1.fc8
   dependency: python-sqlite
    provider: python.i386 2.5.1-15.fc8
   dependency: urlgrabber
    provider: python-urlgrabber.noarch 3.0.0-3.fc8
   dependency: /usr/bin/python
    provider: python.i386 2.5.1-15.fc8
   dependency: rpm-python
    provider: rpm-python.i386 4.4.2.2-3.fc8
    provider: rpm-python.i386 4.4.2.2-7.fc8
   dependency: rpm >= 4.4.2
    provider: rpm.i386 4.4.2.2-3.fc8
    provider: rpm.i386 4.4.2.2-7.fc8
   dependency: yum-metadata-parser >= 1.1.0
    provider: yum-metadata-parser.i386 1.1.2-1.fc8
   dependency: python(abi) = 2.5
    provider: python.i386 2.5.1-15.fc8
   dependency: python >= 2.4
    provider: python.i386 2.5.1-15.fc8
   dependency: python-iniparse
    provider: python-iniparse.noarch 0.2.2-1.fc8
    provider: python-iniparse.noarch 0.2.3-3.fc8
package: yum.noarch 3.2.8-2.fc8
   dependency: yum-metadata-parser >= 1.1.0
    provider: yum-metadata-parser.i386 1.1.2-1.fc8
   dependency: python >= 2.4
    provider: python.i386 2.5.1-15.fc8
   dependency: urlgrabber
    provider: python-urlgrabber.noarch 3.0.0-3.fc8
   dependency: /usr/bin/python
    provider: python.i386 2.5.1-15.fc8
   dependency: rpm-python
    provider: rpm-python.i386 4.4.2.2-3.fc8
    provider: rpm-python.i386 4.4.2.2-7.fc8
   dependency: rpm >= 4.4.2
    provider: rpm.i386 4.4.2.2-3.fc8
    provider: rpm.i386 4.4.2.2-7.fc8
   dependency: python(abi) = 2.5
    provider: python.i386 2.5.1-15.fc8
   dependency: python-sqlite
    provider: python.i386 2.5.1-15.fc8
   dependency: config(yum) = 3.2.8-2.fc8
    provider: yum.noarch 3.2.8-2.fc8
   dependency: python-iniparse
    provider: python-iniparse.noarch 0.2.2-1.fc8
    provider: python-iniparse.noarch 0.2.3-3.fc8

Manually dl and install any rpms that have a problem or are missing, 
finally adding yum.

DaveT.



More information about the Yum mailing list