Hi all,
I'm new to ArchLinux but experienced with Linux, and I can't seem to get the bottom of this one.
Every time I run a pacman command (be it -S, -Syu, etc) I alway get a 404 not found error. I tried installing imagemagick, for example:$this->bbcode_second_pass_code('', '[romain@romain-pi ~]$ sudo pacman -S imagemagick
[sudo] password for romain:
resolving dependencies...
looking for inter-conflicts...
Packages (3): liblqr-0.4.2-1 libltdl-2.4.2-7 imagemagick-6.8.4.10-1
Total Download Size: 2.04 MiB
Total Installed Size: 9.16 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'libltdl-2.4.2-7-armv6h.pkg.tar.xz' from
mirror.us.leaseweb.net : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files
error: failed retrieving file 'liblqr-0.4.2-1-armv6h.pkg.tar.xz' from
mirror.us.leaseweb.net : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files
error: failed retrieving file 'imagemagick-6.8.4.10-1-armv6h.pkg.tar.xz'
from mirror.us.leaseweb.net : The requested URL returned error: 404 Not
Found
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
[romain@romain-pi ~]$
')
Here's my pacman.conf file:$this->bbcode_second_pass_code('', '#
# /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
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = armv6h
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Required DatabaseOptional
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never
#
# 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
# - URLs will have $arch replaced by the name of the architecture
#
# 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.
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[alarm]
Include = /etc/pacman.d/mirrorlist
[aur]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
')
I've tried changing the mirrorlist to sort the mirrors by speed and availability, using this script from the wiki: https://wiki.archlinux.org/index.php/Mirrors#Script_to_automate_use_of_Pacman_Mirrorlist_Generator
I'm connected via ethernet, and have an active connection, which I tested by pinging google.
Any idea how to fix this problem?