rpm rebuild

Patrick Dupre pd520 at york.ac.uk
Tue Jan 13 22:17:59 UTC 2009


On Tue, 13 Jan 2009, David Timms wrote:

> Patrick Dupre wrote:
> ...
>> It looks like that the root directory is not taken properly, so I did:
>> rpm --rebuilddb --dbpath /mnt/linux/var/lib/rpm
> In the past, booting from a rescue CD I have used:
> # rpm --rebuilddb --root /mnt/linux/
>
> If you point root to the correct spot, it assumes the rpm db will be at 
> var/lib/rpm within the --root.

No, I did it and the files which have been recreated are in /var/lib/rpm

>
> [are you root ? tried with selinux from the rescue system disabled ?]
> From the rescue system:
> rpm -Va --root /mnt/linux/ rpm\* glib\*
> might give further hints.
>
> DaveT.
>
>

-- 
---
==========================================================================
  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