Re: how to recreate /var/lib/rpm/Packages

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

 



On Wed, Aug 24, 2005 at 05:36:11PM -0400, Paul Nasrat wrote:
> On Wed, 2005-08-24 at 17:14 -0400, Igor Schein wrote:
> > Hi,
> > 
> > If file /var/lib/rpm/Packages was deleted by mistake ( and there's no
> > backup of it ), what is my best bet to make the machine functional
> > again?  I am using RPM version 4.4.1
> 
> On Fedora/RHEL check /var/log/rpmpkgs* for most recent log of installed.
> Collate rpms cp logfile to dir with rpms so it can act as manifest then
> repopulate the db eg:
> 
> rpm -Uvh --justdb --notriggers --noscripts rpmpkgs.1
> 
> Paul

Thanks for the tip.  The problem is that my rpms have come from many
places and I don't have the actual files any more for some of them.
What if I try to run anaconda upgrade ( in my case FC4 -> FC5T2), will
that take care of the problem? 

Igor

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux