You are not logged in.

#1 2024-05-19 17:35:11

apurplermixture
Member
Registered: 2012-07-09
Posts: 4

[SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

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

#2 2024-05-19 18:11:18

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,530
Website

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

apurplermixture wrote:

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

#3 2024-05-19 19:11:36

apurplermixture
Member
Registered: 2012-07-09
Posts: 4

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

WorMzy wrote:

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
WorMzy wrote:

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

#4 2024-05-19 19:24:48

Seacat17
Member
Registered: 2023-05-13
Posts: 59

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

Just had the same issue. Same solution, removed qqc2-desktop-style5 and now it works.


Born to lose

Offline

#5 2024-05-19 19:35:14

oldoc
Member
Registered: 2023-11-20
Posts: 2

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

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

#6 2024-05-19 19:48:34

zebulon
Member
Registered: 2008-10-20
Posts: 374

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

oldoc wrote:

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

#7 2024-05-19 19:55:41

brianstamper
Member
Registered: 2021-02-27
Posts: 15

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

oldoc wrote:

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

#8 2024-05-19 20:02:18

oldoc
Member
Registered: 2023-11-20
Posts: 2

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

After:

pacman -Rcc qqc2-desktop-style5

as suggested I was able to upgrade ...

Offline

#9 2024-05-19 22:17:13

OpusOne
Member
Registered: 2023-05-31
Posts: 142

Re: [SOLVED] qqc2-desktop-style and qqc2-desktop-style5 confict

Same thing here. smile

Offline

Board footer

Powered by FluxBB