You are not logged in.
My understanding is that qqc2-desktop-style5 replaces the package qqc2-desktop-style. I'm having some trouble with the transition:
$ sudo pacman -S qqc2-desktop-style5
resolving dependencies...
looking for conflicting packages...
Packages (1) qqc2-desktop-style5-5.116.0-1
Total Installed Size: 0.34 MiB
Net Upgrade Size: 0.02 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [------------------------------------------------] 100%
(1/1) checking package integrity [------------------------------------------------] 100%
(1/1) loading package files [------------------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
qqc2-desktop-style5: /usr/share/locale/ca/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/ca@valencia/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/cs/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/de/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/es/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/fr/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/it/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/nl/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/sl/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/tr/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/uk/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/zh_CN/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/zh_TW/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
Errors occurred, no packages were upgraded.
I attempted to resolve this with
sudo pacman -S --overwrite /usr/share/locale/*/LC_MESSAGES/qqc2desktopstyle_qt.qm qqc2-desktop-style5
but it's clear I don't really understand how to use --overwrite.
Last edited by apurplermixture (2024-05-20 01:08:06)
Offline
My understanding is that qqc2-desktop-style5 replaces the package qqc2-desktop-style.
I'm not sure how you came to that conclusion. It looks like qqc2-desktop-style5 is just the qt5 version of qqc2-desktop-style (qt6), but before the qt6 version was packaged, the qt5 version was called 'qqc2-desktop-style', so when the qt6 version was packaged, the qt5 variant was renamed and made to conflict with the older versions of the old package (<5.111).
Presumably you only need one or the other, but as it stands you can't have both installed at the same time as they have conflicting files. Using --overwrite in this situation is a Bad Idea™, as you'll end up with two packages thinking they own the conflicting files.
Open a bug report against the qqc2-desktop-style5 package if you think you should be able to have both installed at once.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I'm not sure how you came to that conclusion.
I guess I misinterpreted the package page, which says
Replaces: qqc2-desktop-style<5.111
Presumably you only need one or the other, but as it stands you can't have both installed at the same time as they have conflicting files. Using --overwrite in this situation is a Bad Idea™, as you'll end up with two packages thinking they own the conflicting files.
Thanks, that actually helps a ton. I assume I ended up with both versions on my system during qt5 to qt6 transition and they've coexisted until now. Since they were both installed without me having taken action to specifically do so, I assumed I needed them both or that some transition was currently occurring.
Resolved by removing qqc2-desktop-style5, which no other packages depended on.
Last edited by apurplermixture (2024-05-19 19:13:05)
Offline
Just had the same issue. Same solution, removed qqc2-desktop-style5 and now it works.
Born to lose
Offline
Seacat17, you mean exclude from install qqc2-desktop-style5?
This is my output after today upgrade attempt:
:: Proceed with installation? [Y/n]
(72/72) checking keys in keyring [#######################################] 100%
(72/72) checking package integrity [#######################################] 100%
(72/72) loading package files [#######################################] 100%
(72/72) checking for file conflicts [#######################################] 100%
error: failed to commit transaction (conflicting files)
qqc2-desktop-style5: /usr/share/locale/ca/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/ca@valencia/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/cs/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/de/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/es/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/fr/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/it/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/nl/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/sl/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/tr/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/uk/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/zh_CN/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
qqc2-desktop-style5: /usr/share/locale/zh_TW/LC_MESSAGES/qqc2desktopstyle_qt.qm exists in filesystem (owned by qqc2-desktop-style)
Errors occurred, no packages were upgraded.
-> error installing repo packages
Last edited by oldoc (2024-05-19 19:52:42)
Offline
Seacat17, you mean exclude from install qqc2-desktop-style5?
I think he really meant removing the package first, using
pacman -Rcc qqc2-desktop-style5
. It also worked for me, since it had no dependencies.
Offline
Seacat17, you mean exclude from install qqc2-desktop-style5?
Apparently a lot of us are running into this if trying to update today. I interpreted the suggestion above as to actually remove it, which I did by
sudo pacman -Rs qqc2-desktop-style5
And then proceeded to do a normal update which ran without issue. (Also I'm not just blindly following the removal suggestion, the explanation about '5' vs 'not 5' made sense to me, I pretty much had the same experience and thought process as the OP.)
Offline
After:
pacman -Rcc qqc2-desktop-style5
as suggested I was able to upgrade ...
Offline
Same thing here.
Offline