yum reinstall using non-identical packages with same EVR

Andre Robatino robatino at fedoraproject.org
Sat Feb 26 12:38:17 UTC 2011


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







More information about the test mailing list