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: 11,843
Website

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: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

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

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

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