You are not logged in.

#1 2012-05-29 18:03:39

Freso
Member
From: Southern Scandinavia
Registered: 2011-09-09
Posts: 48
Website

Recovering from having deleted /var/lib...

Trying to get MariaDB working, I managed to launch an "rm -rf /var/lib" as I was trying to do an "ls -Al" to see the permissions of the mysql data dir...

This would not be so bad, if it wasn't for the loss of Pacman's database (which I wasn't able to restore :/). Thus having my entire file system outside the control of my package manager, I began to reinstall the entire system. Using the script on the wiki, I was able to keep track with the files not being tracked, but after having removed tens of thousands of files from that list, I'm stuck with a persistent ~1800 files.
Some of these I know shouldn't be under Pacman's inspection (config files, cache files, git repository), some are AUR packages I have yet to be able to reinstall (cairo-compmgr, gerix, heldenviewer, juploadr, wxhexeditor, pixelmap, ttf-antipasto, pacmerge-git, ...), but some I'm fairly certain I have no idea how to make Pacman aware of again. These latter ones include files in /etc/fonts/conf.d/, /etc/gconf/gconf.xml.defaults/, /etc/ssl/certs/, and /usr/share/mime/.

Any hints to how these can be reinstalled to make pacman aware of them would be appreciated. The file list can be seen here: https://dl.dropbox.com/u/1565903/non-db.txt

Edit: D'oh. /var/lib of course, not /var/cache... -.-

Last edited by Freso (2012-05-29 19:40:02)


PKGBUILDs: in AUR

Offline

#2 2012-05-29 18:19:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Recovering from having deleted /var/lib...

pacman's database is in /var/lib, not /var/cache.

Offline

#3 2012-05-29 19:40:59

Freso
Member
From: Southern Scandinavia
Registered: 2011-09-09
Posts: 48
Website

Re: Recovering from having deleted /var/lib...

falconindy wrote:

pacman's database is in /var/lib, not /var/cache.

Which is what I meant. Sorry about the confusion. /var/lib is also where MariaDB/MySQL stores its data.


PKGBUILDs: in AUR

Offline

Board footer

Powered by FluxBB