You are not logged in.

#1 2011-06-16 18:25:46

TectonInd
Member
Registered: 2011-06-16
Posts: 4

pacman can't access package repositories.

I've recently installed Arch Linux via virtual machine and I've been trying to download Xfce. However, when I try "pacman -S xfce4", it says it can't find the package. Looking on the wiki page told me to try "pacman -Syy" to force update the repositories, and here's what I got:

"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
"

I've tried checking if I have any connection by pinging Google, and I do. So, wat do?

Offline

#2 2011-06-16 18:30:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman can't access package repositories.

Check if you have uncommented the servers in pacman.conf:

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

If you have a '#' at the beginning of the line starting with 'Include' - remove it and try again.

Last edited by karol (2011-06-16 18:34:27)

Offline

#3 2011-06-16 18:31:53

TectonInd
Member
Registered: 2011-06-16
Posts: 4

Re: pacman can't access package repositories.

No, I don't.

Offline

#4 2011-06-16 18:37:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman can't access package repositories.

TectonInd wrote:

No, I don't.

Tower: Have you got enough fuel or not?
Pilot: Yes.
Tower: Yes what??
Pilot: Yes, SIR!

Have you uncommented any servers in your mirrorlist?

Offline

#5 2011-06-16 18:38:03

TectonInd
Member
Registered: 2011-06-16
Posts: 4

Re: pacman can't access package repositories.

Oh! There's my problem. Thanks!

Offline

#6 2011-06-16 19:12:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: pacman can't access package repositories.

Please edit your first post and add [SOLVED] to the thread title.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB