You are not logged in.
I did a
pacman -Syu
and I keep getting
error: failed to commit transaction (conflicting files)
gcc12: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so exists in filesystem (owned by gcc10-libs)
gcc12: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1 exists in filesystem (owned by gcc10-libs)
I checked who owns which files and I find:
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 gcc10-libs 1:10.3.0-2
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 gcc10-libs 1:10.3.0-2
The first file is 132 bytes and the second 582 kilobytes.
Can anyone help me find out what is happening?
And how could I proceed with the installation?
pacman -Ss gcc | grep 'installed'
core/gcc 13.1.1-1 [installed: 12.2.1-2]
core/gcc-libs 13.1.1-1 [installed: 12.2.1-2]
core/lib32-gcc-libs 13.1.1-1 [installed: 12.2.1-2]
Offline
I'd guess you have cuda installed which now depends on gcc12. But you also have gcc10 from the AUR. You need to decide which is more important to you, and / or file a bug with the gcc10 aur packager.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I'd guess you have cuda installed which now depends on gcc12. But you also have gcc10 from the AUR. You need to decide which is more important to you, and / or file a bug with the gcc10 aur packager.
I installed gcc10 using yay and it works.
Thank you for the tip about Cuda now depending on gcc12. I don't know how you managed to figure that out!
Offline
Thank you for the tip about Cuda now depending on gcc12. I don't know how you managed to figure that out!
It's the only package in the repos that depends on gcc12 (other than gcc-fortran)
$ expac -S %N gcc12
cuda gcc12-fortran
I installed gcc10 using yay and it works.
Odd. Do you have a reason to stick with gcc10? There could be reasons to do so, but I imagine if you had one you would have already known the cause for this issue before you posted this thread. If gcc10 was only installed as a dependency of cuda, ditch it as cuda now needs gcc12 which is in the main repos.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline