My /etc/makepkg.conf is broken. I cant install anything with yay, and I cant also update pacman.
ls -la /etc/makepkg.conf returns: ls: cannot access '/etc/makepkg.conf': Bad message
ls -la /etc returns :
-??? ? ? ? ? ? mailcap
-??? ? ? ? ? ? makepkg.conf
sudo pacman -S pacman returns :
warning: warning given when extracting /etc/makepkg.conf (Could not stat /etc/makepkg.conf)
warning: warning given when extracting /usr/lib/systemd/system/paccache.service (Could not stat /usr/lib/systemd/system/paccache.service)
warning: warning given when extracting /usr/lib/systemd/system/paccache.timer (Could not stat /usr/lib/systemd/system/paccache.timer)
warning: warning given when extracting /usr/lib/systemd/system/pacman-init.service (Could not stat /usr/lib/systemd/system/pacman-init.service)
uname - a is :
Linux grassfield 5.8.6-1-MANJARO #1 SMP PREEMPT Thu Sep 3 14:19:36 UTC 2020 x86_64 GNU/Linux
What can we do?