You are not logged in.
I'm updating an Archlinux system that I couldn't update for a while. From the bash history, last update was on 31/12/23.
Now that I try to update, this is the final part of the output of pacman -Syu
Total (649/649) 5.3 GiB 7.21 MiB/s 12:39 [########################################################################################] 100%
(649/649) checking keys in keyring [########################################################################################] 100%
(649/649) checking package integrity [#######################################] 100%(649/649) loading package files [#######################################] 100%(649/649) checking for file conflicts [#######################################] 100%
error: failed to commit transaction (conflicting files)
gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so exists in filesystem (owned by gcc12)
gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1 exists in filesystem (owned by gcc12)
Errors occurred, no packages were upgraded.
And I see that
$ pacman -Qo /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so
/usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so is owned by gcc12 12.3.0-3
$ pacman -Qo /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1 is owned by gcc12 12.3.0-3
From 3.1 here, I understand I'd have to file a bug report.
Is that the case?
Anyway, how do I proceed?
Offline
Same situation as this ?
Offline
Yep, I did
sudo pacman -R cuda gcc12
sudo pacman -Syu
I suppose cuda will be reinstalled if needed.
Offline
I encountered the same issue, but unfortunately I can't just remove cuda since a lot of other packages depend on it (cudnn, pytorch, ...). Is there a way to install the packages correctly without removing one of the two packages?
Edit:
I managed to find out the solution: upgrading to cuda-12.4 first (downloaded from archive.org), which removes gcc12 as its dependency, and then uninstall gcc12.
Last edited by mike_nzk (2024-05-28 07:11:08)
Offline