エージェントはArch Linuxを更新できません。

エージェントはArch Linuxを更新できません。

sudo pacman -Syuアップデートパックマンはプロキシネットワークでは使用できません。以下を使用して環境変数をエクスポートしようとしました。

export http_proxy='http://uem:[email protected]:3128/'

私の職場ネットワークはプロキシと認証を使用しているからです。

次に、次を使用して更新します。

sudo -E pacman -Syu

しかし、それは戻ってerror 407きてerror: failed to synchronize any databases

ベストアンサー1

あなたの質問を繰り返すことはできません。私にsudo -E pacman -Syu適していますexport http_proxy

ユーザー名とパスワードが正しいことを確認します。 (これは愚かなことだとわかりますが、ユーモラスに説明してください。)

テストするにはカールまたはwgetを使用してください。

これらのいずれかが機能するようにできる場合は、pacman.confを更新してください。

XferCommand = /path/to/command%u

     If set, an external program will be used to download all remote
     files. All instances of %u will be replaced with the download URL.
     If present, instances of %o will be replaced with the local
     filename, plus a “.part” extension, which allows programs like wget
     to do file resumes properly.

     This option is useful for users who experience problems with
     built-in HTTP/FTP support, or need the more advanced proxy support
     that comes with utilities like wget.

おすすめ記事