Re: Recover rpm DB corrupted by disk failure?

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



On Mon, Feb 23, 2009 at 9:10 AM, Akemi Yagi <amyagi@xxxxxxxxx> wrote:
> Check the contents of /var/log/rpmpkgs (and .1 .2 etc).
> Get all packages listed there into a single directory.
> cd to that directory and issue the command:
>
> rpm -ivh --noscripts --notriggers --justdb *.rpm
>
> to restore your /var/lib/rpm/Packages file

Are there any files I should remove or zero out or the like before
beginning this process?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux