yum reinstall using non-identical packages with same EVR

seth vidal skvidal at fedoraproject.org
Sat Feb 26 23:01:25 UTC 2011


On Sat, 2011-02-26 at 12:38 +0000, Andre Robatino wrote:
> Starting with the current F14 deltarpm src rpm, I used rpmbuild to build binary
> rpms that use the new F15 xz compression. These have the same EVR as the
> standard F14 binary rpms but require liblzma.so.5 instead of liblzma.so.0. In a
> yum shell transaction which includes the reinstall command to switch from the
> liblzma.so.5 packages back to the standard liblzma.so.0 ones, I get dependency
> errors stating that the deltarpm packages depend on liblzma.so.5, which suggest
> that yum is falsely assuming that the packages I'm reinstalling have the same
> dependencies as the existing ones. Is this in fact what yum reinstall does? Here
> are the commands. Note the extra "run" which avoids the errors but which I think
> shouldn't be necessary.
> 
> reinstall deltarpm.old/deltaiso-3.6-0.6.20110223git.fc14.x86_64.rpm
> deltarpm.old/deltarpm-3.6-0.6.20110223git.fc14.x86_64.rpm
> deltarpm.old/python-deltarpm-3.6-0.6.20110223git.fc14.x86_64.rpm
> run
> remove xz-compat-libs
> downgrade xz.old/xz-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm
> xz.old/xz-devel-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm
> xz.old/xz-libs-4.999.9-0.2.beta.20100401git.fc14.x86_64.rpm
> run
> exit

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?

-sv




More information about the test mailing list