You are not logged in.

#1 2024-03-09 01:48:56

Letingzeit
Member
Registered: 2024-03-09
Posts: 2

[SO]Upgrade failed to commit transaction due to already existing files

I've left some time for updates as i was solving an issue with my boot partition (since around febraury 23th), so now that i'm trying to get my system up to date i seem to have some trouble having it done, probably due to the many recent important changes in the fundamental components of the kernel and my installation. This is part of the output from pacman -Syu:

:: Starting full system upgrade...
:: Replace baloo5 with extra/baloo? [Y/n] y
:: Replace glfw-x11 with extra/glfw? [Y/n] y
:: Replace kcm-wacomtablet with extra/wacomtablet? [Y/n] y
:: Replace kuserfeedback5 with extra/kuserfeedback? [Y/n] y
resolving dependencies...
:: There are 2 providers available for qt6-multimedia-backend:
:: Repository extra
   1) qt6-multimedia-ffmpeg  2) qt6-multimedia-gstreamer

Enter a number (default=1):
looking for conflicting packages...
warning: dependency cycle detected:
warning: qt6-multimedia-ffmpeg will be installed before its qt6-multimedia dependency
warning: dependency cycle detected:
warning: phonon-qt6-vlc will be installed before its phonon-qt6 dependency
warning: dependency cycle detected:
warning: xdg-desktop-portal-kde will be installed before its plasma-workspace dependency

...
Packages wall o' text
...

libplist-2.4.0-1-x86_64
clinfo-3.0.23.01.25-1-x86_64
electron29-29.1.1-4-x86_64
Total (3/3)
(525/525) checking keys in keyring
(525/525) checking package integrity
(525/525) loading package files
(525/525) checking for file conflicts

error: failed to commit transaction (conflicting files)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/ActionDescription exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Agent/Listener exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Agent/Session exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Authority exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Details exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Gui/Action exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Gui/ActionButton exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Gui/ActionButtons exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Identity exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/Subject exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/PolkitQt1/TemporaryAuthorization exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-actiondescription.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-agent-export.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-agent-listener.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-agent-session.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-authority.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-core-export.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-details.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-gui-action.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-gui-actionbutton.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-gui-actionbuttons.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-gui-export.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-identity.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-subject.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-temporaryauthorization.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/include/polkit-qt6-1/polkitqt1-version.h exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/cmake/PolkitQt6-1/PolkitQt6-1Config.cmake exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/cmake/PolkitQt6-1/PolkitQt6-1ConfigVersion.cmake exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/cmake/PolkitQt6-1/PolkitQt6-1Targets.cmake exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-agent-1.so exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-agent-1.so.1 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-agent-1.so.1.200.0 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-core-1.so exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-core-1.so.1 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-core-1.so.1.200.0 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-gui-1.so exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-gui-1.so.1 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/libpolkit-qt6-gui-1.so.1.200.0 exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/pkgconfig/polkit-qt6-1.pc exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/pkgconfig/polkit-qt6-agent-1.pc exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/pkgconfig/polkit-qt6-core-1.pc exists in filesystem (owned by polkit-qt6-git)
polkit-qt6: /usr/lib/pkgconfig/polkit-qt6-gui-1.pc exists in filesystem (owned by polkit-qt6-git)
Errors occurred, no packages were upgraded.

I've tried updating my mirrors as established in the https://wiki.archlinux.org/title/mirrors page, but even if i force the upgrade to avoid the partial upgrade with pacman -Syyuu i still run into the same issue
Even when i refuse the initial changes

:: Replace baloo5 with extra/baloo? [Y/n] n
:: Replace glfw-x11 with extra/glfw? [Y/n] n
:: Replace kcm-wacomtablet with extra/wacomtablet? [Y/n] n
:: Replace kuserfeedback5 with extra/kuserfeedback? [Y/n] n
resolving dependencies...
:: There are 2 providers available for qt6-multimedia-backend:
:: Repository extra
   1) qt6-multimedia-ffmpeg  2) qt6-multimedia-gstreamer
Enter a number (default=1): 1

Some errors are a little different

:: baloo and baloo5 are in conflict. Remove baloo5? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: baloo and baloo5 are in conflict


Still run into the same errors

:: baloo and baloo5 are in conflict. Remove baloo5? [y/N] y
:: kuserfeedback and kuserfeedback5 are in conflict. Remove kuserfeedback5? [y/N] y


Prehaps i'm making the wrong assumptions but it seems that something regarding Qt6 is fundamentally broken in my system, so i was wondering if anyones has run into the same problem or has any idea on how i can deal with it

Last edited by Letingzeit (2024-03-12 14:59:38)

Offline

#2 2024-03-09 01:55:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,365

Re: [SO]Upgrade failed to commit transaction due to already existing files

So your problem is that you're using a poorly packaged  polkit-qt6-git that doesn't have the provides and conflicts that it should. Get rid of it (notice it's polkit, not expolkit.

Offline

#3 2024-03-09 04:39:41

Letingzeit
Member
Registered: 2024-03-09
Posts: 2

Re: [SO]Upgrade failed to commit transaction due to already existing files

I was looking into the dependencies of the polkit-qt6-git package so it turns out the only packages that depend upon it are kauth-git and kwindowsystem-git which probably were part of my experimentation scripts so i got rid of them with pacman -Rcns polkit-qt6-git, and seemingly upgraded with no issue.

I really appreciate the observation since i didn't realized these were git packages, not exactly sure at which point i got them, anyway i reinstalled the normal ones through the pacman manager after they were reinstalled by the upgrade just in case since i lost all my windows decorations and seemingly a lot of windows sizes configurations. Apparently a lot of things are breaking down in my system with the establishment of KDE 6 and its components

Not to mentioned that with the release of the new version of mkinitcpio my recently solved problem with the boot came back as a hiccup during upgrade. In summary it turns out 1 GiB is not enough space for a boot partition, cant extend the partition due to a vfat key problem or so fdisk and gparted says and the only way i was able to manage that so far was by using extreme compression of the img files which made updates and startup fairly slow, in the end i managed to get rid of one of the three groups of img (linux, linux-zen, linux-lts, in this case linux-lts and its fallback), but apparently the upgrade restore them, maybe i didn't get rid of them as well as i thought

Since i'm a little tired of restoring snapshots from clonezilla i will probably just give up on the upgrade and wait a couple months as KDE 6 gets more stable as well as the third party software that depend on it before making a new installation of arch linux and start restoring everything

Offline

Board footer

Powered by FluxBB