[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    Re: [Cooker] Small question about recovering from rpmdb
From:       Thierry Vignaud <tvignaud () mandrakesoft ! com>
Date:       2003-05-16 12:37:46
[Download RAW message or body]

Gary Greene <greeneg@student.gvsu.edu> writes:

> OK. I've got a machine that has a serious problem, the rpmdb is
> corrupted bad.  I've tried doing a rpm --rebuilddb, but no luck at
> all. Any ideas how I could respawn the db? I'll admit that I really
> can't see any way around this other than reinstalling, but I really
> am not looking forward to it.

get back the list of rpm through rpm -qa or nightly builded
/var/log/rpmpkgs, then recreate the rpmdb:
rpm --initdb
rpm --justdb $(</where/is/the/file/listing/all/needed/rpms)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic