<div dir="ltr">Either I was not clear in the problem statement ... or I don't understand the solution that you recommend.<br><br>I have reviewed the documentation on the rpmbuild command. It appears that I need to apply the rpmbuild command to a SPECFILE or a TARBALL or a SOURCEPKG. I have none of these.<br>
<br>To restate the problem another way: I have a binary package 'foo-version-x' that has already been installed on a machine-1 some time ago (automatically by the Fedora Package Manger). To my knowlege, the actual rpm package for 'foo-version-x' was not saved anywhere (unless it is in the rpm database on machine-1). Binary 'foo-version-x' is no longer available for automatic installation from the Fedora Package Manager. I have binary 'foo-version-y' that has been installed on machine-2 at some later date (also automatically using the Fedora Package Manager). 'foo-version-y' may still be available (or maybe only 'foo-version-z' is now available).<br>
<br>I wish to uninstall 'foo-version-y' from machine-2 and install the earlier 'foo-version-x' on machine-2.<br><br>If rpmbuild can be used to extract the binary 'foo-version-x' 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? As far as I know, I do not have a SPECFILE, TARBALL or SOURCEPKG for 'foo-version-x' 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"><<a href="mailto:pinto.elia@gmail.com">pinto.elia@gmail.com</a>></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"><<a href="mailto:tavmem@gmail.com" target="_blank">tavmem@gmail.com</a>></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. The package was working in 4 environments (F8/x86_64, F7/x86_64, F8/i686 and F7/i686. aplus-fsf began having problems in 3 environments (F7/x86_64, F8/i686 and F7/i686) but continued to work in F8/x86_64. No changes had been made to the aplus-fsf package in any of the environments, but several other packages had been updated. (As an aside, updates to the NetworkManager package had been received but had failed to install in F8/x86_64 where aplus-fsf is still working.)</p>
<p>I created new partitions and did fresh installs of F9/x86_64 and F9/i686: aplus-fsf did not work in either one. I created a new partition and did a fresh install of F8/x86_64: aplus-fsf does not work there. 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. 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? I wish to 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>