Error while upgrading

I got an error while running yay (Plasma 5.26 and other upgrades)

$ yay
.....(I am skipping these lines, they don't have any error message)

(143/177) upgrading konsole                        [------------------] 100%
error: could not extract /usr/share/locale/zh_TW/LC_MESSAGES/konsole.mo (Zstd decompression failed: Restored data doesn't match checksum)
error: problem occurred while upgrading konsole
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

I tried once again.

[archisman@eOS-KDE ~]$ yay
[sudo] password for archisman: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community               7.0 MiB  2.72 MiB/s 00:03 [------------------] 100%
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (34) kpmcore-22.08.2-1  kscreen-5.26.0-2  ktorrent-22.08.2-1
              kwallet-pam-5.26.0-1  kwave-22.08.2-1  libktorrent-22.08.2-1
              libreoffice-fresh-7.4.2-1  linux-6.0.1.arch1-1
              linux-headers-6.0.1.arch1-1  linux-lts-5.15.73-1
              linux-lts-headers-5.15.73-1  man-pages-6.00-1
              modemmanager-qt-5.99.0-1  networkmanager-qt-5.99.0-1
              okular-22.08.2-1  openssh-9.1p1-1  pahole-1:1.24-1
              pandoc-2.19.2-14  partitionmanager-22.08.2-1  perl-uri-5.14-1
              plasma-browser-integration-5.26.0-1  plasma-desktop-5.26.0-1
              plasma-disks-5.26.0-1  plasma-nm-5.26.0-1  plasma-pa-5.26.0-1
              plasma-workspace-wallpapers-5.26.0-1
              polkit-kde-agent-5.26.0-1  powerdevil-5.26.0-1
              print-manager-22.08.2-1  python-setuptools-1:63.4.0-1
              sddm-kcm-5.26.0-1  spectacle-22.08.2-1
              wayland-protocols-1.27-1  welcome-3.39-1

Total Installed Size:  1258.83 MiB
Net Upgrade Size:         0.56 MiB

:: Proceed with installation? [Y/n] y
(34/34) checking keys in keyring                   [------------------] 100%
(34/34) checking package integrity                 [------------------] 100%
(34/34) loading package files                      [------------------] 100%
(34/34) checking for file conflicts                [------------------] 100%
error: failed to commit transaction (conflicting files)
plasma-desktop: /usr/share/metainfo/org.kde.plasma.activitypager.appdata.xml exists in filesystem
plasma-desktop: /usr/share/plasma/plasmoids/org.kde.plasma.activitypager/metadata.json exists in filesystem
Errors occurred, no packages were upgraded.
 -> error installing repo packages

If I repeat, I get the same issue.

A workaround is to let plasma-desktop overwrite the file.

sudo pacman -S --overwrite \* plasma-desktop

And run yay again to continue the upgrade.

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