You are not logged in.

#1 2008-03-08 21:13:34

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

What does this error mean? [SOLVED]

Hi there. Upon trying to sync and/or download packages from Pacman, I get the following error(s):

error: config file /etc/pacman.d/current could not be read.
error: failed to synchronize current:

and then it goes on a syncs community and extra and downloads whatever I need. I want this error to go away, despite the fact that quite strangely it doesn't inhibit my pacman usage. Any ideas?

Thanks in advance

Last edited by Xs1t0ry (2008-03-08 22:27:42)

Offline

#2 2008-03-08 21:44:12

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 792

Re: What does this error mean? [SOLVED]

The [current] repository is gone.  Remove those lines from your pacman.conf.

Also, you may need to http://bbs.archlinux.org/viewtopic.php? … 80#p338780.

Offline

#3 2008-03-08 21:49:03

mcmillan
Member
Registered: 2006-04-06
Posts: 665

Re: What does this error mean? [SOLVED]

The repository changed it's name a while back from current to core, so that could be why it's not finding things. You'll want to edit /etc/pacman.conf to have this change. If you're not sure about what needs to get changed post your file and we can walk you through.

Offline

#4 2008-03-08 21:58:28

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: What does this error mean? [SOLVED]

Ah, thanks, it worked! So how did the pacman.conf.new get in my system?

And just out of curiosity, what do

[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

exactly do? What is it telling the computer?

Offline

#5 2008-03-08 23:28:34

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 713

Re: What does this error mean? [SOLVED]

I think you ought to read the output pacman gives you, it will save you a lot of time. Whenever a new version of pacman is intalled - this could apply to other applications as well - you usually see some messages. Among those pacman tells you that "warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew" or as in your case you got a new version of pacman that included some changes to the config file, which was saved as /etc/pacman.new. That means some important changes have been made to that file, why it's good to update your pacman.conf with those changes (read through the file and check what has been changed and apply those to your pacman.conf).

Besides that I think it's more useful for you to consult the Beginners Guide in the Wiki, because those questions are well explained there and will be of better help than me rewriting that piece of information.

Last edited by KimTjik (2008-03-08 23:32:43)

Offline

#6 2008-03-08 23:40:53

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: What does this error mean? [SOLVED]

KimTjik wrote:

Whenever a new version of pacman is intalled - this could apply to other applications as well

Yup, especially important is changes to files in /etc. The pacman output will mention .pacnew files that will appear in /etc. For example, a new file called profile.pacnew will appear and if you havent edited the original, then you can 'mv /etc/profile.pacnew /etc/profile' (one result of which is man pages not showing incorrect <80><90> characters).


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#7 2008-03-09 00:18:44

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: What does this error mean? [SOLVED]

Xs1t0ry wrote:

And just out of curiosity, what do

[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

exactly do? What is it telling the computer?

It's explained in man pacman.conf, REPOSITORY SECTIONS


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB