Gentoo Archives: gentoo-user

From: Amankwah <amankwah7@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Blocked packages
Date: Thu, 22 May 2014 09:29:40
Message-Id: 20140522092926.GA1404@NAS
In Reply to: Re: [gentoo-user] Blocked packages by "Zoltán Kócsi"
1 On Thu, May 22, 2014 at 07:10:40PM +1000, Zoltán Kócsi wrote:
2 > On Thu, 22 May 2014 10:23:27 +0200
3 > "J. Roeleveld" <joost@××××××××.org> wrote:
4 >
5 > > > I want to install some packages with docs but emerge tells me that
6 > > > it can't do that. Quite interestingly it complains about blocked
7 > > > packages.
8 > > > [...]
9 > >
10 > > Can you send the actual emerge-output you are seeing along with the
11 > > full emerge-command you are issuing?
12 >
13 > No problem. Background:
14 >
15 > Empty machine, Gentoo installed from CD and stage3 tarball. It will be
16 > a server, so the 'hardened' profile was selected from the offered
17 > choices. A few packages (mailserver, bind, webserver, iptables etc) got
18 > installed. I want their documentation, so I added "doc" to their
19 > package specific USE flags in package.use.
20 >
21 > The USE in make.conf is
22 >
23 > USE="berkdb crypt ssl -ipv6"
24 >
25 > and in package.use contains postfix, iptables, iproute2 and a few
26 > other similar packages, with the 'doc' flag and whatever else they
27 > needed for their actual function (e.g. postfix gets 'sasl' and 'mbox').
28 >
29 > Then, the command and the response:
30 > -----------------------
31 > ~ # emerge --pretend --newuse @world
32 >
33 > These are the packages that would be merged, in order:
34 >
35 > Calculating dependencies... done!
36 > [ebuild N ] sys-apps/paxctl-0.7-r2
37 > [ebuild R ] net-misc/iputils-20121221 USE="-ipv6*"
38 > [ebuild R ] sys-process/psmisc-22.20 USE="-ipv6*"
39 > [ebuild R ] sys-devel/gcc-4.7.3-r1 USE="hardened* -fortran*"
40 > [ebuild R ] app-arch/gzip-1.5 USE="pic*"
41 > [ebuild R ] sys-apps/busybox-1.21.0 USE="-ipv6*"
42 > [ebuild N ] dev-python/pypax-0.8.4 USE="ptpax xtpax"
43 > PYTHON_TARGETS="python2_7 python3_3 (-pypy) (-python2_6)
44 > -python3_2" [ebuild N ] sys-apps/elfix-0.8.4 USE="ptpax
45 > xtpax" [ebuild R ] dev-tcltk/expect-5.44.1.15 USE="doc*" [ebuild
46 > NS ] sys-boot/grub-2.00_p5107-r2 [0.97-r12] USE="multislot nls
47 > -custom-cflags -debug -device-mapper -doc -efiemu (-libzfs) -mount -sdl
48 > -static {-test} -truetype" GRUB_PLATFORMS="-coreboot -efi-32 -efi-64
49 > -emu -ieee1275 -multiboot -pc -qemu -qemu-mips -yeeloong" [ebuild
50 > U ] sys-apps/util-linux-2.24.1-r2 [2.22.2] USE="pam%*
51 > -bash-completion% -caps% -cytune% -fdformat% -python% -tty-helpers%"
52 > PYTHON_SINGLE_TARGET="python2_7%* -python3_2% -python3_3% (-python3_4)"
53 > PYTHON_TARGETS="python2_7%* python3_3%* -python3_2%
54 > (-python3_4)" [ebuild R ] net-misc/rsync-3.0.9-r3
55 > USE="-ipv6*" [ebuild R ] net-misc/wget-1.14
56 > USE="-ipv6*" [ebuild R ] net-libs/gnutls-2.12.23-r4
57 > USE="-bindist*" [ebuild R ] app-admin/syslog-ng-3.4.7
58 > USE="-ipv6*" [ebuild R ] net-misc/dhcpcd-6.2.0-r1
59 > USE="-ipv6*" [blocks B ] <sys-apps/sysvinit-2.88-r7
60 > ("<sys-apps/sysvinit-2.88-r7" is blocking
61 > sys-apps/util-linux-2.24.1-r2) [blocks B ]
62 > >=sys-apps/util-linux-2.23 (">=sys-apps/util-linux-2.23" is blocking
63 > >sys-apps/sysvinit-2.88-r4)
64 >
65 > * Error: The above package list contains packages which cannot be
66 > * installed at the same time on the same system.
67 >
68 > (sys-apps/sysvinit-2.88-r4::gentoo, installed) pulled in by
69 > >=sys-apps/sysvinit-2.86-r6 required by
70 > (sys-apps/openrc-0.12.4::gentoo, installed)
71 >
72 > (sys-apps/util-linux-2.24.1-r2::gentoo, ebuild scheduled for merge)
73 > pulled in by >=sys-apps/util-linux-2.20 required by
74 > (sys-fs/udev-208::gentoo, installed) >=sys-apps/util-linux-2.16
75 > required by (sys-fs/e2fsprogs-1.42.7::gentoo, installed)
76 > >=sys-apps/util-linux-2.16 required by (x11-libs/libSM-1.2.2::gentoo,
77 > installed) sys-apps/util-linux required by @system
78 >
79 >
80 > For more information about Blocked Packages, please refer to the
81 > following section of the Gentoo Linux x86 Handbook (architecture is
82 > irrelevant):
83 >
84 > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
85 >
86 >
87 > * IMPORTANT: 1 news items need reading for repository 'gentoo'.
88 > * Use eselect news to read news items.
89 >
90 > -------------------
91 >
92 > It is entirely possible that I'm, being a complete newbie on Gentoo
93 > made something stupid thing, so I'm not blaming the system, just looking
94 > for an explanation and possibly a solution.
95 >
96 > Thanks,
97 >
98 > Zoltan
99 >
100
101 *DO NOT* add the USE flag "doc" into you /etc/make.conf, That may cause
102 many unexpected conflict. Somebody had told me this several years
103 before.
104
105 If you need doc for any package, just add this flag int file
106 /etc/portage/package.use for the certain package.

Replies

Subject Author
Re: [gentoo-user] Blocked packages "Zoltán Kócsi" <zoltan@××××××××××.au>