yum db lossage

Paul Howarth paul at city-fan.org
Mon Jul 10 15:42:35 UTC 2006


Wolfgang S. Rupprecht wrote:
>> How many packages does this list:
>> $ rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"
>>
> 
>     [root at 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 at 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.

Sounds like a good plan.

Paul.




More information about the users mailing list