젠투 시스템을 업그레이드하려고 했을 때 다음과 같은 오류가 발생했습니다:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
sys-libs/zlib:0
(sys-libs/zlib-1.2.11-r1:0/1::gentoo, ebuild scheduled for merge) conflicts with
sys-libs/zlib[minizip] required by (dev-qt/qtwebengine-5.7.1-r2:5/5.7::gentoo, installed)
^^^^^^^
sys-libs/zlib[minizip] required by (net-im/psi-1.3:0/0::gentoo, installed)
^^^^^^^
media-libs/libvpx:0
(media-libs/libvpx-1.5.0:0/3::gentoo, ebuild scheduled for merge) conflicts with
>=media-libs/libvpx-1.5:=[svc] required by (dev-qt/qtwebengine-5.7.1-r2:5/5.7::gentoo, installed)
^^^
>=media-libs/libvpx-1.5:0/3=[svc] required by (dev-qt/qtwebengine-5.7.1-r2:5/5.7::gentoo, installed)
^^^
dev-qt/qtcore:5
(dev-qt/qtcore-5.7.1-r3:5/5.7::gentoo, ebuild scheduled for merge) conflicts with
~dev-qt/qtcore-5.7.1[icu] required by (dev-qt/qtwebkit-5.7.1:5/5.7::gentoo, installed)
^^^
media-video/ffmpeg:0
(media-video/ffmpeg-3.3.5:0/55.57.57::gentoo, ebuild scheduled for merge) conflicts with
>=media-video/ffmpeg-2.6.3[webp,v4l] required by (net-im/qtox-1.11.0:0/0::gentoo, installed)
^^^^ ^^^
dev-libs/libpcre:3
(dev-libs/libpcre-8.41:3/3::gentoo, ebuild scheduled for merge) conflicts with
>=dev-libs/libpcre-8.38[pcre16,unicode] required by (dev-qt/qtcore-5.7.1-r3:5/5.7::gentoo, installed)
^^^^^^
app-text/poppler:0
(app-text/poppler-0.56.0:0/67::dantrell-gnome, ebuild scheduled for merge) conflicts with
app-text/poppler:=[qt5] required by (app-office/texmaker-4.5-r2:0/0::gentoo, installed)
^^^
app-text/poppler:0/67=[qt5] required by (app-office/texmaker-4.5-r2:0/0::gentoo, installed)
^^^
!!! The following installed packages are masked:
- dev-vcs/monotone-1.0-r4::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <[email protected]> (28 Dec 2017)
# Multiple build failures and bugs (#634316), fails with recent lua
# (#434242), init script is buggy (#496724), bash completion files installed
# wrongly (#526280), fails with newer botan (#537572). Removal in a month.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
이 종속성 충돌을 어떻게 해결할 수 있나요?
답변1
가 나타내는 것은 ^^^
특정 USE 플래그가 활성화될 것으로 예상하는 패키지 종속성이 있다는 것입니다.
sys-libs/zlib:0
(sys-libs/zlib-1.2.11-r1:0/1::gentoo, ebuild scheduled for merge) conflicts with
sys-libs/zlib[minizip] required by (dev-qt/qtwebengine-5.7.1-r2:5/5.7::gentoo, installed)
^^^^^^^
sys-libs/zlib[minizip] required by (net-im/psi-1.3:0/0::gentoo, installed)
위의 예에서는 USE 플래그를 사용하여 컴파일된 에 의존 qtwebengine
합니다 .psi
zlib
minizip
make.conf
이 문제를 해결하려면 예상되는 USE 플래그를 이전 젠투 설치에서는 파일이 에 있고 /etc/make.conf
최신 설치에서는 에 추가해야 합니다 /etc/portage/make.conf
.
이 파일에는 USE
공백으로 구분된 플래그 목록이 있는 변수가 포함되어 있습니다. 따라서 먼저 문제의 플래그가 목록에 있는지 확인하세요. 대시(-)가 앞에 붙으면 해당 플래그를 비활성화해야 합니다. 플래그를 활성화하려면 대시를 제거하십시오. 반면에 플래그가 나열되지 않은 경우에는 플래그를 추가하기만 하면 됩니다.