[Rpm-maint] Moving packages between environments using rpm

devzero2000 pinto.elia at gmail.com
Sat Aug 16 17:10:45 UTC 2008


On Sat, Aug 16, 2008 at 12:51 PM, Tom Szczesny <tavmem at gmail.com> wrote:

> 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.)
>
> 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.
>
> 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.
>
> 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.
>
> I am not sure to have undestood your problem, but rpmrebuild do exactly
what you have asked, it rebuild the source/binary rpm from
the rpmdb infos. From this you can extract the files with rpmcpio.

hth

>
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-maint/attachments/20080816/a4535dbf/attachment-0001.htm 


More information about the Rpm-maint mailing list