You are not logged in.
Hello, I'm trying to run yay -Syu on a recently updated system. However I keep getting this output:
resolving dependencies...
looking for conflicting packages...
Packages (14) akonadi-notes-24.08.3-2 akonadi-notes-debug-24.08.3-2 ani-cli-4.10-1 cervisia-25.04.3-5 cervisia-debug-25.04.3-5 google-chrome-142.0.7444.134-1 grub-customizer-5.2.5-2 grub-customizer-debug-5.2.5-2 phonon-qt5-gstreamer-4.10.0-5 polychromatic-0.9.5-1
wxwidgets-gtk2-3.2.8-1 wxwidgets-gtk2-debug-3.2.8-1 yay-bin-12.5.2-1 yay-bin-debug-12.5.2-1
Total Installed Size: 672,84 MiB
Net Upgrade Size: 100,61 MiB
:: Proceed with installation? [Y/n] y
(14/14) checking keys in keyring [###############################################################################################################] 100%
(14/14) checking package integrity [###############################################################################################################] 100%
(14/14) loading package files [###############################################################################################################] 100%
(14/14) checking for file conflicts [###############################################################################################################] 100%
error: failed to commit transaction (conflicting files)
wxwidgets-gtk2: /usr/share/locale/af/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/an/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ar/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ca/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ca@valencia/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/co/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/cs/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/da/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/de/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/el/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/es/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/eu/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/fa_IR/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/fi/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/fr/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/gl_ES/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/hi/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/hr/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/hu/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/id/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/it/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ja/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ka/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ko_KR/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/lt/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/lv/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ms/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/nb/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ne/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/nl/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/pl/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/pt/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/pt_BR/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ro/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ru/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/sk/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/sl/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/sq/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/sr/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/sv/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/ta/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/tr/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/uk/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/vi/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/zh_CN/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
wxwidgets-gtk2: /usr/share/locale/zh_TW/LC_MESSAGES/wxstd-3.2.mo exists in filesystem (owned by wxwidgets-common)
Errors occurred, no packages were upgraded.
-> error installing: [/home/flan/.cache/yay/wxwidgets-gtk2/wxwidgets-gtk2-3.2.8-1-x86_64.pkg.tar.zst /home/flan/.cache/yay/wxwidgets-gtk2/wxwidgets-gtk2-debug-3.2.8-1-x86_64.pkg.tar.zst /home/flan/.cache/yay/akonadi-notes/akonadi-notes-24.08.3-2-x86_64.pkg.tar.zst /home/flan/.cache/yay/akonadi-notes/akonadi-notes-debug-24.08.3-2-x86_64.pkg.tar.zst /home/flan/.cache/yay/yay-bin/yay-bin-12.5.2-1-x86_64.pkg.tar.zst /home/flan/.cache/yay/yay-bin/yay-bin-debug-12.5.2-1-x86_64.pkg.tar.zst /home/flan/.cache/yay/polychromatic/polychromatic-0.9.5-1-any.pkg.tar.zst /home/flan/.cache/yay/cervisia/cervisia-25.04.3-5-x86_64.pkg.tar.zst /home/flan/.cache/yay/cervisia/cervisia-debug-25.04.3-5-x86_64.pkg.tar.zst /home/flan/.cache/yay/grub-customizer/grub-customizer-5.2.5-2-x86_64.pkg.tar.zst /home/flan/.cache/yay/grub-customizer/grub-customizer-debug-5.2.5-2-x86_64.pkg.tar.zst /home/flan/.cache/yay/phonon-gstreamer/phonon-qt5-gstreamer-4.10.0-5-x86_64.pkg.tar.zst /home/flan/.cache/yay/google-chrome/google-chrome-142.0.7444.134-1-x86_64.pkg.tar.zst /home/flan/.cache/yay/ani-cli/ani-cli-4.10-1-any.pkg.tar.zst] - exit status 1
[flan@yukarilinuxrog ~]$ I've had this conflicting files issue before when running Pacman -Syu and one thing I could try is to overwrite the files. But before that, is there anything else I should do to avoid any breakage? Any help to troubleshoot this would be appreciated
If you need any additional logs, I'll be happy to provide them
Offline
See the last 2 comments on https://aur.archlinux.org/packages/wxwidgets-gtk2
Moderator Note
Moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Hey well the patch worked! However, what I did is a bit concerning:
I applied the patch by downloading the PKGBUILD. Then I made a .patch file and ran patch -p1 to patch the PKGBUILD and ran makepkg manually. Later on, I tried yay -Syu again without doing a cleanBuild but it still failed with the same error. Then I decided to rerun yay -Syu but this time I excluded wxwidgets which made pacman be happy. I checked both yay's and the manual version to see if the package version and name were the same. They were.
Now though yay still reckons I'm on the older version and still prompts me to upgrade. What do I do to tell yay think I've updated?
Offline
and ran makepkg manually
Also "-i" or did you pacman -U the built package manually?
Offline
Ran pacman -U once makepkg was done
Does this thing I did count as a partial update? I mean, the package is updated, it's just yay that's apparently not aware that I installed the new version. Also when it prompts me to cleanbuild, I've tried all options and they all still fail.
Last edited by Skeleton2323 (2025-11-12 11:21:01)
Offline