无法在代理下更新Arch Linux

莫蒂尔·比斯瓦斯(Moithil Biswas)

无法sudo pacman -Syu在代理网络下使用来更新pacman 我尝试使用导出环境变量

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

因为我的工作场所网络使用代理和身份验证。

然后使用更新

sudo -E pacman -Syu

但它返回error 407并且error: failed to synchronize any databases

用户名

我无法重复您的问题。sudo -E pacman -Syuexport http_proxy我的作品。

我会检查您的用户名和密码是否正确(我知道这很傻,但是很幽默)。

用curl或wget测试。

如果您可以使用其中之一,请更新pacman.conf:

XferCommand = /路径/到/命令%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.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Arch Linux无法登录

来自分类Dev

在更新Arch Linux之后,Virtualbox无法正常工作吗?

来自分类Dev

在更新Arch Linux之后,Virtualbox无法正常工作吗?

来自分类Dev

无法使用pacman安装或更新软件包(Arch Linux)

来自分类Dev

在Arch Linux下安装Appimage

来自分类Dev

arch linux 中的系统范围代理

来自分类Dev

Arch Linux安装无法启动

来自分类Dev

更新后,Thunderbird无法再在Linux下打开附件

来自分类Dev

系统更新,Arch linux(无法启动主机名服务)等启动失败

来自分类Dev

更新至android studio 3.4后无法创建新项目。基于Arch的Antergos Linux

来自分类Dev

如何在Arch Linux中更新GRUB

来自分类Dev

多久更新一次Arch Linux?

来自分类Dev

Arch linux 更新后 OpenGL 渲染错误

来自分类Dev

git和ssh上的代理问题-Arch Linux

来自分类Dev

无法在Arch Linux VM中运行tmux

来自分类Dev

Arch Linux安装无法启用dhcpd

来自分类Dev

Openconnect在Arch Linux中无法连接

来自分类Dev

UEFI上的Arch Linux无法启动

来自分类Dev

无法在Arch Linux中启动mysqld

来自分类Dev

无法在Arch Linux上使用su或sudo

来自分类Dev

Linux(Arch)之后无法安装Windows 10

来自分类Dev

Arch Linux-NetworkManager无法设置热点

来自分类Dev

无法在Arch Linux上挂载NTFS

来自分类Dev

音频无法使用Arch Linux(CHROMEBOOK)

来自分类Dev

新安装的Arch Linux无法启动

来自分类Dev

无法在Arch Linux中安装grub

来自分类Dev

无法在Arch Linux上安装clang 6

来自分类Dev

Arch Linux无法在QEMU中启动

来自分类Dev

Arch Linux无法检测到新的SSD