Jonathan Callen <[email protected]> writes:

> On 2015-03-22 09:04, lee wrote:
>> Tom H <[email protected]> writes:
>> 
>>> On Sun, Mar 22, 2015 at 7:31 AM, Alan McKinnon
>>> <[email protected]> wrote:
>>>> 
>>>> It looks to me like sysvinit-2.88-r7 was stabilized and the
>>>> maintainer of apcupsd didn't notice. From the ebuild for
>>>> apcupsd-3.14.8-r2:
>>>> 
>>>> DEPEND=" ||      ( >=sys-apps/util-linux-2.23[tty-helpers] 
>>>> <=sys-apps/sysvinit-2.88-r4 sys-freebsd/freebsd-ubin )
>>>> 
>>>> What I suggest is copy that ebuild to your local overlay and
>>>> update the DEPEND to <=sys-apps/sysvinit-2.88-r7 and redigest
>>>> 
>>>> If that gives a correct update path for world, then file a bug
>>>> against apcupsd.
>>> 
>>> Some commands were moved from sysvinit to util-linux, and these 
>>> commands are required by apcupsd and are included in util-linux
>>> if it's compiled with the "tty-helpers" use flag.
>> 
>> Is this somehow reflected in the dependencies?  And how could I
>> deal with the multiple versions of util-linux that seem to be
>> required?
>> 
>> Perhaps I should forcefully update util-linux and use tty-helpers
>> so that apcupsd still works in case I reboot.  But what other
>> problems might that cause?
>> 
>> 
>> What am I supposed to think?  Should we not update unless no
>> problems are listed and just wait in case there are some,
>> potentially having to wait indefinitely?  How about security
>> updates then?
>> 
>> 
>
> It is reflected in the dependencies by the fact that the first dep
> (and generally the one chosen by portage) requires a new-enough
> version of util-linux *with the "tty-helpers" USE flag enabled*.  You
> don't need multiple versions of anything installed.  If you just add
> "sys-apps/util-linux tty-helpers" to your /etc/portage/package.use
> file and try again, you will likely find that portage will update
> everything for you without any further issues.

Oh that actually works!  How is one supposed to know that this use flag
must be added?


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.

Reply via email to