You are not logged in.

#1 2009-05-17 18:06:56

rustyhann
Member
Registered: 2009-05-17
Posts: 2

pacman -Syu could not register 'core' databse (could not open databse)

This is my first arch install.  I can ping google, but I can't do anything with pacman.  When I use the # pacman -Syu command I get this error:

error: database path is undefined
error: could not register 'core' database (could no pen database)

The only changes I have made were found in the following article:

http://bbs.archlinux.org/viewtopic.php?id=63940

I followed this to be able to ping google and it worked.  Now I'm stuck hmm

Offline

#2 2009-05-17 18:24:52

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pacman -Syu could not register 'core' databse (could not open databse)

take a look at /etc/pacman.d/mirrorlist and see if is a mirror uncommented and do pacman -Syyu. if this don't solve the problem, you can post the output of
pacman -Syuv
where -v is verbose

Last edited by wonder (2009-05-17 18:27:00)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-05-17 18:55:20

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: pacman -Syu could not register 'core' databse (could not open databse)

Also check /etc/pacman.conf what servers your pacman is using.
Sometimes a server can be out of sync so it's good to have a fallback server...
You can also use rankmirrors script (see wiki)


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2009-05-17 19:06:57

rustyhann
Member
Registered: 2009-05-17
Posts: 2

Re: pacman -Syu could not register 'core' databse (could not open databse)

My mirror list was good to go, I commented out archlinux because its throttled, the rest were wide open.  I went back and looked through the beginners guide at the Arch Wikki.  I partitioned a separate drive for /var, which I think is where the packman data is kept, when I looked into it, there was nothing.  I think I bit off more than I could chew with the partitioning shceme.  I went through and did a fresh install, with only a swap and root partitions.  I ammended my rc.local file as posted above and everything seems to be working.  Any thoughts?  I'd like to be able to keep /var on a separate hard drive, but I'm running with what I got working now.

Offline

#5 2009-05-17 20:12:54

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: pacman -Syu could not register 'core' databse (could not open databse)

Did you add the /var drive to your fstab?
obvious first question...
If you did you might misspelled it or something; it happened to me with Locale I got half working Arch and that was just locale big_smile


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

Board footer

Powered by FluxBB