Arch ARM Pacmanは、「-Syyu」以降のサーバーに接続できません。

Arch ARM Pacmanは、「-Syyu」以降のサーバーに接続できません。

私はArch Linuxフォーラムと私のデバイスアーキテクチャの特定のセクションを幸運にも探してきました。

残念ながら、ARM関連のArchフォーラムは終了しました。メインのArchフォーラムでは、ARMフォーラムに移動するように指示しているので、私は投稿を許可しません。だからそこで何の助けも見つけることができません。

Samsung Chromebook 2でARMv7 Archディストリビューションを使用しています。

昨日まですべてがうまくいきました。Pacmanすべてが期待どおりに実行され更新されます。

[multilib]Arch Wikiの指示に従ってリポジトリを追加してみました(pacman.conf詳細を手動で編集して追加)。

この時点で私はそうでした。 pacman -Syyu

それ以来、pacman彼の行動は奇妙になりました。ストレージデータベースに接続すると、常にエラーが発生します。ミラーリストから特定のサーバーのコメントを手動で削除し、その[multilib]サーバーからリポジトリを削除してみました。pacman.conf

運が悪い。何も変わりませんでした。

そのため、pacmanパッケージを手動で再インストールしてダウンロードしましたwget

すべてがうまく機能し、正常pacmanに再インストールされ、pacman.confデフォルト値にリセットされました。

アップデートシステムを実行しようとpacman -Syuすると、すべてのサーバーで404エラーが発生します。

アノテーション/アノテーションを解除し、サーバーを手動で含めようとした後pacman.conf...幸運はありません。

したがって、次のステップは、pacmanここでArch Wikiセクションに従って手動で再インストール/修復することです。 https://wiki.archlinux.org/title/pacman#Manually_reinstalling_pacman

pacman-staticすべての依存関係でダウンロードし、正常にコンパイルしてインストールしました。すべてうまくいった。

これで実行しようとしましたが、pacman-staticsysoutputコマンドが見つかりませんでした。これは言葉ではありません。

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

非常にありがとう

ベストアンサー1

解決策:

pacman.confこれらの画像のみを明示的に確認するように設定を強制します。

[core]
Server = http://mirror.archlinuxarm.org/$arch/$repo
#Include = /etc/pacman.d/mirrorlist

[extra]
Server = http://mirror.archlinuxarm.org/$arch/$repo
#Include = /etc/pacman.d/mirrorlist

[community]
Server = http://mirror.archlinuxarm.org/$arch/$repo
#Include = /etc/pacman.d/mirrorlist

[alarm]
Server = http://mirror.archlinuxarm.org/$arch/$repo
#Include = /etc/pacman.d/mirrorlist

[aur]
Server = http://mirror.archlinuxarm.org/$arch/$repo
#Include = /etc/pacman.d/mirrorlist

おすすめ記事