Failure to update gcc12 to gcc13

How do I find the logs after updating attempt?

pacman log : /var/log/pacman.log. but if no update, we have nothing in log.
run pamac (or pacman) in terminal :wink:

1 Like

Your title isn’t finished.

Failure to update due to

Due to what? Is there an error you can share?

1 Like

conflicting files:

  • gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so already exists in filesystem (owned by gcc12)
  • gcc13: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/libgcc_s.so.1 already exists in filesystem (owned by gcc12)

I looked at * » Upgrading from gcc12 to gcc13
How do I remove gcc12 ?

I had the same issue.
I ran pacman -Qi gcc12 to see if anything actually needed it. In my case there was no depending packages, so I removed it (pacman -R gcc12).
The upgrade worked afterwards.

1 Like

gcc12 isn’t in the repos any more, only the AUR. There were no (obvious) dependencies so I simply ran sudo pacman -Rns gcc12 and, as with @raphaelp, the upgrade worked fine afterwards.

1 Like