LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 655|回复: 2

更新系统出错

[复制链接]
发表于 2009-12-20 14:22:31 | 显示全部楼层 |阅读模式
(1)emerge --update --deep --newuse world

>>> Installing (1 of 8) net-dns/avahi-0.6.24-r2
* Compilation and optimization of Python modules for Python 2.6 ...      [ ok ]
*
* If this is your first install of avahi please reload your dbus config
* with /etc/init.d/dbus reload before starting avahi-daemon!
*

>>> Emerging (2 of 8) net-print/cups-1.3.11-r1
* cups-1.3.11-source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...            [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]

* In order to have cups working with avahi zeroconf support, you need
* to have net-dns/avahi emerged with "mdnsresponder-compat" in your USE
* flag. Please add that flag, re-emerge avahi, and then emerge cups again.
*
* ERROR: net-print/cups-1.3.11-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_setup
*   cups-1.3.11-r1.ebuild, line   85:  Called die
* The specific snippet of code:
*                   die "net-dns/avahi is missing the mdnsresponder-compat feature."
*  The die message:
*   net-dns/avahi is missing the mdnsresponder-compat feature.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-print/cups-1.3.11-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.3.11-r1/temp/die.env'.
*

>>> Failed to emerge net-print/cups-1.3.11-r1, Log file:

>>>  '/var/tmp/portage/net-print/cups-1.3.11-r1/temp/build.log'

* Messages for package net-dns/avahi-0.6.24-r2:

*
* If this is your first install of avahi please reload your dbus config
* with /etc/init.d/dbus reload before starting avahi-daemon!
*

* Messages for package net-print/cups-1.3.11-r1:

* In order to have cups working with avahi zeroconf support, you need
* to have net-dns/avahi emerged with "mdnsresponder-compat" in your USE
* flag. Please add that flag, re-emerge avahi, and then emerge cups again.
*
* ERROR: net-print/cups-1.3.11-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_setup
*   cups-1.3.11-r1.ebuild, line   85:  Called die
* The specific snippet of code:
*                   die "net-dns/avahi is missing the mdnsresponder-compat feature."
*  The die message:
*   net-dns/avahi is missing the mdnsresponder-compat feature.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-print/cups-1.3.11-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.3.11-r1/temp/die.env'.
*

* GNU info directory index is up-to-date.

* IMPORTANT: 7 config files in '/etc' need updating.

* IMPORTANT: 1 config files in '/usr/share/config' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.


(2)USE="mdnsresponder-compat" emerge avahi
然后再执行emerge --update --deep --newuse world时又要重新安装avahi,我查了下avahi安装时去掉了mdnsresponder-compat,

emerge --pretend avahi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-dns/avahi-0.6.24-r2
发表于 2009-12-20 14:30:27 | 显示全部楼层
USE="mdnsresponder-compat"最好写到package.use里面:net-dns/avahi mdnsresponder-compat
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-20 14:52:44 | 显示全部楼层
OK了,多谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表