You are not logged in.

#1 2016-12-29 00:47:03

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Annoying 404 errors when using the testing repo's... [SOLVED]

Hi. I've recently started using testing, but every update always spits out retarded amounts of false 404's. That is, everything works, but of course the [testing] server can't find [community] for instance. Example:

error: failed retrieving file 'extra.db' from mirror.htnshost.com : The requested URL returned error: 404
error: failed retrieving file 'extra.db' from mirrors.gigenet.com : The requested URL returned error: 404
 extra                   1750.1 KiB   108K/s 00:16 [######################] 100%
error: failed retrieving file 'community.db' from arch.mirrors.pair.com : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.htnshost.com : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirrors.gigenet.com : The requested URL returned error: 404
 community                  3.7 MiB   123K/s 00:31 [######################] 100%
error: failed retrieving file 'multilib.db' from arch.mirrors.pair.com : The requested URL returned error: 404
error: failed retrieving file 'multilib.db' from mirror.htnshost.com : The requested URL returned error: 404
error: failed retrieving file 'multilib.db' from mirrors.gigenet.com : The requested URL returned error: 404

And so on. This is a problem because I need to be able to keep track of and watch  the updates as they are occurring. Sometimes, there are required messages like "Do this to not perma-break system. Pausing for 5 seconds because this is important..." which I don't want to miss. I also like being able to glance at the progress bars. My problem then becomes: How can I get pacman to not show these 404's? Putting the [testing] repo's below the other repo's in pacman.conf just breaks things, ignoring packages/etc along this route makes no sense at all. Am I missing something regarding pacman's verbosity level?? Anyhow, here is my mirrorlist file. Note that the testing mirrors were obviously not generated with reflector, I did that manually. I'll also paste my pacman.conf.

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector -p http --country 'United States' --sort rate -l 200 -n 20 --save /etc/pacman.d/mirrorlist
# When:       2016-12-14 15:22:10 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2016-12-14 15:21:29 UTC
# Last Check: 2016-12-14 15:14:26 UTC

#Mirror for [testing]
Server = http://arch.mirrors.pair.com/$repo/testing/os/$arch
Server = http://mirror.htnshost.com/archlinux/$repo/testing/os/$arch
Server = http://mirrors.gigenet.com/archlinux/$repo/testing/os/$arch

#Regular mirrors
Server = http://mirror.htnshost.com/archlinux/$repo/os/$arch
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
Server = http://il.mirrors.linaxe.net/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.abscission.net/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
Server = http://arch.localmsp.org/arch/$repo/os/$arch
Server = http://arch.mirrors.ionfish.org/$repo/os/$arch
Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
Server = http://mirror2.hackingand.coffee/arch/$repo/os/$arch
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
#
# /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 -c -q --show-progress --passive-ftp -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
# IgnorePkg = linux linux-headers linux-ck-piledriver linux-ck-piledriver-headers 
# IgnoreGroup =  

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel    = PackageRequired
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

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

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

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

[community-testing]
Include = /etc/pacman.d/mirrorlist

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

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

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
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

Thanks for any help!

Last edited by JohnBobSmith (2016-12-29 08:13:00)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#2 2016-12-29 01:09:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Annoying 404 errors when using the testing repo's... [SOLVED]

You don't need specific mirrors for [testing]. Just enable mirrors that are up-to-date.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-12-29 08:12:36

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Annoying 404 errors when using the testing repo's... [SOLVED]

Ah, so it seems I mis-understood the wiki. Thanks jason, removing my erroneous [testing] mirrors fixed everything.

jbs@dmb-gaming-laptop ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 multilib-testing          29.0   B  9.44K/s 00:00 [######################] 100%
 testing                   58.4 KiB   276K/s 00:00 [######################] 100%
 community-testing         17.2 KiB   233K/s 00:00 [######################] 100%
 core                     122.5 KiB   327K/s 00:00 [######################] 100%
 extra                   1750.1 KiB   206K/s 00:08 [######################] 100%
 community                  3.7 MiB   185K/s 00:21 [######################] 100%
 multilib                 184.8 KiB   304K/s 00:01 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do
[jbs@dmb-gaming-laptop ~]$ 

Fixed mirrorlist:

[jbs@dmb-gaming-laptop ~]$ cat /etc/pacman.d/mirrorlist
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector -p http --country 'United States' --sort rate -l 200 -n 20 --save /etc/pacman.d/mirrorlist
# When:       2016-12-14 15:22:10 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2016-12-14 15:21:29 UTC
# Last Check: 2016-12-14 15:14:26 UTC

#Regular mirrors
Server = http://mirror.htnshost.com/archlinux/$repo/os/$arch
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
Server = http://il.mirrors.linaxe.net/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
Server = http://mirrors.abscission.net/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
Server = http://arch.localmsp.org/arch/$repo/os/$arch
Server = http://arch.mirrors.ionfish.org/$repo/os/$arch
Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
Server = http://mirror2.hackingand.coffee/arch/$repo/os/$arch
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
[jbs@dmb-gaming-laptop ~]$ 

Solved.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

Board footer

Powered by FluxBB