On Thu, May 22, 2014 at 07:10:40PM +1000, Zoltán Kócsi wrote: > On Thu, 22 May 2014 10:23:27 +0200 > "J. Roeleveld" <jo...@antarean.org> wrote: > > > > I want to install some packages with docs but emerge tells me that > > > it can't do that. Quite interestingly it complains about blocked > > > packages. > > > [...] > > > > Can you send the actual emerge-output you are seeing along with the > > full emerge-command you are issuing? > > No problem. Background: > > Empty machine, Gentoo installed from CD and stage3 tarball. It will be > a server, so the 'hardened' profile was selected from the offered > choices. A few packages (mailserver, bind, webserver, iptables etc) got > installed. I want their documentation, so I added "doc" to their > package specific USE flags in package.use. > > The USE in make.conf is > > USE="berkdb crypt ssl -ipv6" > > and in package.use contains postfix, iptables, iproute2 and a few > other similar packages, with the 'doc' flag and whatever else they > needed for their actual function (e.g. postfix gets 'sasl' and 'mbox'). > > Then, the command and the response: > ----------------------- > ~ # emerge --pretend --newuse @world > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N ] sys-apps/paxctl-0.7-r2 > [ebuild R ] net-misc/iputils-20121221 USE="-ipv6*" > [ebuild R ] sys-process/psmisc-22.20 USE="-ipv6*" > [ebuild R ] sys-devel/gcc-4.7.3-r1 USE="hardened* -fortran*" > [ebuild R ] app-arch/gzip-1.5 USE="pic*" > [ebuild R ] sys-apps/busybox-1.21.0 USE="-ipv6*" > [ebuild N ] dev-python/pypax-0.8.4 USE="ptpax xtpax" > PYTHON_TARGETS="python2_7 python3_3 (-pypy) (-python2_6) > -python3_2" [ebuild N ] sys-apps/elfix-0.8.4 USE="ptpax > xtpax" [ebuild R ] dev-tcltk/expect-5.44.1.15 USE="doc*" [ebuild > NS ] sys-boot/grub-2.00_p5107-r2 [0.97-r12] USE="multislot nls > -custom-cflags -debug -device-mapper -doc -efiemu (-libzfs) -mount -sdl > -static {-test} -truetype" GRUB_PLATFORMS="-coreboot -efi-32 -efi-64 > -emu -ieee1275 -multiboot -pc -qemu -qemu-mips -yeeloong" [ebuild > U ] sys-apps/util-linux-2.24.1-r2 [2.22.2] USE="pam%* > -bash-completion% -caps% -cytune% -fdformat% -python% -tty-helpers%" > PYTHON_SINGLE_TARGET="python2_7%* -python3_2% -python3_3% (-python3_4)" > PYTHON_TARGETS="python2_7%* python3_3%* -python3_2% > (-python3_4)" [ebuild R ] net-misc/rsync-3.0.9-r3 > USE="-ipv6*" [ebuild R ] net-misc/wget-1.14 > USE="-ipv6*" [ebuild R ] net-libs/gnutls-2.12.23-r4 > USE="-bindist*" [ebuild R ] app-admin/syslog-ng-3.4.7 > USE="-ipv6*" [ebuild R ] net-misc/dhcpcd-6.2.0-r1 > USE="-ipv6*" [blocks B ] <sys-apps/sysvinit-2.88-r7 > ("<sys-apps/sysvinit-2.88-r7" is blocking > sys-apps/util-linux-2.24.1-r2) [blocks B ] > >=sys-apps/util-linux-2.23 (">=sys-apps/util-linux-2.23" is blocking > >sys-apps/sysvinit-2.88-r4) > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (sys-apps/sysvinit-2.88-r4::gentoo, installed) pulled in by > >=sys-apps/sysvinit-2.86-r6 required by > (sys-apps/openrc-0.12.4::gentoo, installed) > > (sys-apps/util-linux-2.24.1-r2::gentoo, ebuild scheduled for merge) > pulled in by >=sys-apps/util-linux-2.20 required by > (sys-fs/udev-208::gentoo, installed) >=sys-apps/util-linux-2.16 > required by (sys-fs/e2fsprogs-1.42.7::gentoo, installed) > >=sys-apps/util-linux-2.16 required by (x11-libs/libSM-1.2.2::gentoo, > installed) sys-apps/util-linux required by @system > > > For more information about Blocked Packages, please refer to the > following section of the Gentoo Linux x86 Handbook (architecture is > irrelevant): > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked > > > * IMPORTANT: 1 news items need reading for repository 'gentoo'. > * Use eselect news to read news items. > > ------------------- > > It is entirely possible that I'm, being a complete newbie on Gentoo > made something stupid thing, so I'm not blaming the system, just looking > for an explanation and possibly a solution. > > Thanks, > > Zoltan >
*DO NOT* add the USE flag "doc" into you /etc/make.conf, That may cause many unexpected conflict. Somebody had told me this several years before. If you need doc for any package, just add this flag int file /etc/portage/package.use for the certain package.