Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: blockage
Date: Sun, 22 Mar 2015 18:13:18
Message-Id: 87k2y8zz03.fsf@heimdali.yagibdah.de
In Reply to: [gentoo-user] Re: blockage by Jonathan Callen
1 Jonathan Callen <jcallen@g.o> writes:
2
3 > On 2015-03-22 09:04, lee wrote:
4 >> Tom H <tomh0665@×××××.com> writes:
5 >>
6 >>> On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon
7 >>> <alan.mckinnon@×××××.com> wrote:
8 >>>>
9 >>>> It looks to me like sysvinit-2.88-r7 was stabilized and the
10 >>>> maintainer of apcupsd didn't notice. From the ebuild for
11 >>>> apcupsd-3.14.8-r2:
12 >>>>
13 >>>> DEPEND=" || ( >=sys-apps/util-linux-2.23[tty-helpers]
14 >>>> <=sys-apps/sysvinit-2.88-r4 sys-freebsd/freebsd-ubin )
15 >>>>
16 >>>> What I suggest is copy that ebuild to your local overlay and
17 >>>> update the DEPEND to <=sys-apps/sysvinit-2.88-r7 and redigest
18 >>>>
19 >>>> If that gives a correct update path for world, then file a bug
20 >>>> against apcupsd.
21 >>>
22 >>> Some commands were moved from sysvinit to util-linux, and these
23 >>> commands are required by apcupsd and are included in util-linux
24 >>> if it's compiled with the "tty-helpers" use flag.
25 >>
26 >> Is this somehow reflected in the dependencies? And how could I
27 >> deal with the multiple versions of util-linux that seem to be
28 >> required?
29 >>
30 >> Perhaps I should forcefully update util-linux and use tty-helpers
31 >> so that apcupsd still works in case I reboot. But what other
32 >> problems might that cause?
33 >>
34 >>
35 >> What am I supposed to think? Should we not update unless no
36 >> problems are listed and just wait in case there are some,
37 >> potentially having to wait indefinitely? How about security
38 >> updates then?
39 >>
40 >>
41 >
42 > It is reflected in the dependencies by the fact that the first dep
43 > (and generally the one chosen by portage) requires a new-enough
44 > version of util-linux *with the "tty-helpers" USE flag enabled*. You
45 > don't need multiple versions of anything installed. If you just add
46 > "sys-apps/util-linux tty-helpers" to your /etc/portage/package.use
47 > file and try again, you will likely find that portage will update
48 > everything for you without any further issues.
49
50 Oh that actually works! How is one supposed to know that this use flag
51 must be added?
52
53
54 --
55 Again we must be afraid of speaking of daemons for fear that daemons
56 might swallow us. Finally, this fear has become reasonable.

Replies

Subject Author
Re: [gentoo-user] Re: blockage Alan McKinnon <alan.mckinnon@×××××.com>