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

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

 



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

_______________________________________________
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