You are not logged in.

#1 2012-11-18 20:29:02

rhjp
Member
Registered: 2012-11-18
Posts: 4

/var/lib/pacman/local empty

Hello all,

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

Offline

#2 2012-11-18 20:39:36

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,358

Re: /var/lib/pacman/local empty

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.


Sakura:-
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

Online

#3 2012-11-18 20:44:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: /var/lib/pacman/local empty

A wiki search would have returned this page to help you restore your missing db, but as you've just been told, you have other issues to address also.

Offline

Board footer

Powered by FluxBB