Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma powerdevil and plasma-workspace conflict
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 251
Location: Arkansas

PostPosted: Sun Jan 12, 2025 3:08 am    Post subject: Plasma powerdevil and plasma-workspace conflict Reply with quote

I'm trying to update plasma and I can't get past this final conflict. It's trying to merge powerdevil, but it runs into files from plasma-workspace.

Code:
>>> Installing (623 of 625) kde-plasma/powerdevil-6.2.4::gentoo
* checking 68 files for package collisions
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at https://bugs.gentoo.org/ unless you report exactly
* which two packages install the same file(s). See
* https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
* to solve the problem. And once again, please do NOT file a bug report
* unless you have completely understood the above message.

* Detected file collision(s):

*      /usr/share/metainfo/org.kde.plasma.battery.appdata.xml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/metadata.json
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerProfileItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/main.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/BatteryItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PopupDialog.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerManagementItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/InhibitionHint.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/config/main.xml

* Searching all installed packages for file collisions...

* Press Ctrl-C to Stop

* kde-plasma/plasma-workspace-5.27.11.1-r1:5::gentoo
*      /usr/share/metainfo/org.kde.plasma.battery.appdata.xml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/config/main.xml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/BatteryItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/InhibitionHint.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PopupDialog.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerManagementItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerProfileItem.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/main.qml
*      /usr/share/plasma/plasmoids/org.kde.plasma.battery/metadata.json

* Package 'kde-plasma/powerdevil-6.2.4' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.

_________________
Greg
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 454

PostPosted: Sun Jan 12, 2025 3:57 am    Post subject: Reply with quote

It looks like those files now belong to a different package in KDE Plasma 6 than they were in KDE Plasma 5. They were previously owned and installed by kde-plasma/plasma-workspace-5.27.11.1-r1 but will now provided by kde-plasma/powerdevil-6.2.4. They will be overwritten with the updated versions. If that is acceptable to you, which it appears that it should be you can try:
Code:
FEATURES="-collision-detect -protect-owned" emerge =kde-plasma/powerdevil-6.2.4

to ignore the collisions and allow the packages to install the newer file versions. The old plasma-workspace will be removed on depclean and only powerdevil will own or provide those files moving forward.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1979

PostPosted: Sun Jan 12, 2025 4:09 am    Post subject: Reply with quote

rab0171610 wrote:
Code:
FEATURES="-collision-detect -protect-owned" emerge =kde-plasma/powerdevil-6.2.4

Please don't do this. It promotes a bad habit.

Instead, the OP should resync to get the updated powerdevil 6.4.2-r1 published a month ago which will avoid this issue.
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 454

PostPosted: Sun Jan 12, 2025 5:19 am    Post subject: Reply with quote

grknight wrote:

Please don't do this. It promotes a bad habit.

Instead, the OP should resync to get the updated powerdevil 6.4.2-r1 published a month ago which will avoid this issue.

Thank you for pointing that out. I assumed OP (and others) would only do updates immediately after a sync operation or VERY recent sync. I always do that for over 20 years now and it never occurred to me that others might not do the same.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum