젠투에서 패키지를 차단하는 문제가 있습니다

젠투에서 패키지를 차단하는 문제가 있습니다

clamav 패키지 자체가 업그레이드를 방해하는 것 같습니다. 포티지는 최신이고 포티지 트리는 동기화되어 있습니다. 젠투에서 패키지를 차단하여 이 문제를 해결하는 방법을 아는 사람이 있습니까?

# emerge -uDpv clamav

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

Calculating dependencies... done!
[ebuild     U  ] app-arch/bzip2-1.0.6-r7::gentoo [1.0.6-r6::gentoo] USE="-static -static-libs" 764 KiB
[ebuild     U  ] sys-apps/file-5.25::gentoo [5.22::gentoo] USE="-python -static-libs -zlib" PYTHON_TARGETS="python2_7 (-pypy) -python3_3 -python3_4" 723 KiB
[ebuild     U  ] dev-libs/expat-2.1.1-r2::gentoo [2.1.0-r5::gentoo] USE="unicode -examples -static-libs" 396 KiB
[ebuild     U  ] sys-apps/debianutils-4.7::gentoo [4.4::gentoo] USE="-static" 153 KiB
[ebuild     U ~] dev-libs/libgpg-error-1.24::gentoo [1.22::gentoo] USE="-common-lisp -nls -static-libs" 766 KiB
[ebuild     U  ] dev-libs/libffi-3.2.1::gentoo [3.0.13-r1::gentoo] USE="-debug -pax_kernel -static-libs {-test}" 919 KiB
[ebuild     U  ] sys-devel/m4-1.4.17::gentoo [1.4.16::gentoo] USE="-examples" 1,123 KiB
[ebuild     U  ] app-misc/pax-utils-1.1.6::gentoo [1.0.3::gentoo] USE="-caps -debug% -python -seccomp%" 633 KiB
[ebuild     U  ] app-arch/tar-1.28-r1::gentoo [1.27.1-r2::gentoo] USE="acl -minimal -nls (-selinux) -static -xattr" 2,631 KiB
[ebuild     U  ] dev-libs/openssl-1.0.2h-r2::gentoo [1.0.2h::gentoo] USE="-asm -bindist -gmp -kerberos -rfc3779 -sctp -sslv2% -sslv3% -static-libs {-test} -tls-heartbeat -vanilla -zlib" CPU_FLAGS_X86="-sse2" 0 KiB
[ebuild     U ~] app-eselect/eselect-python-20160516::gentoo [20160222::gentoo] 46 KiB
[ebuild     U  ] dev-libs/libpcre-8.38-r1:3::gentoo [8.38:3::gentoo] USE="bzip2 cxx readline (unicode) -jit -libedit -pcre16 -pcre32 -recursion-limit -static-libs -zlib" 1,526 KiB
[ebuild     U  ] dev-util/gtk-doc-am-1.25::gentoo [1.24::gentoo] 658 KiB
[ebuild     U ~] dev-lang/python-2.7.12:2.7::gentoo [2.7.11-r2:2.7::gentoo] USE="gdbm ncurses readline ssl threads (wide-unicode) xml (-berkdb) -build -doc -examples -hardened -ipv6 -libressl -sqlite -tk -wininst" 12,114 KiB
[ebuild     U  ] dev-libs/libxml2-2.9.4:2::gentoo [2.9.3:2::gentoo] USE="python readline -debug -examples -icu -ipv6 -lzma -static-libs {-test}" PYTHON_TARGETS="python2_7 -python3_3 -python3_4 (-python3_5)" 5,249 KiB
[ebuild     U  ] app-admin/perl-cleaner-2.20::gentoo [2.19::gentoo] 7 KiB
[ebuild     U  ] dev-libs/libxslt-1.1.29::gentoo [1.1.28-r5::gentoo] USE="crypt -debug -examples -python -static-libs" PYTHON_TARGETS="python2_7" 3,349 KiB
[ebuild     U  ] sys-devel/gettext-0.19.7::gentoo [0.19.4::gentoo] USE="acl cxx ncurses -cvs -doc -emacs -git -java -nls -openmp -static-libs" 18,785 KiB
[ebuild     U  ] dev-libs/glib-2.46.2-r3:2::gentoo [2.46.2-r2:2::gentoo] USE="-dbus -debug (-fam) -mime (-selinux) -static-libs -systemtap {-test} -utils -xattr" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] app-antivirus/clamav-0.99::gentoo [0.98.7::gentoo] USE="bzip2 -clamdtop -iconv -ipv6 (-libressl) -metadata-analysis-api -milter (-selinux) -static-libs (-uclibc)" 15,594 KiB
[blocks B      ] <app-antivirus/clamav-0.99 ("<app-antivirus/clamav-0.99" is hard blocking app-antivirus/clamav-0.99)

Total: 20 packages (20 upgrades), Size of downloads: 65,428 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-antivirus/clamav-0.99:0/0::gentoo, ebuild scheduled for merge) pulled in by
    app-antivirus/clamav required by @selected
    clamav
    app-antivirus/clamav required by (mail-filter/qmail-scanner-2.08:0/0::gentoo, installed)

# grep -R clamav /etc/portage/*
/etc/portage/package.use:app-antivirus/clamav   -* crypt
/etc/portage/package.use:mail-filter/qmail-scanner spamassassin  clamav
/etc/portage/package.use:mail-filter/dspam      clamav daemon mysql procmail virtual-users
/etc/portage/package.use:app-antivirus/clamav   crypt bzip2 
# grep clamav /etc/make.conf 
# 

답변1

질문

표시되는 출력을 이해합니다.

  1. mail-filter/qmail-scanner0.99보다 낮은 버전이 필요합니다. 버전 0.98.7이 설치되어 있습니다.
  2. 새 버전은 app-antivirus/clamav0.99입니다.
  3. app-antivirus/clamav0.99가 0.98.7보다 크기 때문에 포티지는 하드 차단됩니다.

고정시키다

mail-filter/qmail-scanner버전 2.08 이상이 필요합니다. 그렇지 않기 때문에 두 가지 옵션이 있습니다.

  1. qmail-scanner가 업데이트될 때까지 clamav에 신경쓰지 마세요. 바라보다메일 필터/qmail-scanner-2.11 버전 충돌
  2. mail-filter/qmailebuild에서 수정하기지역 보도업데이트된 버전 수락app-antivirus/clamav

답변2

해결책:

emerge -C app-antivirus/clamav
emerge -1 app-antivirus/clamav
# continue with the update

질문:

  1. 최신 app-antivirus/clamav버전(0.99)은 DEPEND이 섹션의 모든 이전 버전을 차단합니다.
  2. 따라서 이전 버전이 존재하는 경우 새 버전을 빌드할 수 없습니다.
  3. 포티지 자체에서는 이 상황을 처리할 수 없습니다. 이전 버전을 제거하고 새 버전의 컴파일에 실패하면 clamav가 전혀 없게 되기 때문입니다.
  4. 포티지는 이 문제에 관해 사용자에게 비우호적인 메시지를 제공합니다

노트:

mail-filter/qmail-scanner결백하다

관련 정보