How to fix pamac-aur / pamac-aur-git empty list on start

A simple workaround is to edit the file /usr/share/app-info/xmls/community.xml.gz at line 51025.
The following commands should do it (but be extra careful not to change the quote characters!):

su
cd /usr/share/app-info/xmls
gunzip community.xml.gz
sed -i community.xml -e 's|[<]em>not[<]/em>|*not*|'
gzip community.xml
exit

Hope this helps.
And if something goes south with the commands above, you can reinstall archlinux-appstream-data.

4 Likes