Re: yum db lossage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth <paul@xxxxxxxxxxxx> writes:
> Wolfgang S. Rupprecht wrote:
>>> $ rpm -qi fedora-release
>>      [root@arbol ~]# rpm -qi fedora-release
>>      package fedora-release is not installed
>> How do I recreate that?
>
> # rpm -Uvh --replacefiles --replacepkgs \
> http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm

    [root@arbol ~]# rpm -Uvh --replacefiles --replacepkgs http://download.fedora.redhat.com/pub/fedora/linux/core/5/x86_64/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
    Retrieving http://download.fedora.redhat.com/pub/fedora/linux/core/5/x86_64/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
    error: Failed dependencies:
            /bin/sh is needed by fedora-release-5-5.noarch

After I threw in a "--nodeps" it seemed to be happy.


> How many packages does this list:
> $ rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"
>

    [root@arbol ~]# rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | wc
        661     661   19001

I seem to be missing half of the installed rpms.  This machine's
fraternal twin has twice that number.  (While I might have missed
installing one or two packages on one or the other machine, this
difference is quite high).

    [root@ancho ~]# rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | wc
    1138    1138   33205

Barring any other good ideas, I'm tempted for finish populating the
database from the extra entries on the other machine and running some
checking script to see if the RPMs were really installed.  Sigh.

-wolfgang
-- 
Wolfgang S. Rupprecht                http://www.wsrcc.com/wolfgang/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux