You are not logged in.

#1 2007-05-27 16:38:35

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

Pacman fails to look up community repository

Hey everyone, I've been having a minor issue with pacman recently, I don't think it's a major deal but I would like to know if there is anything I can do to fix it. Recently when I try to sync or upgrade or install anything from pacman it doesn't seem to check the community repository. I recently upgraded pacman to the newest version and a couple of new files were inserted into my /etc/pacman.d/ folder: {current,community,extra}.pacnew which I looked at and they seemed to be just updated versions of my origional repos so I copied their contents into the community, extra, current files so pacman would check in the servers listed there.

Here is my pacman.conf:

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

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

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

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

But here is pacman -Sy:

:: Synchronizing package databases...
 current is up to date
 extra is up to date
 local database is up to date

**EDIT** By the way in case it helps, I'm on Arch 64. Thought I'd mention this because my x86 machine isn't having this problem yet **EDIT**

Last edited by l33tunderground (2007-05-27 16:52:47)

Offline

#2 2007-05-27 16:58:13

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

Re: Pacman fails to look up community repository

Make this:

#[community]

look like this:

[community]

... in other words, remove the #


oz

Offline

#3 2007-05-27 16:59:56

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

Re: Pacman fails to look up community repository

Found the problem! Upon closer inspection of community.pacnew which I copied to my community repo file, I saw that it is missing the [community] label at the top which apparently is required for it to be checked. So I don't know whether or not this was isolated in my machine only or whether the new pacman files generated by a pacman update are missing that in Community but this is what it should look like (for Arch64):

[community]
#United States
...

Offline

Board footer

Powered by FluxBB