您尚未登录。

#1 2018-01-27 17:51:05

diphia
会员
注册时间: 2018-01-27
帖子: 3

yaourt在普通权限下无法读取aur/的包

比如:

[diphia@thinkpad-x1c5 ~]$ yaourt yaourt
1 extra/yaourt 1.9-1 [installed]
    A pacman wrapper with extended features and AUR support
2 community/pacui 1.9-1
    Bash script providing advanced Pacman and Trizen/Yay/Yaourt/Pacaur 
    functionality in a simple UI
3 community/yaourt-gui-manjaro 1.4.5-2
    A bash GUI for yaourt - Manjaro theming
4 archlinuxcn/yaourt 1.9-1 [installed]
    A pacman wrapper with extended features and AUR support

然后这样就一直停住了...

用sudo的话:

[diphia@thinkpad-x1c5 ~]$ sudo yaourt yaourt
[sudo] password for diphia: 
1 extra/yaourt 1.9-1 [installed]
    A pacman wrapper with extended features and AUR support
2 community/pacui 1.9-1
    Bash script providing advanced Pacman and Trizen/Yay/Yaourt/Pacaur 
    functionality in a simple UI
3 community/yaourt-gui-manjaro 1.4.5-2
    A bash GUI for yaourt - Manjaro theming
4 archlinuxcn/yaourt 1.9-1 [installed]
    A pacman wrapper with extended features and AUR support
5 aur/aurtab 1-2 (28) (1.63)
    AUR tab completion for yaourt and apacman using zsh.
6 aur/pac 1.3.7-1 (12) (0.38)
    Small wrapper around pacaur to mimic yaourts search feature
7 aur/pac_manage 1.7-1 (0) (0.00)
    pacman/yaourt helper - manage packages in a single file
8 aur/pacget 1.1.2-1 (1) (0.04)
    A wrapper around pacaur to mimic yaourt's search feature
9 aur/pacmanity 0.1-1 (9) (0.63)
    Saves the list of packages installed via pacman and yaourt to your Github 
    gist
10 aur/pacmanxg 4.17.0-1 (9) (0.26)
    Yet another GUI for pacman and yaourt. Depends on neither GTK or Qt: only 
    X11
11 aur/pacui 1.9-1 (3) (1.24)
    Bash script providing advanced Pacman and Trizen/Yay/Yaourt/Pacaur 
    functionality in a simple UI
12 aur/pacui-git r743.c9edccf-1 (12) (1.44)
    Bash script providing advanced Pacman and Trizen/Yay/Yaourt/Pacaur 
    functionality in a simple UI
13 aur/safeaur 1.1.2-1 (3) (0.02)
    safeaur is auto Backup and re-store System for yaourt.
14 aur/tpac 1.0rc1-2 (0) (0.00)
    trizen wrapper to mimic yaourt's search feature
15 aur/yaourt 1.9-1 [installed] (3009) (19.13)
    A pacman wrapper with extended features and AUR support
16 aur/yaourt-git 1.8.1.r11.g153c1f3-1 (184) (0.92)
    A pacman wrapper with extended features and AUR support
17 aur/yaourt-gui 1.5-2 (229) (1.23)
    A bash GUI for yaourt
18 aur/yaourt-gui-manjaro 1.4.5-2 (Out of Date) (21) (0.09)
    A bash GUI for yaourt (Manjaro theming) and Romanian translation added
==> Enter n° of packages to be installed (e.g., 1 2 3 or 1-3)
==> ---------------------------------------------------------
==> 

可以正常出来(在archlinuxcn到aur之间也会卡一下).....
这是什么问题=。=
感谢!

最近编辑记录 diphia (2018-01-27 17:55:16)

离线

#2 2018-01-27 17:56:51

diphia
会员
注册时间: 2018-01-27
帖子: 3

Re: yaourt在普通权限下无法读取aur/的包

或者退而求其次(虽然很不安全),有没有允许yaourt运行在sudo下的方法?

离线

#3 2018-01-27 20:27:32

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,956
个人网站

Re: yaourt在普通权限下无法读取aur/的包

是不是设置了代理但是并不好用?

env | grep -i proxy

离线

#4 2018-01-27 22:23:58

diphia
会员
注册时间: 2018-01-27
帖子: 3

Re: yaourt在普通权限下无法读取aur/的包

依云 说:

是不是设置了代理但是并不好用?

env | grep -i proxy

谢谢回复!问题解决了
之前我也想到了是不是代理的问题,但是尝试了一下ping和sudo ping没有区别就排除了。现在关掉了代理重启bash发现yaourt正常了。
再次感谢=。=

离线

#5 2018-01-27 22:27:21

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,956
个人网站

Re: yaourt在普通权限下无法读取aur/的包

ping 使用 ICMP 协议,不走 HTTP / socks 代理。
测试代理可以用 wget 或者 curl。

离线

页脚