I've been using Arch for a few years, but I obviously haven't learn't anything in the process as I've done a very silly thing.
I wanted to empty the pacman cache at /var/cache/pacman/pkg, but instead I did 'sudo rm -r /var/lib/pacman/local/*'
I've now lost network access and running sudo comes up with: 'unknown uid 1000: who are you?'
After reading about pacman, I now realise how important the file in that folder are
Is this now game over and I have to reinstall? or does anyone know how I can restore the files in /var/lib/pacman/local?
Thankyou for reading, Richard
The symptoms you're describing aren't a product of you removing pacman's library. I suspect you've done other silly things since.
I suggest you restore one of your backups, or do a fresh install.
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD