Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559740 - File collision for kde-frameworks/kfilemetadata-5.13.0 and kde-apps/kde4-l10n-4.14.3:4
Summary: File collision for kde-frameworks/kfilemetadata-5.13.0 and kde-apps/kde4-l10n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-06 07:23 UTC by gentoo
Modified: 2015-09-14 13:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2015-09-06 07:23:40 UTC
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
Comment 1 gentoo 2015-09-06 07:26:49 UTC
Hmm... Portage claims that that package kde4-l10n isn't even installed... weird.

Do I just have to delete these files manually then?
Comment 2 gentoo 2015-09-06 07:31:27 UTC
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".
Comment 3 gentoo 2015-09-06 07:33:42 UTC
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.
Comment 4 Andreas Sturmlechner gentoo-dev 2015-09-14 10:25:37 UTC
This was fixed in https://github.com/gentoo/gentoo/commit/c98da6b634b9aff8d12970a3a985fdaa79994263