pacman: no servers configured for repository

3348 views
Skip to first unread message

Todd Partridge (Gen2ly)

unread,
Mar 24, 2010, 9:17:03 PM3/24/10
to archlinuxppc-user
I've tried to install twice now and am getting this same error. My
install routine involves these steps

1) Install base from the installer (aif)
2) Chroot to new root partition (/) and install other Official
repository packages from list (pacman -S $(cat pacman-official-
packages.txt)

After I've chrooted though, I'm getting this message:

# pacman -Sy
:: Syncronizing package databases...
error: failed to update core (no servers configured for repository)
error: failed to update extra (no servers configured for repository)
error: failed to update community (no servers configured for
repository)
error: failed to synchronize any databases

So I checked /etc/pacman.d/mirrorlist and no mirrors were uncommented:

#
## $repo: Arch Linux PPC @REPO@ repository
##
#
# Europe
#Server = ftp://archlinuxppc.org/$repo/os/ppc
#Server = ftp://ftp2.archlinuxppc.org/$repo/os/ppc
#Server = http://archlinuxppc.mirrorgarr.it/mirrors/archlinuxppc/$repo/os/ppc
#Server = http://mir2.archlinuxfr.org/archlinux/$repo/os/ppc
# Setup-Entry
Server =

I uncommented the first entry (ftp://archlinux.ppc.org/$repo/os/ppc)
and am still getting this. I'm baffled, not sure what is causing
this.

...

Ok, this got me thinking. The install script appears to be putting in
the blank-entry last line (Server =\n). Good thing I typed this it
got me thinking :). After I commented that last line, pacman is
working now!

First I want to say thanks, the new installer is awesome... very well
done. Second, would you like me to report the bug? I haven't looked
at the script but I'm guessing it comes from the 'Pacman-Mirror'
option in 'Configure (System?)'. From this step 'Pacman-Mirror' asks
me if I'd like to use the repository that the installer used (Is that
right? Believe so, but was up late last night :)) and I choose the
yes option.

Looked around, and am a bit surprised that no one else has seen this.
I've installed twice and got the same error. Any questions please be
free to ask.

Off-topic: Installer observations:

1) When I came to the "Install the Kernel" step, I was a bit confused
because I thought the step "Install packages" had already done that,
but perhaps I'm wrong too.
2) Also the "Install the kernel" step it asked me to choose a
repository that also threw me a bit.

Again thanks for the hard work.

kth5

unread,
Mar 25, 2010, 1:45:52 AM3/25/10
to archlinu...@googlegroups.com, Todd Partridge (Gen2ly)
On 03/25/2010 02:17 AM, Todd Partridge (Gen2ly) wrote:
> I've tried to install twice now and am getting this same error. My
> install routine involves these steps
>
> 1) Install base from the installer (aif)

From FTP? We don't support any base system from CD for the moment. Make
sure you are using the latest installer please.

This is an old version of pacman from base, probably from an old version
of the installer which has it on CD. The line which has

ftp2.archlinuxppc.org

shouldn't even be here at all since 30th December last year.

> Looked around, and am a bit surprised that no one else has seen this.
> I've installed twice and got the same error. Any questions please be
> free to ask.

As said before, I'm pretty sure you're not using the most up to date
version.


> Off-topic: Installer observations:
>
> 1) When I came to the "Install the Kernel" step, I was a bit confused
> because I thought the step "Install packages" had already done that,
> but perhaps I'm wrong too.

No, base does not include a kernel on ppc. Linux/ppc is fundamentally
different in that respect as you cannot run a 32bit kernel on a G5 or
POWER machine nor does it make too much sense to build one for all 64bit
architectures. So, we leave the choice up to you for the 2 kernels that
will most likely work on your machine if you were able to boot the machine:

1) kernel26-pmac for 32bit 603e+ powermac systems
2) kernel26-pmac64 for 64bit G5 powermacs with up to 4 cpus


> 2) Also the "Install the kernel" step it asked me to choose a
> repository that also threw me a bit.

It fills in one automatically, if not you're using an old version.

Best,

-k

Todd Partridge (Gen2ly)

unread,
Mar 25, 2010, 10:49:14 PM3/25/10
to archlinuxppc-user
On Mar 25, 5:45 am, kth5 <kthf...@googlemail.com> wrote:
> On 03/25/2010 02:17 AM, Todd Partridge (Gen2ly) wrote:
>
> > I've tried to install twice now and am getting this same error.  My
> > install routine involves these steps
>
> > 1) Install base from the installer (aif)
>
>  From FTP? We don't support any base system from CD for the moment. Make
> sure you are using the latest installer please.

Yes, I used the FTP/HTTP install option.

>
>
>
> > 2) Chroot to new root partition (/) and install other Official
> > repository packages from list (pacman -S $(cat pacman-official-
> > packages.txt)
>
> > After I've chrooted though, I'm getting this message:
>
> > # pacman -Sy
> > :: Syncronizing package databases...
> > error: failed to update core (no servers configured for repository)
> > error: failed to update extra (no servers configured for repository)
> > error: failed to update community (no servers configured for
> > repository)
> > error: failed to synchronize any databases
>
> > So I checked /etc/pacman.d/mirrorlist and no mirrors were uncommented:
>
> > #
> > ## $repo: Arch Linux PPC @REPO@ repository
> > ##
> > #
> > # Europe
> > #Server =ftp://archlinuxppc.org/$repo/os/ppc
> > #Server =ftp://ftp2.archlinuxppc.org/$repo/os/ppc
> > #Server =http://archlinuxppc.mirrorgarr.it/mirrors/archlinuxppc/$repo/os/ppc

> > #Server =http://mir2.archlinuxfr.org/archlinux/$repo/os/ppc


> > # Setup-Entry
> > Server =
>
> > I uncommented the first entry (ftp://archlinux.ppc.org/$repo/os/ppc)
> > and am still getting this.  I'm baffled, not sure what is causing
> > this.
>
> This is an old version of pacman from base, probably from an old version
> of the installer which has it on CD. The line which has
>
> ftp2.archlinuxppc.org
>
> shouldn't even be here at all since 30th December last year.
>
> > Looked around, and am a bit surprised that no one else has seen this.
> > I've installed twice and got the same error.  Any questions please be
> > free to ask.
>
> As said before, I'm pretty sure you're not using the most up to date
> version.

I'm using the 2010.02.26 - NewWorld Boot ISO. This may be the cause
of a bit of confusion. Previously I had accidentally used the
OldWorld ISO and filed a couple bugs regarding it thinking it was the
new. I am 100% sure that the one I am using now is the NewWorld
(2010.02.26) version.

>
> > Off-topic: Installer observations:
>
> > 1) When I came to the "Install the Kernel" step, I was a bit confused
> > because I thought the step "Install packages" had already done that,
> > but perhaps I'm wrong too.
>
> No, base does not include a kernel on ppc. Linux/ppc is fundamentally
> different in that respect as you cannot run a 32bit kernel on a G5 or
> POWER machine nor does it make too much sense to build one for all 64bit
> architectures. So, we leave the choice up to you for the 2 kernels that
> will most likely work on your machine if you were able to boot the machine:
>
>    1) kernel26-pmac for 32bit 603e+ powermac systems
>    2) kernel26-pmac64 for 64bit G5 powermacs with up to 4 cpus
>
> > 2) Also the "Install the kernel" step it asked me to choose a
> > repository that also threw me a bit.
>
> It fills in one automatically, if not you're using an old version.
>
> Best,
>
> -k

Appreciate the kind reply kth5. Really do like the new installer...
very well done. The blank 'Server =' line at the end though I can
confirm and I don't believe I did anything out of the ordinary to get
it. Be happy to file a bug if you like or otherwise can leave it be
too :).

Reply all
Reply to author
Forward
0 new messages