You are not logged in.

#1 2011-04-29 04:14:30

Max Gene
Member
Registered: 2011-04-29
Posts: 3

[SOLVED] Empty mirrorlist + Pacman Syy fails

Hi everyone. New Archer, messed with Archbang a little before but it was close without quite suiting my tastes... I've now got a vanilla Arch install with Awesome installed and thus far I've been loving it for the most part. My main issue is that I seem to have broken Pacman... somehow. First I had packages that seemed clearly out of date- Firefox reads as 3.6.3 instead of Firefox 4, Python isn't the version in the repos, and so forth. Then I had difficulties installing things that are clearly in there, such as LibreOffice. And now I just can't do a Pacman -Syy at all, no matter what mirrors I enable. The best I was able to get before were sets of updates that were all 4K or 4.1K before... now it's just not updating the package databases at all, and they seem to be blank, given that I can't install anything, or re-install things the system knows are there. I've searched both Google and the forums to find an answer, and I can't seem to get it; apologies if the answer is already documented, but I couldn't find it. If the answer's not already in the Wiki, I'd be more than willing to update it after my finals week is over.

Anyway, here's all the relevant information on my system that I can think of. First, the output of Pacman -Syy:

:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirrors.uk2.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'core.db.tar.gz' from ftp.ds.hj.se : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'core.db.tar.gz' from ftp.tku.edu.tw : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'core.db.tar.gz' from mirror.rit.edu : Not Found
error: failed retrieving file 'core.db.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'core.db.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'core.db.tar.gz' from mirrors.hosef.org : Not Found
error: failed retrieving file 'core.db.tar.gz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'core.db.tar.gz' from mirrors.rutgers.edu : Not Found
error: failed retrieving file 'core.db.tar.gz' from mirrors.hosef.org : File unavailable (e.g., file not found, no access)
error: failed to update core (File unavailable (e.g., file not found, no access))
error: failed retrieving file 'extra.db.tar.gz' from mirrors.uk2.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'extra.db.tar.gz' from ftp.ds.hj.se : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'extra.db.tar.gz' from ftp.tku.edu.tw : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'extra.db.tar.gz' from mirror.rit.edu : Not Found
error: failed retrieving file 'extra.db.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'extra.db.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'extra.db.tar.gz' from mirrors.hosef.org : Not Found
error: failed retrieving file 'extra.db.tar.gz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'extra.db.tar.gz' from mirrors.rutgers.edu : Not Found
error: failed retrieving file 'extra.db.tar.gz' from mirrors.hosef.org : Service not available, closing control connection
error: failed to update extra (Service not available, closing control connection)
error: failed retrieving file 'community.db.tar.gz' from mirrors.uk2.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'community.db.tar.gz' from ftp.ds.hj.se : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'community.db.tar.gz' from ftp.tku.edu.tw : Service not available, closing control connection
error: failed retrieving file 'community.db.tar.gz' from mirror.rit.edu : Not Found
error: failed retrieving file 'community.db.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'community.db.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'community.db.tar.gz' from mirrors.hosef.org : Not Found
error: failed retrieving file 'community.db.tar.gz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'community.db.tar.gz' from mirrors.rutgers.edu : Not Found
error: failed retrieving file 'community.db.tar.gz' from mirrors.hosef.org : Service not available, closing control connection
error: failed to update community (Service not available, closing control connection)
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.uk2.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'multilib.db.tar.gz' from ftp.ds.hj.se : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'multilib.db.tar.gz' from ftp.tku.edu.tw : Service not available, closing control connection
error: failed retrieving file 'multilib.db.tar.gz' from mirror.rit.edu : Not Found
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.kernel.org : Not Found
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.hosef.org : Not Found
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.rutgers.edu : Not Found
error: failed retrieving file 'multilib.db.tar.gz' from mirrors.hosef.org : Service not available, closing control connection
error: failed to update multilib (Service not available, closing control connection)
error: failed to synchronize any databases

Current contents of /etc/pacman.d/mirrorlist: I've been playing with it a bit trying to get things working, but I'm at my wit's end.

Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/$arch
Server = ftp://ftp.ds.hj.se/pub/pub/os/linux/archlinux/$repo/os/$arch
Server = ftp://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://archlinux.supsec.org/$repo/os/$arch
Server = http://mirrors.hosef.org/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = http://mirrors.rutgers.edu/archlinux/$repo/os/$arch
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/$arch

And finally, /etc/pacman.conf

#
# /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

[multilib]
Include = /etc/pacman.d/mirrorlist

That's all I can think of as far as pacman related files/output; sorry if it isn't enough!

Last edited by Max Gene (2011-04-29 05:35:28)

Offline

#2 2011-04-29 04:28:28

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Empty mirrorlist + Pacman Syy fails

You're missing an Architecture directive in your pacman.conf. Add the following somewhere in the [options] section:

Architecture = auto

Offline

#3 2011-04-29 04:33:30

Max Gene
Member
Registered: 2011-04-29
Posts: 3

Re: [SOLVED] Empty mirrorlist + Pacman Syy fails

Didn't even realize, but I threw it in; It's not working, still...

error: config file /etc/pacman.conf, line 17: directive 'Architecture' not recognized.

Revised options area:

#
# 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
Architecture = auto
# 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

Last edited by Max Gene (2011-04-29 04:34:01)

Offline

#4 2011-04-29 05:35:09

Max Gene
Member
Registered: 2011-04-29
Posts: 3

Re: [SOLVED] Empty mirrorlist + Pacman Syy fails

Ahh, there's the problem. I installed things from within a chroot but apparently I didn't get the latest version of pacman when I did so... and thus pacman wasn't going to recognize that Architecture directive. So I manually edited the top line of my list to just directly state x86_64 instead of $arch, and I was able to do a proper -Syy and then get pacman upgraded. I'm running a full pacman -Syu right now, so all the weird issues I was having tonight should be resolved.

Thanks, falconindy! You got me started on the right track, although I needed to take hot shower to actually realize it. smile

Offline

Board footer

Powered by FluxBB