yaourt 循环错误,求解(solved)

头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

yaourt 循环错误,求解(solved)

#1

帖子 wowoto » 2010-12-18 0:37

_______________________________

已解决,烦请查看第 19 楼,谢谢诸位。
_______________________________

代码: 全选

[xmu@Archlinux ~]$ sudo pacman -S iptux
Password: 
error: directive 'Server' with a value not recognized
error: config file /etc/pacman.d/mirrorlist, line 6: problem in options section
error: 'iptux': could not find or read package
[xmu@Archlinux ~]$ yaourt -S iptux

==> Downloading iptux PKGBUILD from AUR...
x iptux.install
x PKGBUILD


Comment by: solstice on Mon, 21 Jun 2010 18:36:31 +0000
pkgver=0.5.1_2
echo ${pkgver/_/-}
0.5.1-2	

Comment by: tocer on Tue, 22 Jun 2010 00:54:49 +0000
fixed. thanks for solstice	

First Submitted: Sat, 20 Dec 2008 07:08:22 +0000	
iptux 0.5.1_2-2 : Lan communication software, compatiable with IP Messenger.
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> iptux dependencies:
 - gtk2 (already installed)
 - gconf (already installed)
 - make (already installed)
 - error: (building from AUR)
 - directive (building from AUR)
 - 'Server' (building from AUR)
 - with (building from AUR)
 - a (building from AUR)
 - value (building from AUR)
 - not (building from AUR)
 - recognized (building from AUR)
 - error: (building from AUR)
 - config (building from AUR)
 - file (package found)
 - /etc/pacman.d/mirrorlist, (building from AUR)
 - line (building from AUR)
 - 6: (building from AUR)
 - problem (building from AUR)
 - in (building from AUR)
 - options (building from AUR)
 - section (building from AUR)


==> Edit iptux.install ? [Y/n] ("A" to abort)
==> -----------------------------------------
==> n

==> Continue building iptux ? [Y/n]
==> -------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for iptux:
error: directive 'Server' with a value not recognized
error: config file /etc/pacman.d/mirrorlist, line 6: problem in options section
error: 'value': could not find or read package

==> Downloading config PKGBUILD from AUR...
x PKGBUILD


First Submitted: Thu, 17 Aug 2006 09:51:20 +0000	
config 0.3.7-4 : a python module for the configuration file management
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> ^C                                                            #此处自己X了,因为看到循环错误了
[xmu@Archlinux ~]$ 
上次由 wowoto 在 2010-12-24 23:46,总共编辑 1 次。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
送出感谢: 1 次
接收感谢: 89 次
联系:

Re: yaourt 循环错误,求解

#2

帖子 cuihao » 2010-12-18 11:27

iptux 0.5.1_2-2 : Lan communication software, compatiable with IP Messenger.
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> Edit iptux.install ? [Y/n] ("A" to abort)
==> -----------------------------------------
==> n

config 0.3.7-4 : a python module for the configuration file management
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> ^C

前两次询问的是iptux的包配置(PKGBUILD、iptux.install),后面询问的是config的包配置。没有问题吧。
如果嫌询问太麻烦,可以加上--noconfirm参数,就不会询问是否修改文件了。

另:你的mirrorlist是不是有格式问题?
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
头像
nerver
帖子: 2061
注册时间: 2009-11-19 19:35
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#3

帖子 nerver » 2010-12-18 12:40

error: config file /etc/pacman.d/mirrorlist, line 6: problem in options section
第六行好像有问题,打开看看呗
——nerver is not never
flay
帖子: 211
注册时间: 2010-01-25 9:27
送出感谢: 0
接收感谢: 1 次

Re: yaourt 循环错误,求解

#4

帖子 flay » 2010-12-18 15:10

很显然是配置文件有问题
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#5

帖子 wowoto » 2010-12-20 23:18

nerver , flay : 和你们说的第六行配置 无关。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#6

帖子 wowoto » 2010-12-20 23:19

cuihao 写了:iptux 0.5.1_2-2 : Lan communication software, compatiable with IP Messenger.
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> Edit iptux.install ? [Y/n] ("A" to abort)
==> -----------------------------------------
==> n

config 0.3.7-4 : a python module for the configuration file management
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> ^C

前两次询问的是iptux的包配置(PKGBUILD、iptux.install),后面询问的是config的包配置。没有问题吧。
如果嫌询问太麻烦,可以加上--noconfirm参数,就不会询问是否修改文件了。

另:你的mirrorlist是不是有格式问题?
mirrorlist格式一直提示有问题,但是pacman 可以正常更新yaourt 最近当了~~不知为何 循环提问
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53
送出感谢: 1 次
接收感谢: 2 次
联系:

Re: yaourt 循环错误,求解

#7

帖子 jarryson » 2010-12-20 23:51

mirrorlist问题就改的没有问题再说。
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#8

帖子 wowoto » 2010-12-21 0:06

jarryson 写了:mirrorlist问题就改的没有问题再说。
下面给出的是我的mirrorlist的一部分,你看下有没问题,按照我的看法是没问题的,给出来的未做任何更改:
#
# Arch Linux repository mirrorlist
# Generated on 2010-01-31

# Any
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/i686 (#注,此为第六行)
Server = http://mirrors.kernel.org/archlinux/$repo/os/i686

# Australia
Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = ftp://mirror.internode.on.net/pub/archl ... po/os/i686
Server = http://mirror.internode.on.net/pub/arch ... po/os/i686
Server = ftp://ftp.netspace.net.au/pub/archlinux/$repo/os/i686
Server = http://ftp.netspace.net.au/pub/archlinux/$repo/os/i686
Server = ftp://mirror.optus.net/archlinux/$repo/os/i686
Server = http://mirror.optus.net/archlinux/$repo/os/i686

# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archl ... po/os/i686
#Server = http://gd.tuwien.ac.at/opsys/linux/arch ... po/os/i686
/etc/pacman.d/mirrorlist
...
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53
送出感谢: 1 次
接收感谢: 2 次
联系:

Re: yaourt 循环错误,求解

#9

帖子 jarryson » 2010-12-21 3:00

如果需要帮忙找错误,你得用code框起来,或者上传整个mirrorlist,这样看不出来,初看确实没有问题。
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#10

帖子 wowoto » 2010-12-21 23:23

jarryson 写了:如果需要帮忙找错误,你得用code框起来,或者上传整个mirrorlist,这样看不出来,初看确实没有问题。
你所看到的就是mirrorlist的原文。只字未变。
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53
送出感谢: 1 次
接收感谢: 2 次
联系:

Re: yaourt 循环错误,求解

#11

帖子 jarryson » 2010-12-22 0:38

/etc/pacman.d/mirrorlist
...
这是神马东西?没在mirrorlist里面把?
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#12

帖子 wowoto » 2010-12-22 21:22

jarryson 写了:/etc/pacman.d/mirrorlist
...
这是神马东西?没在mirrorlist里面把?
没,那是less 出现在终端的~~
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
tenzu
论坛版主
帖子: 36913
注册时间: 2008-11-21 20:26
送出感谢: 0
接收感谢: 21 次

Re: yaourt 循环错误,求解

#13

帖子 tenzu » 2010-12-22 21:34

关键词,python
要把python2.7做个符号链接
头像
wowoto
帖子: 3049
注册时间: 2009-04-11 12:17
送出感谢: 0
接收感谢: 0

Re: yaourt 循环错误,求解

#14

帖子 wowoto » 2010-12-22 21:53

tenzu 写了:关键词,python
要把python2.7做个符号链接

拜见tenzu,您不知道我是菜鸟吗 ~ 这样说我是完全不理解的~~~
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
头像
tenzu
论坛版主
帖子: 36913
注册时间: 2008-11-21 20:26
送出感谢: 0
接收感谢: 21 次

Re: yaourt 循环错误,求解

#15

帖子 tenzu » 2010-12-22 22:07

简单解释一下就是arch现在里面有两个python, python2.7是用python2启动的,python启动的是python3
所以要做个软链接
具体方法google一下
回家睡觉了,白白
回复

回到 “Arch发行版”