Tried to upgrade to Plasma 5 according to the guide at https://wiki.gentoo.org/wiki/KDE/Plasma_5_upgrade. At the Emerge phase, when I do emerge kde-plasma/plasma-meta, there are a lot of soft blocks that resolve automatically. However, it fails to install kde-frameworks/kfilemetadata-5.13.0 because of a file collision. Detected file collision(s): * * /usr/share/locale/da/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/nl/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/sv/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/es/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/zh_CN/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/zh_TW/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/it/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/uk/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/de/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/ja/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/fr/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/ca/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/fi/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/el/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/en_GB/LC_MESSAGES/kfilemetadata.mo * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * kde-apps/kde4-l10n-4.14.3:4::gentoo * /usr/share/locale/ca/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/da/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/de/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/el/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/en_GB/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/es/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/fi/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/fr/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/it/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/ja/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/nl/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/sv/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/uk/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/zh_CN/LC_MESSAGES/kfilemetadata.mo * /usr/share/locale/zh_TW/LC_MESSAGES/kfilemetadata.mo I think you need to do the block thing to kfilemetadata so that kde4-l10n is unmerged before the installation of kfilemetadata. I will try if unmerging kde4-l10n manually can resolve this issue. Reproducible: Always
Hmm... Portage claims that that package kde4-l10n isn't even installed... weird. Do I just have to delete these files manually then?
Those files portage was complaining about didn't even exist... I resolved the problem by emerging that package kfilemanager using the FEATURES="-collision-detect -protect-owned".
Sorry again - I think this was a file collision in the first place. When portage couldn't emerge that kfilemanager, it dropped some dependencies from the list but kept going and installed most of the plasma 5 - which involved unmerging the kde4-l10n at a later point. So by the time I checked, these files were indeed gone. But kde4-l10n should have been unmerged automatically at the earlier point, when it was kfilemanager's turn.
This was fixed in https://github.com/gentoo/gentoo/commit/c98da6b634b9aff8d12970a3a985fdaa79994263