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

Re: rpm rebuild



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/
Sorry, you are right !!!


If you point root to the correct spot, it assumes the rpm db will be at var/lib/rpm within the --root.

[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 york ac uk
==========================================================================

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