1. 概要
「19.06.1 KDE(Plasma)」で、pacman のデータベースを更新しようとしたら・・・。
$ pacman -Fy
:: パッケージデータベースの同期中...
core 810.7 KiB 340K/s 00:02 [--------------------------------] 100%
extra 8.6 MiB 753K/s 00:12 [--------------------------------] 100%
community 18.9 MiB 741K/s 00:26 [--------------------------------] 100%
multilib 254.8 KiB 1007K/s 00:00 [--------------------------------] 100%
エラー: ファイル 'arcolinux_repo.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo 312.5 KiB 634K/s 00:00 [--------------------------------] 100%
arcolinux_repo.sig 310.0 B 0.00B/s 00:00 [--------------------------------] 100%
エラー: ファイル 'arcolinux_repo_3party.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo_3party 520.6 KiB 587K/s 00:01 [--------------------------------] 100%
arcolinux_repo_3party.sig 310.0 B 0.00B/s 00:00 [--------------------------------] 100%
エラー: ファイル 'arcolinux_repo_submicron.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo_submicron 15.4 KiB 0.00B/s 00:00 [--------------------------------] 100%
arcolinux_repo_submicron.sig 310.0 B 0.00B/s 00:00 [--------------------------------] 100%
もう一回やっても
$ pacman -Fy
:: パッケージデータベースの同期中...
core は最新です
extra は最新です
community は最新です
multilib は最新です
エラー: ファイル 'arcolinux_repo.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo は最新です
エラー: ファイル 'arcolinux_repo_3party.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo_3party は最新です
エラー: ファイル 'arcolinux_repo_submicron.files' を master.seedhost.eu から取得するのに失敗しました : The requested URL returned error: 404
arcolinux_repo_submicron は最新です
これは、リポジトリを変更するしかないのかしら・・・。
(参考サイトを掲載していましたが、リンク切れになりました)
2. mirrorlist を日本のサイトにする
参考サイトの通りにやってみます。
その前にデフォルトの
/etc/pacman.d/mirrorlist
の中は
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector -f 30 -l 30 --number 10 --save /etc/pacman.d/mirrorlist
# When: 2019-05-18 01:16:46 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2019-05-18 01:16:37 UTC
# Last Check: 2019-05-18 01:03:06 UTC
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch
Server = http://arch.jensgutermuth.de/$repo/os/$arch
Server = http://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = http://mirror.23media.com/archlinux/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://arch.mirror.constant.com/$repo/os/$arch
となっておりました。
では、やってみます。
reflector -c Japan -f 5 --save /etc/pacman.d/mirrorlist
コマンド実行後は
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector -c Japan -f 5 --save /etc/pacman.d/mirrorlist
# When: 2019-06-17 03:45:23 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2019-06-17 03:45:20 UTC
# Last Check: 2019-06-17 03:42:57 UTC
Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
Server = https://jpn.mirror.pkgbuild.com/$repo/os/$arch
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
Server = rsync://jpn.mirror.pkgbuild.com/packages/$repo/os/$arch
になりました。
でも、やっぱり冒頭の現象は変わらず。
3. /etc/pacman.conf 一部をコメントアウト
消極的な方法ですが
/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
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
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 = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
TotalDownload
#CheckSpace
VerbosePkgLists
ILoveCandy
# 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 = Required DatabaseOptional
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.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#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-testing]
#Include = /etc/pacman.d/mirrorlist
[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
#[arcolinux_repo_testing]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
[arcolinux_repo]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/arcolinux-mirrorlist
[arcolinux_repo_3party]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/arcolinux-mirrorlist
[arcolinux_repo_submicron]
SigLevel = Required DatabaseOptional
Include = /etc/pacman.d/arcolinux-mirrorlist
エラーになるのが「arcolinux_repo]」「arcolinux_repo_3party」「arcolinux_repo_submicron」なので
#[arcolinux_repo]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
#[arcolinux_repo_3party]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
#[arcolinux_repo_submicron]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
ってことですな。