You are not logged in.

#1 2009-01-22 10:41:50

Abecedarian
Member
Registered: 2006-07-30
Posts: 43

Pacman: "error: database path undefined"

Whenever I try do anything with pacman, I get the error quoted in the title. This was after accidentally deleting /var in the process of mounting a partition there. I'm fearful that I've deleted something vital; namely, pacman's internal record of what's installed. I just wanted to double check before I have to re-install (again...) and make sure that there's no way to recover.

Thanks for any help.

Offline

#2 2009-01-22 10:51:11

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Pacman: "error: database path undefined"

All the pacman databases are in var.  Dont have any backups?


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-01-22 11:21:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Pacman: "error: database path undefined"

You have deleted pacmans record of everything that was installed.  You could try and identify what you have installed from the files on your system and using "pacman -Sf package" but a reinstall is probably easier...

Offline

#4 2009-01-22 11:54:39

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Pacman: "error: database path undefined"

Or you have your database in an irregular place and you need to define that place in pacman.conf

Offline

#5 2009-01-22 12:08:07

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Pacman: "error: database path undefined"

Sorry to butt in - is there no way of regenerating a database? Or at least dumping in a standard that can be built up over time?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2009-01-23 00:15:10

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Offline

#7 2009-01-23 03:15:05

Abecedarian
Member
Registered: 2006-07-30
Posts: 43

Re: Pacman: "error: database path undefined"

Thanks everyone. Sounds like the easiest and cleanest way to do it is just to reinstall so that it won't come back to bite me. Cheers.

Offline

Board footer

Powered by FluxBB