Arch ARM Pacman 在“-Syyu”之后无法连接到服务器

Arch ARM Pacman 在“-Syyu”之后无法连接到服务器

我一直在 Arch Linux 论坛和我的设备架构的特定论坛上搜索,但没有找到。

不幸的是,ARM 特定的 Arch 论坛已经死了...并且主 Arch 论坛不允许我发帖,因为他们告诉我去 ARM 论坛....所以我无法在那里找到任何帮助。

我在三星 Chromebook 2 上使用 ARMv7 Arch 发行版

直到昨天,一切都运行良好。Pacman正在运行并更新所有内容。

[multilib]我尝试按照 Arch Wiki 说明添加repo(pacman.conf手动编辑和添加详细信息)

这时我做到了 pacman -Syyu

此后,pacman开始出现异常。我总是收到连接到任何 repo 数据库的错误。我尝试从镜像列表中手动取消注释特定服务器,并[multilib]从中删除了 repopacman.conf

没有运气,什么都没有改变。

pacman因此我使用 手动下载包重新安装wget

一切正常,pacman已成功重新安装并pacman.conf重置为默认值。

尝试运行pacman -Syu更新系统时现在所有服务器都出现 404 错误。

尝试评论/取消评论并手动包含服务器后pacman.conf....没有运气。

因此我的下一步是按照 Arch Wiki 部分pacman在此处手动重新安装/修复: https://wiki.archlinux.org/title/pacman#Manually_reinstalling_pacman

我下载了pacman-static(和所有依赖项),进行了编译,并且一切顺利,安装成功。

现在,我尝试运行pacman-static,但系统输出“未找到命令”......这没有意义。

我不知道还需要做什么来修复pacman或如何运行pacman-static

互联网运行正常,wget运行正常,浏览正常。

这是我当前的“pacman.conf”

cat /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 -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = armv7h

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#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    = 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 ARM
# packagers with `pacman-key --populate archlinuxarm`.

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

无论我使用哪个服务器,我都会在所有存储库中不断收到以下错误:

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.chaoticum.net : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.chaoticum.net : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.kku.ac.th : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.kku.ac.th : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror2.totbb.net : The requested URL returned error: 404
error: failed to update core (failed to retrieve some files)

与此同时,我已经运行了:

pacman-key --init
pacman-key --populate archlinuxarm

重新安装后pacman,确保这些也已更新

请让我知道您需要哪些更多详细信息来帮助我调试和修复此问题pacman

非常感谢

相关内容