Could not open file /var/lib/pacman/local/g

Hi there, welcome!

Nope, this looks like a different problem, so you should open a new topic.
Before doing that, give a look here, if there is anything you have not yet tried:

2 Likes