<div dir="ltr">Either I was not clear in the problem statement&nbsp; ... or I don&#39;t understand the solution that you recommend.<br><br>I have reviewed the documentation on the rpmbuild command.&nbsp; It appears that I need to apply the rpmbuild command to a SPECFILE or a TARBALL or a SOURCEPKG.&nbsp;&nbsp; I have none of these.<br>
<br>To restate the problem another way:&nbsp; I have a binary package &#39;foo-version-x&#39; that has already been installed on a machine-1 some time ago (automatically by the Fedora Package Manger).&nbsp; To my knowlege, the actual rpm package for &#39;foo-version-x&#39; was not saved anywhere (unless it is in the rpm database on machine-1).&nbsp; Binary &#39;foo-version-x&#39; is no longer available for automatic installation from the Fedora Package Manager.&nbsp; I have binary &#39;foo-version-y&#39; that has been installed on machine-2 at some later date (also automatically using the Fedora Package Manager).&nbsp;&nbsp; &#39;foo-version-y&#39; may still be available (or maybe only &#39;foo-version-z&#39; is now available).<br>
&nbsp;<br>I wish to uninstall &#39;foo-version-y&#39; from machine-2 and install the earlier &#39;foo-version-x&#39; on machine-2.<br><br>If rpmbuild can be used to extract the binary &#39;foo-version-x&#39; from machine-1 in such a form that it can be installed on machine-2, what is the command syntax that I would use on machine-1 to perform this extract?&nbsp; As far as I know, I do not have a SPECFILE, TARBALL or SOURCEPKG for &#39;foo-version-x&#39; on machine 1 (unless it is stored somewhere in the rpm database).<br>
<br><div class="gmail_quote">On Sat, Aug 16, 2008 at 1:10 PM, devzero2000 <span dir="ltr">&lt;<a href="mailto:pinto.elia@gmail.com">pinto.elia@gmail.com</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 dir="ltr"><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, Aug 16, 2008 at 12:51 PM, Tom Szczesny <span dir="ltr">&lt;<a href="mailto:tavmem@gmail.com" target="_blank">tavmem@gmail.com</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 dir="ltr"><p>I am having a problem with the aplus-fsf package in Fedora.&nbsp; The package was working in 4 environments (F8/x86_64, F7/x86_64, F8/i686 and F7/i686.&nbsp;&nbsp;aplus-fsf began having problems in 3 environments (F7/x86_64, F8/i686 and F7/i686) but continued to work in&nbsp;F8/x86_64.&nbsp; No changes had been made to the aplus-fsf package in any of the environments, but several other packages had been updated.&nbsp;&nbsp;(As an aside, updates to the NetworkManager package had been received but had failed to install in&nbsp;F8/x86_64&nbsp;where aplus-fsf is still working.)</p>



<p>I created&nbsp;new partitions and did fresh installs of F9/x86_64 and F9/i686:&nbsp; aplus-fsf did not work in either one.&nbsp;&nbsp; I created a new partition and did a fresh install of F8/x86_64:&nbsp; aplus-fsf does not work there.&nbsp; I now have two F8/x86_64 environments on the same machine, one in which aplus-fsf works, and one in which it does not.</p>



<p>I have identified 17 packages that have different versions in the two environments.&nbsp; I would like to take the package versions from the working environment and install them in the problem environment.</p>
<p>Is there some RPM command that will extract a package from the rpm data base in the working environment to a file that can be transferred to the problem environment as a replacement?&nbsp;&nbsp;I&nbsp;wish to&nbsp;do this package by package to check if there is a package/version that is affecting aplus-fsf.</p>



<p></p></div></blockquote></div><div>I am not sure to have undestood your problem, but rpmrebuild do exactly what you have asked, it rebuild the source/binary rpm from<br>the rpmdb infos. From this you can extract the files with rpmcpio.<br>

<br>hth<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org" target="_blank">Rpm-maint@lists.rpm.org</a><br>
<a href="https://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">https://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>