Gentoo中出现的问题

时间:2014-04-17 03:37:32

标签: configuration bind gentoo

我的gentoo存在问题。我尝试将 BIND 安装到我的gentoo中,但每次我想安装它时,都会收到错误消息。

以下是我的Konsole中发生的事情:

emerge --ask net-dns/bind

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

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

Calculating dependencies... done!
[ebuild   R    ] dev-libs/openssl-1.0.1g  USE="-bindist*" 
[ebuild  N     ] net-dns/bind-9.9.4_p2  USE="berkdb dlz gost ipv6 ldap odbc ssl -caps -doc -filter-aaaa -fixed-rrset -geoip -gssapi -idn -mysql -postgres -python -rpz -rrl -sdb-ldap (-selinux) -static-libs -threads -urandom -xml" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

 (dev-libs/openssl-1.0.1g::gentoo, ebuild scheduled for merge) pulled in by
 >=dev-libs/openssl-1.0.0:0[-bindist] required by (net-dns/bind-9.9.4_p2::gentoo, ebuild scheduled for merge)
 dev-libs/openssl:0[-bindist] required by (net-dns/bind-9.9.4_p2::gentoo, ebuild scheduled for merge)

(dev-libs/openssl-1.0.1g::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.6d:0[bindist] required by (net-misc/openssh-5.9_p1-r4::gentoo, installed)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- media-libs/mesa-9.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (26 Mar 2014)
# Affected by multiple vulnerabilities, #445916, #471098 and #472280

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

任何人都可以告诉我如何在我的Gentoo中解决此问题。我很难安装任何东西。

已更新

emerge --ask net-dns/bind


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

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

Calculating dependencies... done!
[ebuild   R    ] dev-libs/openssl-1.0.1g  USE="-bindist*" 
[ebuild  N     ] net-dns/bind-9.9.4_p2  USE="berkdb dlz gost ipv6 ldap odbc ssl -caps -doc -filter-aaaa -fixed-rrset -geoip -gssapi -idn -mysql -postgres -python -rpz -rrl -sdb-ldap (-selinux) -static-libs -threads -urandom -xml" 

The following USE changes are necessary to proceed:
see "package.use" in the portage(5) man page for more details)
# required by net-dns/bind-9.9.4_p2[ssl]
# required by net-dns/bind (argument)
=dev-libs/openssl-1.0.1g -bindist

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! The following installed packages are masked:
- media-libs/mesa-9.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (26 Mar 2014)
# Affected by multiple vulnerabilities, #445916, #471098 and #472280

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

4 个答案:

答案 0 :(得分:3)

解决这个问题的两个步骤:

  1. package.use /结合

    net-dns/bind -ipv6 dlz
    dev-libs/openssl -bindist
    net-misc/openssh -bindist
    
  2. 重新编译ssl ssh,并安装bind

    emerge -Uav dev-libs/openssl  net-misc/openssh
    emerge -av net-dns/bind
    
  3. bind的用途:

    equery使用bind -i

    [ Legend : U - final flag setting for installation]
    [        : I - package is installed with flag     ]
    [ Colors : set, unset             ]
     * Found these USE flags for net-dns/bind-9.10.2_p2:
     U I
     + + berkdb   : Add support for sys-libs/db (Berkeley DB
    for MySQL)
     + + caps     : Use Linux capabilities library to control
    privilege
     + + dlz      : Enables dynamic loaded zones, 3rd party
    extension
     - - doc      : Add extra documentation (API, Javadoc,
    etc). It is recommended to enable per
    package instead of globally
     - - filter-aaaa              : Enable filtering of AAAA records over IPv4
     - - fixed-rrset              : Enables fixed rrset-order option
     - - geoip    : Add geoip support for country and city
    lookup based on IPs
     - - gost     : Enables gost OpenSSL engine support
     - - gssapi   : Enable gssapi support
     - - idn      : Enable support for Internationalized Domain
    Names
     - - ipv6     : Add support for IP version 6
     - - json     : Enable JSON statistics channel
     - - ldap     : Add LDAP support (Lightweight Directory
    Access Protocol)
     - - mysql    : Add mySQL Database support
     - - nslint   : Build and install the nslint util
     - - odbc     : Add ODBC Support (Open DataBase
    Connectivity)
     - - postgres : Add support for the postgresql database
     - - python   : Add optional support/bindings for the
    Python language
     + + python_targets_python2_7 : Build with Python 2.7
     + + python_targets_python3_3 : Build with Python 3.3
     - - python_targets_python3_4 : Build with Python 3.4
     - - rpz      : Enable response policy rewriting (rpz)
     - - seccomp  : Enable seccomp for system call filtering
     + + ssl      : Add support for Secure Socket Layer
    connections
     - - static-libs              : Build static versions of dynamic libraries
    as well
     + + threads  : Add threads support for various packages.
    Usually pthreads
     - - urandom  : Use /dev/urandom instead of /dev/random
     - - xml      : Add support for XML files
    

答案 1 :(得分:1)

也许这有帮助:

# vi /etc/portage/package.use

并添加以下行:(此行已更改)

dev-libs/openssl -bindist

如果它不起作用我别无他法,抱歉:(

也许你可以从gentoo forums获得帮助。

祝你好运。

答案 2 :(得分:1)

emerge net-dns/bind --autounmask-write
etc-update
emerge net-dns/bind

-bindist标记

中删除USE

答案 3 :(得分:0)

仅是为了帮助其他人遇到相同的错误,您需要在package.use文件中的“#Required by”下添加一行。

echo "=dev-libs/openssl-1.0.1g -bindist" >> /etc/portage/package.use/zz-autounmask

nano -w /etc/portage/package.use/zz-autounmask

,然后手动将行复制到文件中。

将“ = dev-libs / openssl-1.0.1g -bindist”替换为需要添加到软件包中的内容。使用