Hello, when trying to update ( pacman -Syyu) I got:
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)
Errors occurred, no packages were upgraded.
not 100% sure, but it looks like you have an old package of gcc10-libs lying around. Can you try to uninstall gcc10-libs and then try to update again? Maybe also using
pamac update
might help in the future as it’s better in handling replacement of existing packages by new ones.
Is from the aur and is blocking your updates. Remove it, or in the case you are missing the actual gcc and/or gcc-libs … then install those, replacing that outdated package.
Simple way is open pamac click search type gcc or whatever your searching for then see whats installed.Uninstall what was suggested in the post then install whats suggested in the post and reboot.
you@ms-nl4050cu ~]$ pacman -Qs gcc
local/gcc 12.2.1-2 (base-devel)
The GNU Compiler Collection - C and C++ frontends
local/gcc-libs 12.2.1-2
Runtime libraries shipped by GCC
local/gcc11 11.3.0-5
The GNU Compiler Collection - C and C++ frontends (11.x.x)
local/gcc11-libs 11.3.0-5
Runtime libraries shipped by GCC (11.x.x)
local/lib32-gcc-libs 12.2.1-2 (multilib-devel)
32-bit runtime libraries shipped by GCC
So in total you needed to remove gcc10 , gcc10-libs , gcc11 , gcc11-libs.
You can run an update and you should see a lack of show stopping errors.
(or at least not the same)