You are not logged in.

#1 2009-08-06 20:07:13

_will
Member
Registered: 2004-07-08
Posts: 123

-Sy "unexpected error" on default databases

archlinuxfr updated fine the first time the command was run.

> yaourt -Sy                                                               ~
:: Synchronizing package databases...
error: failed to update core (unexpected error)
error: failed to update extra (unexpected error)
error: failed to update community (unexpected error)
archlinuxfr is up to date

I think I missed a memo. What's going on?

Offline

#2 2009-08-06 20:49:35

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: -Sy "unexpected error" on default databases

Change your mirror wink (use for example the french ones, mir and mir2)

Offline

#3 2009-08-07 15:05:09

ngaba
Pacman Developer
Registered: 2008-05-13
Posts: 16

Re: -Sy "unexpected error" on default databases

I guess you use pacman older than 3.3.0, and you have no Servers configured in pacman.conf. Edit: You probably want to check if there is uncommented lines in /etc/pacman.d/mirrorlist. (Pacman 3.3.0 catches this, and prints informative message.)

If I was wrong, use --debug to figure out what happens, and let us know on the bug tracker. (Users should always get more informative error message).

Last edited by ngaba (2009-08-07 15:08:41)

Offline

#4 2009-08-07 16:07:31

_will
Member
Registered: 2004-07-08
Posts: 123

Re: -Sy "unexpected error" on default databases

thanks for the reply
tongue that was an easy fix.

is it unusual for /etc/pacman.d/mirrorlist to be all commented
that is

grep -v ^# /etc/pacman/d/mirrolist|grep -v ^$

returned nothing.
I edited the wrong file maybe. I can update now though.

Offline

Board footer

Powered by FluxBB