You are not logged in.

#1 2009-10-11 03:43:50

imortallis
Member
From: Utah, USA
Registered: 2009-05-22
Posts: 6

Pacman cannot find database on repos

Ok, I have no clue what I have done...When I run pacman -Syu here is what I get:

[root@Kolob ~]# pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from archlinux.unixheads.org : Not Found
error: failed to update core (Not Found)
error: failed retrieving file 'extra.db.tar.gz' from archlinux.unixheads.org : Not Found
error: failed to update extra (Not Found)
error: failed retrieving file 'community.db.tar.gz' from archlinux.unixheads.org : Not Found
error: failed to update community (Not Found)
error: failed to synchronize any databases

I don't really know what to do at this point. Here is my pacman config:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

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

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

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

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

And my /etc/pacman.d/mirrorlist:

#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#

# United States
#Server = http://mirror.archlinux.com.ve/$repo/os/@carch@
Server = http://archlinux.unixheads.org/$repo/os/@carch@
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/@carch@
#Server = ftp://mirrors.easynews.com/linux/archlinux/$repo/os/@carch@
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/@carch@

Perhaps some other useful info:
-i686
-GNOME
-pacman 3.3.2

Offline

#2 2009-10-11 07:19:56

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Pacman cannot find database on repos

It seems as if you have only one mirror enabled in your mirrorlist file. Can you try to enable more mirrors. pacman will try them in the order they appear in the file. Also, I have made good experience with ftp mirrors.

What you also could do is try the rankmirrors script. It will sort your mirrors according to speed. See Beginners Guide.

Offline

#3 2009-10-11 07:41:09

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: Pacman cannot find database on repos

MadTux advice is good advice - somehow all of the mirrors in your mirrorlist file are borked.

Offline

#4 2009-10-11 07:46:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Pacman cannot find database on repos

Ummm....  where did you get that mirrorlist?   The @carch@ needs to be replaced with your architecture (i686 or x86_64).

Offline

#5 2009-10-11 13:52:04

imortallis
Member
From: Utah, USA
Registered: 2009-05-22
Posts: 6

Re: Pacman cannot find database on repos

I tried Allan's advice and it worked...thanks for all your good suggestions smile

Offline

Board footer

Powered by FluxBB