Please help: how to relocate installed files paths into an RPM database

Matteo Pampolini matteo.pampolini at gmail.com
Fri Aug 7 10:13:22 UTC 2009


Hi again Phoebe,

sorry for the delay of this feedback.

Please excuse me but even reading many pages from the link you suggested,
things are still not clear to me,
moreover referred files seem to be related to an older version of RPM.

Anyway, if I need to update the RPM database telling it that all the
*already installed* packages should be
found now on path B instead of the original one A, I guess I have to pass
this information to the command
I have to use, of course. AFAIK, I can do such a thing only during
installation of a new package, with the
relocation option, which is not my case. Even if I rebuild the database,
maybe deleting some existing files,
how can I pass this kind of info?

Many thanks again in advance for your kind reply,

Matteo

On Wed, Jul 29, 2009 at 5:12 PM, <Phebe_Mertes at aotx.uscourts.gov> wrote:

> read the link and it shows you all the files that you may need to edit to
> post your new location. Just be aware that it may try to go back to default
> if you build again.
>
> Phebe Mertes
> SDSD Migration Support
> Office (210)-301-6271
> After Hours (210) 530-6252
>
> 7550 IH-10 West, Suite 1100
> San Antonio, TX   78229
>
>
>
>  From:       Matteo Pampolini <matteo.pampolini at gmail.com>
>
>   To:         General discussion about the RPM package manager <
> rpm-list at lists.rpm.org>
>
>  Date:       07/29/2009 10:10 AM
>
>  Subject:    Re: Please help: how to relocate installed files paths into an
> RPM      database
>
>  Sent by:    rpm-list-bounces at lists.rpm.org
>
>
>
>
>
>
> Hi Phoebe,
>
> thanks for your quick reply.
>
> I tried with --rebuilddb option before posting, but with no success, all
> files paths still refer
> to the old location, any other idea?
>
> Regards, Matteo
>
> On Wed, Jul 29, 2009 at 4:57 PM, <Phebe_Mertes at aotx.uscourts.gov> wrote:
>  Try googling     rpm --rebuilddb
>
>
> http://www.rpm.org/max-rpm/ch-rpm-miscellania.html#S1-RPM-MISCELLANIA-OTHER-OPTIONS
>
>
>  explains the files involved with rebuilding the database
>
>  Phebe Mertes
>  SDSD Migration Support
>  Office (210)-301-6271
>  After Hours (210) 530-6252
>
>  7550 IH-10 West, Suite 1100
>  San Antonio, TX   78229
>
>
>
>   From:       Matteo Pampolini <matteo.pampolini at gmail.com>
>
>   To:         rpm-list at lists.rpm.org
>
>   Date:       07/29/2009 09:38 AM
>
>   Subject:    Please help: how to relocate installed files paths into an
>  RPM    database
>
>   Sent by:    rpm-list-bounces at lists.rpm.org
>
>
>
>
>
>
>  Hello there,
>
>  my name is Matteo and I'm writing from Italy.
>
>  I have a (maybe stupid) question for which I hope you can give me an
>  answer,
>  I also made many searches on Google without success.
>
>  I have an RPM database in a non-standard location with many packages
>  installed
>  with the --relocate option. Now I need to move everything in a different
>  location, and
>  of course, if I try the --verify option it reports that all RPM-related
>  files are missing.
>
>  Is there a way to upgrade the database so that all the files paths
>  reflect
>  the new location?
>
>  Many thanks in advance for your answer,
>
>  Matteo
>  _______________________________________________
>  Rpm-list mailing list
>  Rpm-list at lists.rpm.org
>  http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>
>  _______________________________________________
>  Rpm-list mailing list
>  Rpm-list at lists.rpm.org
>  http://lists.rpm.org/mailman/listinfo/rpm-list
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090807/381aff15/attachment.htm>


More information about the Rpm-list mailing list