Error during pacman update. How to solve?

I tried to run a pacman update this morning and I keep experiencing this error that I’ve not seen before. Anyone know how to solve this?

[hugoross@Arch ~]$ sudo pacman -Syy
[sudo] password for hugoross: 
:: Synchronizing package databases...
 endeavouros                                           16.1 KiB  27.9 KiB/s 00:01 [----------------------------------------------] 100%
 core                                                 121.6 KiB  1520 KiB/s 00:00 [----------------------------------------------] 100%
 extra                                                  7.8 MiB  36.0 MiB/s 00:00 [----------------------------------------------] 100%
 multilib                                             138.7 KiB  1801 KiB/s 00:00 [----------------------------------------------] 100%
[hugoross@Arch ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (99)                 Old Version         New Version         Net Change

extra/attica5                5.115.0-1           5.116.0-1            -0.02 MiB
extra/bluez-qt5              5.115.0-1           5.116.0-1            -0.03 MiB
extra/boost                  1.83.0-7            1.83.0-8             -0.03 MiB
extra/boost-libs             1.83.0-7            1.83.0-8              0.11 MiB
extra/electron27             27.3.11-2           27.3.11-3            -0.28 MiB
extra/electron28             28.3.1-2            28.3.1-3             -0.04 MiB
extra/electron29             29.4.0-1            29.4.0-2              0.00 MiB
extra/electron30             30.0.6-1            30.0.6-2              0.00 MiB
extra/enchant                2.7.3-1             2.7.3-2               0.00 MiB
extra/frameworkintegration5  5.115.0-1           5.116.0-1             0.00 MiB
extra/gspell                 1.12.2-2            1.12.2-3             -0.01 MiB
extra/harfbuzz               8.4.0-2             8.5.0-1               0.16 MiB
extra/harfbuzz-icu           8.4.0-2             8.5.0-1               0.00 MiB
core/icu                     74.2-2              75.1-1                0.51 MiB
extra/kactivities-stats5     5.115.0-1           5.116.0-1             0.00 MiB
extra/kactivities5           5.115.0-1           5.116.0-1            -0.01 MiB
extra/karchive5              5.115.0-1           5.116.0-1             0.01 MiB
extra/kauth5                 5.115.0-1           5.116.0-1            -0.01 MiB
extra/kbookmarks5            5.115.0-1           5.116.0-1            -0.01 MiB
extra/kcalendarcore5         5.115.0-1           5.116.0-1            -0.02 MiB
extra/kcmutils5              5.115.0-1           5.116.0-1            -0.01 MiB
extra/kcodecs5               5.115.0-1           5.116.0-1            -0.02 MiB
extra/kcompletion5           5.115.0-1           5.116.0-1            -0.01 MiB
extra/kconfig5               5.115.0-1           5.116.0-1            -0.01 MiB
extra/kconfigwidgets5        5.115.0-1           5.116.0-1            -0.01 MiB
extra/kcoreaddons5           5.115.0-1           5.116.0-1            -0.01 MiB
extra/kcrash5                5.115.0-1           5.116.0-1             0.00 MiB
extra/kdbusaddons5           5.115.0-1           5.116.0-1            -0.01 MiB
extra/kdeclarative5          5.115.0-1           5.116.0-1            -0.03 MiB
extra/kded5                  5.115.0-1           5.116.0-1             0.00 MiB
extra/kdeplasma-addons       6.0.4-1             6.0.4-2               0.00 MiB
extra/kdesu5                 5.115.0-1           5.116.0-1            -0.01 MiB
extra/kdnssd5                5.115.0-1           5.116.0-1            -0.01 MiB
extra/kfilemetadata5         5.115.0-1           5.116.0-1            -0.02 MiB
extra/kglobalaccel5          5.115.0-3           5.116.0-1             0.00 MiB
extra/kguiaddons5            5.115.0-2           5.116.0-1             0.00 MiB
extra/kholidays5             1:5.115.0-1         1:5.116.0-1           0.00 MiB
extra/ki18n5                 5.115.1-1           5.116.0-1             0.00 MiB
extra/kiconthemes5           5.115.0-1           5.116.0-1             0.00 MiB
extra/kidletime5             5.115.0-1           5.116.0-1            -0.02 MiB
extra/kimageformats5         5.115.0-2           5.116.0-1             0.01 MiB
extra/kinit                  5.115.0-1           5.116.0-1             0.00 MiB
extra/kio5                   5.115.0-3           5.116.0-1             0.01 MiB
extra/kirigami2              5.115.0-1           5.116.0-1            -0.02 MiB
extra/kitemmodels5           5.115.0-1           5.116.0-1            -0.01 MiB
extra/kitemviews5            5.115.0-1           5.116.0-1            -0.01 MiB
extra/kjobwidgets5           5.115.0-1           5.116.0-1             0.00 MiB
extra/knewstuff5             5.115.0-1           5.116.0-1            -0.02 MiB
extra/knotifications5        5.115.0-1           5.116.0-1             0.00 MiB
extra/knotifyconfig5         5.115.0-1           5.116.0-1             0.00 MiB
extra/konsole                24.02.2-1           24.02.2-2            -0.03 MiB
extra/kpackage5              5.115.0-1           5.116.0-1             0.00 MiB
extra/kparts5                5.115.0-1           5.116.0-1            -0.01 MiB
extra/kpty5                  5.115.0-1           5.116.0-1             0.00 MiB
extra/kservice5              5.115.0-2           5.116.0-1             0.00 MiB
extra/ktexteditor5           5.115.0-1           5.116.0-1            -0.07 MiB
extra/ktextwidgets5          5.115.0-1           5.116.0-1             0.00 MiB
extra/kwallet5               5.115.0-2           5.116.0-1             0.00 MiB
extra/kwidgetsaddons5        5.115.0-1           5.116.0-1            -0.03 MiB
extra/kwindowsystem5         5.115.0-1           5.116.0-1            -0.02 MiB
extra/kxmlgui5               5.115.0-1           5.116.0-1            -0.01 MiB
extra/libcdr                 0.1.7-7             0.1.7-8               0.01 MiB
extra/libe-book              0.1.3-15            0.1.3-16             -0.07 MiB
extra/libical                3.0.18-1            3.0.18-2              0.00 MiB
extra/libmspub               0.1.4-15            0.1.4-16             -0.10 MiB
extra/libqalculate           5.1.1-1             5.1.1-2               0.08 MiB
extra/libqxp                 0.0.2-11            0.0.2-12             -0.04 MiB
extra/libreoffice-fresh      24.2.3-2            24.2.3-3              0.00 MiB
extra/libvisio               0.1.7-10            0.1.7-11             -0.04 MiB
extra/libwbclient            4.20.1-1            4.20.1-2              0.00 MiB
core/libxml2                 2.12.6-2            2.12.7-1             -0.01 MiB
extra/libzmf                 0.0.2-15            0.0.2-16             -0.01 MiB
extra/modemmanager-qt5       5.115.0-1           5.116.0-1            -0.02 MiB
extra/networkmanager-qt5     5.115.0-1           5.116.0-1            -0.04 MiB
extra/nodejs-lts-hydrogen    18.20.2-2           18.20.2-3             0.00 MiB
extra/plasma-desktop         6.0.4-1             6.0.4-2               0.00 MiB
extra/plasma-workspace       6.0.4-1             6.0.4-2              -0.01 MiB
extra/prison5                5.115.0-1           5.116.0-1             0.00 MiB
extra/purpose5               5.115.0-3           5.116.0-1             0.01 MiB
extra/qqc2-desktop-style5    5.115.0-1           5.116.0-1             0.02 MiB
extra/qt5-base               5.15.13+kde+r145-1  5.15.13+kde+r145-2    0.19 MiB
extra/qt5-location           5.15.13+kde+r6-1    5.15.13+kde+r7-1      0.15 MiB
extra/qt5-webengine          5.15.16-6           5.15.16-8             1.69 MiB
extra/qt6-5compat            6.7.0-1             6.7.0-2               0.00 MiB
extra/qt6-base               6.7.0-6             6.7.0-7               0.37 MiB
extra/qt6-webengine          6.7.0-1             6.7.0-2               3.00 MiB
extra/raptor                 2.0.16-4            2.0.16-5             -0.01 MiB
extra/smbclient              4.20.1-1            4.20.1-2              0.03 MiB
extra/solid5                 5.115.0-1           5.116.0-1            -0.04 MiB
extra/sonnet5                5.115.0-1           5.116.0-1            -0.02 MiB
extra/syndication5           5.115.0-1           5.116.0-1            -0.02 MiB
extra/syntax-highlighting5   5.115.0-2           5.116.0-1             0.00 MiB
extra/thunderbird            115.11.0-3          115.11.0-4            0.00 MiB
extra/tracker3               3.7.3-1             3.7.3-2              -0.05 MiB
extra/webkit2gtk             2.44.1-1            2.44.2-1             -0.67 MiB
extra/webkit2gtk-4.1         2.44.1-1            2.44.2-1             -0.67 MiB
endeavouros/welcome          24.5.8-1            24.5.9-1              0.00 MiB
extra/xerces-c               3.2.5-1             3.2.5-2               0.00 MiB
core/xfsprogs                6.7.0-1             6.8.0-2              -0.01 MiB

Total Installed Size:  2881.81 MiB
Net Upgrade Size:         3.72 MiB

:: Proceed with installation? [Y/n] y
(99/99) checking keys in keyring                                                  [----------------------------------------------] 100%
(99/99) checking package integrity                                                [----------------------------------------------] 100%
(99/99) loading package files                                                     [----------------------------------------------] 100%
(99/99) 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.
[hugoross@Arch ~]$

Remove qqc2-desktop-style5

2 Likes

sudo pacman -Rns qqc2-dekstop-style5 ?

I would just do:

sudo pacman -R qqc2-dekstop-style5
2 Likes

-R means remove the package.

-Rn means remove the package and don’t create .pacsave files. In almost all cases, pacsave files won’t be created either way. They only get created when you have modified an important config file in a system location like /etc. I would always say it is better to have a backup of a file like that. In this specific case, -Rn and -R do the same thing.

-Rs removes the package and everything that it depends on. This includes optional dependencies of other packages. Personally, I prefer to cleanup orphans periodically and not risk removing optional dependencies or otherwise removing things I wanted installed.

3 Likes

I got the same error but cannot uninstall qqc2-dekstop-style5. Getting

error: target not found: qqc2-dekstop-style5

But the package is installed.

local/qqc2-desktop-style5 5.115.0-1 (kf5)

Edit: Nevermind, pacman -Rs worked, even though pacman -R didn’t.
Edi2: Both work. I made a dumb typo.

There’s a typo in “desktop / dekstop”.

2 Likes

Wow. Thanks. I guess I need some coffee.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.