Hello again Greg,<br><br>I tried your suggestion and it works, however, since it implies reinstalling all the packages from their RPM files, though in database only, is no so different from reinstalling them completely. If no standard solution is available, I was looking for a sort of hack such as a query to manipulate the database directly. I guess RPM development team should take this in consideration because it allows a better portability of every RPM-based installation.<br>
<br>Many thanks for your help,<br><br>Matteo<br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 5:30 PM,  <span dir="ltr">&lt;<a href="mailto:Greg_Swift@aotx.uscourts.gov">Greg_Swift@aotx.uscourts.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
&gt; sorry for the delay of this feedback.<br>
&gt;<br>
&gt; Please excuse me but even reading many pages from the link you<br>
&gt; suggested, things are still not clear to me,<br>
&gt; moreover referred files seem to be related to an older version of RPM.<br>
&gt;<br>
&gt; Anyway, if I need to update the RPM database telling it that all the<br>
&gt; *already installed* packages should be<br>
&gt; found now on path B instead of the original one A, I guess I have to<br>
&gt; pass this information to the command<br>
&gt; I have to use, of course. AFAIK, I can do such a thing only during<br>
&gt; installation of a new package, with the<br>
&gt; relocation option, which is not my case. Even if I rebuild the<br>
&gt; database, maybe deleting some existing files,<br>
&gt; how can I pass this kind of info?<br>
&gt;<br>
<br>
</div>If I remember correctly you installed the rpm in this manner:<br>
<br>
rpm -ivh &lt;package&gt;.rpm --relocate /original/path=/your/path<br>
<br>
The only way I can think to change the entries in your rpm database is to<br>
remove the package from the database, and re-install it, but just to the<br>
database.  like this:<br>
<br>
rpm --justdb -ev &lt;package&gt;<br>
rpm --justdb -ivh &lt;package&gt;.rpm --relocate /original/path=/your/new/path<br>
<br>
Whether or not that will actually work as you expect it to, I am unsure.<br>
Just make sure to backup your rpm database beforehand.<br>
<br>
Unless someone wise than I speaks up, I believe that is the only way to<br>
accomplish what you want without figuring out how to manually edit the rpm<br>
database without corrupting it.  And I don&#39;t know that anyone would<br>
recommend that.<br>
<br>
-greg<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</div></div></blockquote></div><br>