database mess up

Patrick Dupre pd520 at york.ac.uk
Thu Jan 22 00:53:38 UTC 2009


On Wed, 21 Jan 2009, Rick Stevens wrote:

> Patrick Dupre wrote:
>> Hello,
>> 
>> For a reason that I ignore my database is totallt mess up.
>> rpm --rebuilddb only rebuild iy partially.
>> The packages are installed, but rpm --rebuilddb does not see them.
>> How can I recover them without resintalling them manually ?
>
> As root:
>
> 	# cd /var/lib/rpm
> 	# rm -f __db.* (that's two underscores before the "db" bit)
> 	# rpm --rebuilddb
I did it.
>

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the fedora-list mailing list