yum reinstall using non-identical packages with same EVR

Andre Robatino robatino at fedoraproject.org
Sun Feb 27 07:54:56 UTC 2011


seth vidal <skvidal <at> fedoraproject.org> writes:

> Just to make sure I understand you. You're changing the packages to have
> different requirements and you're NOT changing the evr of the pkg?
> Really? Don't do that.
>
> but even so - what dep errors are you getting? Can you include them?

Well, I know it looks odd, but I'm not trying to be perverse, on the
contrary. I needed to generate F14 deltarpm binary rpms that use the new
compression, but wanted to use no more than necessary from F15. It's
necessary to use F15's xz packages, obviously, but it turns out that the
F14 deltarpm src package works as long as rpmbuild is run while the F15
xz packages are installed. The "old" and "new" in my directory names
refer to old and new compression, so "deltarpm.old" and "xz.old" contain
the standard F14 binaries. If I take out the first "run" from my script,
here is the output:

[root at compaq-pc RPMS]# yum shell compression_downgrade.txt
Loaded plugins: langpacks, presto, refresh-packagekit, security
Adding en_US to language list
Setting up Yum Shell
Setting up Reinstall Process
Examining deltarpm.old/deltaiso-3.6-0.6.20110223git.fc14.x86_64.rpm:
deltaiso-3.6-0.6.20110223git.fc14.x86_64
Examining deltarpm.old/deltarpm-3.6-0.6.20110223git.fc14.x86_64.rpm:
deltarpm-3.6-0.6.20110223git.fc14.x86_64
Examining
deltarpm.old/python-deltarpm-3.6-0.6.20110223git.fc14.x86_64.rpm:
python-deltarpm-3.6-0.6.20110223git.fc14.x86_64
Setting up Remove Process
Setting up Downgrade Process
Examining xz.old/xz-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm:
xz-4.999.9-0.2.beta.20100401git.fc14.x86_64
Examining xz.old/xz-devel-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm:
xz-devel-4.999.9-0.2.beta.20100401git.fc14.x86_64
Examining xz.old/xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm:
xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64
--> Running transaction check
---> Package deltaiso.x86_64 0:3.6-0.6.20110223git.fc14 set to be
reinstalled
---> Package deltarpm.x86_64 0:3.6-0.6.20110223git.fc14 set to be
reinstalled
---> Package python-deltarpm.x86_64 0:3.6-0.6.20110223git.fc14 set to be
reinstalled
---> Package xz.x86_64 0:4.999.9-0.2.beta.20100401git.fc14 set to be
downgraded
---> Package xz.x86_64 0:5.0.1-2.fc14 set to be erased
---> Package xz-compat-libs.x86_64 0:5.0.1-2.fc14 set to be erased
---> Package xz-devel.x86_64 0:4.999.9-0.2.beta.20100401git.fc14 set to
be downgraded
---> Package xz-devel.x86_64 0:5.0.1-2.fc14 set to be erased
---> Package xz-libs.x86_64 0:4.999.9-0.2.beta.20100401git.fc14 set to
be downgraded
---> Package xz-libs.x86_64 0:5.0.1-2.fc14 set to be erased
--> Finished Dependency Resolution
Error: Package: deltaiso-3.6-0.6.20110223git.fc14.x86_64
(@/deltaiso-3.6-0.6.20110223git.fc14.x86_64)
    Requires: liblzma.so.5()(64bit)
    Removing: xz-libs-5.0.1-2.fc14.x86_64 (@/xz-libs-5.0.1-2.fc14.x86_64)
        liblzma.so.5()(64bit)
    Downgraded By: xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64
(/xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64)
        Not found
Error: Package: python-deltarpm-3.6-0.6.20110223git.fc14.x86_64
(@/python-deltarpm-3.6-0.6.20110223git.fc14.x86_64)
    Requires: liblzma.so.5()(64bit)
    Removing: xz-libs-5.0.1-2.fc14.x86_64 (@/xz-libs-5.0.1-2.fc14.x86_64)
        liblzma.so.5()(64bit)
    Downgraded By: xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64
(/xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64)
        Not found
Error: Package: deltarpm-3.6-0.6.20110223git.fc14.x86_64
(@/deltarpm-3.6-0.6.20110223git.fc14.x86_64)
    Requires: liblzma.so.5()(64bit)
    Removing: xz-libs-5.0.1-2.fc14.x86_64 (@/xz-libs-5.0.1-2.fc14.x86_64)
        liblzma.so.5()(64bit)
    Downgraded By: xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64
(/xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64)
        Not found
Leaving Shell
[root at compaq-pc RPMS]#

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110227/1d015544/attachment.bin 


More information about the test mailing list