Failed to commit transaction (download library error)

Which line of my suggestion above includes this part?

Are you aware this selects the default value, which here:

is “No”, and which also explains why there is an “unresolvable conflict”?

Please stop trying to automate package updates. This will, at some point, break your installation.

Take it one step at a time.

Update the keyrings:

sudo pacman -S archlinux-keyring chaotic-keyring

then try again.

2 Likes