You are not logged in.

#1 2007-06-05 22:57:13

Phjeerable
Member
Registered: 2006-10-19
Posts: 14

error: no usable package repositories configured.

I get this error when trying to pacman -Syu the system.

So I downloaded the current pacman package and updated it with pacman -U.

[root@1jzgte ~]# pacman -U pacman-3.0.4-3.pkg.tar.gz
warning: current locale is invalid; using default "C" locale
loading package data... done.
checking dependencies... done.
cleaning up... done.
(1/1) checking for file conflicts                   [#############...########################################] 100%
(1/1) upgrading pacman                            [#############...########################################] 100%
>>> PLEASE READ THE FOLLOWING!
>>> Use of the new rankmirrors script on your /etc/pacman.d/ files is
>>> highly recommended. Python is required, and read rankmirrors --help
>>> for details. In addition, mirrors are now listed by country, so
>>> move those that are geographically close to you to the top and
>>> remove the others BEFORE running rankmirrors.
[root@1jzgte ~]#

I still get the error though.  How do I fix this?  Where can I get the defualt /etc/pacman.d/ files?
This happened one day without me making any changes to any files.

Last edited by Phjeerable (2007-06-05 22:58:06)

Offline

#2 2007-06-05 23:10:00

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: error: no usable package repositories configured.

Fix your locale or what error do you mean?


1000

Offline

#3 2007-06-05 23:14:30

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: error: no usable package repositories configured.

The default pacman.d files are inside the pacman package you just installed. If you want to get them out by hand, extract the package with tar and copy them into place.

Offline

#4 2007-06-05 23:15:39

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: error: no usable package repositories configured.

Aah, the topic... sorry. Post your pacman.conf.


1000

Offline

#5 2007-06-06 00:42:21

Phjeerable
Member
Registered: 2006-10-19
Posts: 14

Re: error: no usable package repositories configured.

I must have edited the pacman.conf file for some reason and not remembered.  I copied the pacman.conf file from the pacman package and everything worked fine.

Thanks!

Offline

Board footer

Powered by FluxBB