On Thursday 15 November 2012, Carlos E. R. wrote:
On 2012-11-15 15:59, Ruediger Meier wrote:
Hi,
even I've noticed that zypper seems to install with "rpm --force". This means that it does not abort if 2 packages have conflicting files and this results in having random files installed. How could I avoid that?
I think you are mistaken. That conflict is detected before you press Y to go on with zypper propossal.
-- Cheers / Saludos,
Carlos E. R. (from 11.4 x86_64 "Celadon" (Minas Tirith))
I have two conflicting packages here. rpm aborts with an error: ------- zappa:/tmp # rpm -Uvh libquickfix10-1.12.4-17.1.x86_64.rpm quickfix-1.12.4-0.rudi.6.x86_64.rpm warning: libquickfix10-1.12.4-17.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID b611872d: NOKEY Preparing... ########################################### [100%] file /usr/lib64/libquickfix.so.10.0.0 conflicts between attempted installs of libquickfix10-1.12.4-17.1.x86_64 and quickfix-1.12.4-0.rudi.6.x86_64 -------------- while zypper just installs it without any warning: ---------------- zappa:/tmp # zypper in libquickfix10-1.12.4-17.1.x86_64.rpm quickfix-1.12.4-0.rudi.6.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: libquickfix10 quickfix 2 new packages to install. Overall download size: 3.1 MiB. After the operation, additional 26.8 MiB will be used. Continue? [y/n/?] (y): y Retrieving package quickfix-1.12.4-0.rudi.6.x86_64 (1/2), 2.7 MiB (24.9 MiB unpacked) Retrieving package libquickfix10-1.12.4-17.1.x86_64 (2/2), 370.0 KiB (1.9 MiB unpacked) Retrieving package quickfix-1.12.4-0.rudi.6.x86_64 (1/2), 2.7 MiB (24.9 MiB unpacked) Installing: quickfix-1.12.4-0.rudi.6 [done] Retrieving package libquickfix10-1.12.4-17.1.x86_64 (2/2), 370.0 KiB (1.9 MiB unpacked) Installing: libquickfix10-1.12.4-17.1 [done] ---------------- Now both seem to be installed: zappa:/tmp # rpm -qa |grep quickfix libquickfix10-1.12.4-17.1.x86_64 quickfix-1.12.4-0.rudi.6.x86_64 But this is of course not really true. BTW I find it strange that even rpm --verify does not notice the oddness. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org