Having both 5.2.1 and 6.0.0 installed libqwt_designer_plugin.so resides in : - 6.0.0 : /usr/lib64/qt4/plugins/designer6 - 5.2.1 : /usr/lib64/qt4/plugins/designer Trying to update 6.0.0 to 6.1.0 via emerge : >>> Messages generated by process 6485 on 2014-01-01 01:31:23 CET for package x11-libs/qwt-6.1.0: ERROR: preinst This package will overwrite one or more files that may belong to other packages (see list below).... Detected file collision(s): /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so Searching all installed packages for file collisions... Press Ctrl-C to Stop x11-libs/qwt-5.2.1:5::gentoo /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so Package 'x11-libs/qwt-6.1.0' NOT merged due to file collisions... Reproducible: Always
no collision here. ll /usr/lib64/qt4/plugins/designer/libqwt* /usr/lib64/qt4/plugins/designer/libqwt5_designer_plugin.so* /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so* It seems there is something wrong with your version 5 installation. Could you please try to reinstall this one?
(In reply to Justin Lecher from comment #1) > no collision here. Certainly because you do not get 5.2.1 installed! > It seems there is something wrong with your version 5 installation. You are certainly correct, while I would word things differently : Last 6 stable installation is not compatible with previous 5 stable installation. There is actually a collision between 5.2.1 and 6.1.0 in that 5.2.1 actually installs the designer plugin as libqwt_designer_plugin.so in /usr/lib64/qt4/plugins/designer while 6.1.0 wants to act identically. There was no collision between 5.2.1 and 6.0.0 because 6.0.0 was installing the designer plugin as libqwt_designer_plugin.so in /usr/lib64/qt4/plugins/designer6 There is actually no collision between last 6 stable and last 5 stable (5.2.3-r2) because 5.2.3-r2 now installs the designer plugin as libqwt5_designer_plugin.so So a simple workaround if one gets previous 6 stable and previous 5 stable installed together consists in FIRST updating 5 and THEN update 6. I don't request anything to be done specifically in portage, just maybe advertising this workaround to all users who get both slots installed and who will be presented both packages in the "wrong" order by portage.
(In reply to Eric F. GARIOUD from comment #2) > I don't request anything to be done specifically in portage, just maybe > advertising this workaround to all users who get both slots installed and > who will be presented both packages in the "wrong" order by portage. Oh we can do somehting. I will add a simple blocker to fix that.
+ 02 Jan 2014; Justin Lecher <jlec@gentoo.org> qwt-5.2.1.ebuild, + -qwt-5.2.3.ebuild, -qwt-5.2.3-r1.ebuild, -qwt-6.0.2.ebuild, + -qwt-6.0.2-r1.ebuild, -qwt-6.0.2-r2.ebuild, qwt-6.1.0.ebuild: + Add blocker to avoid file collision, #496714 +