You are not logged in.

#1 2005-10-01 12:24:36

twelvegates
Member
Registered: 2005-09-27
Posts: 20
Website

pacman --sync: could not open sync database: extra

I'de like to install packages from the extra repository.
So I tried:

pacman --sync

This told me:

error: could not open sync database: extra
       have you used --refresh yet?

So I did this.
But still pacman --sync tells me the same.

I have

Include = /etc/packman.d/extra

in /etc/pacman.conf.

What else is missing?

Offline

#2 2005-10-01 15:13:07

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: pacman --sync: could not open sync database: extra

twelvegates wrote:

I have

Include = /etc/packman.d/extra

in /etc/pacman.conf.

Don't know that this is the problem but you have a spelling error in your code line.

Pacman doesn't have a "k" in it.


oz

Offline

#3 2005-10-01 20:14:32

twelvegates
Member
Registered: 2005-09-27
Posts: 20
Website

Re: pacman --sync: could not open sync database: extra

ozar wrote:
twelvegates wrote:

I have

Include = /etc/packman.d/extra

in /etc/pacman.conf.

Don't know that this is the problem but you have a spelling error in your code line.

Pacman doesn't have a "k" in it.

Oh, yes. I have made the error when a copied it. But in the config file it is in fact without 'k'.

Include = /etc/pacman.d/extra

So this is not the problem.

Offline

#4 2005-10-01 21:07:23

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: pacman --sync: could not open sync database: extra

try pacman -Sy pkgname. The -y refreshes the database. You can find all this in the man page.

Offline

#5 2005-10-01 22:27:18

twelvegates
Member
Registered: 2005-09-27
Posts: 20
Website

Re: pacman --sync: could not open sync database: extra

Penguin wrote:

try pacman -Sy pkgname. The -y refreshes the database. You can find all this in the man page.

Yes. This worked! Thanks!

I had thought I must invoke pacman once with -S and once with -y. But obviously it has to be one single invokation.

Offline

Board footer

Powered by FluxBB