You are not logged in.

#1 2025-08-18 14:55:34

mtubarch
Member
From: Italy
Registered: 2023-02-16
Posts: 46

[SOLVED] File conflict between kolourpaint and kdelibs4support

Hi,
while upgrading the system (with KDE Plasma) I got this error:

checking for file conflicts
error: failed to commit transaction (conflicting files)
kolourpaint: /etc/xdg/colors/40.colors exists in filesystem (owned by kdelibs4support)
kolourpaint: /etc/xdg/colors/Oxygen.colors exists in filesystem (owned by kdelibs4support)
kolourpaint: /etc/xdg/colors/Rainbow.colors exists in filesystem (owned by kdelibs4support)
kolourpaint: /etc/xdg/colors/Royal.colors exists in filesystem (owned by kdelibs4support)
kolourpaint: /etc/xdg/colors/Web.colors exists in filesystem (owned by kdelibs4support)
Errors occurred, no packages were upgraded.

I was about to overwrite the files with:

sudo pacman -Syu --overwrite /etc/xdg/colors/*.colors

but I stopped because I read this section in the Wiki:
https://wiki.archlinux.org/title/System … n_commands

What’s the recommended way to solve this conflict?
Thanks a lot!

Last edited by mtubarch (2025-08-18 15:13:27)

Offline

#2 2025-08-18 14:59:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED] File conflict between kolourpaint and kdelibs4support

kdelibs4support isn't in the repos, do you still need it?

--overwrite is completely the WRONG way of doing this. The file would be owned by both packages, with contents based on the last one installed and breaking the other if one is removed.

Online

#3 2025-08-18 15:12:11

mtubarch
Member
From: Italy
Registered: 2023-02-16
Posts: 46

Re: [SOLVED] File conflict between kolourpaint and kdelibs4support

I've removed kdelibs4support (and consequently khotkeys and kopete). Issue solved, thank you very much.

Offline

Board footer

Powered by FluxBB