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/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux