Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o, Arve Barsnes <arve.barsnes@×××××.com>
Subject: Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!
Date: Mon, 02 Aug 2021 13:33:45
Message-Id: 24839.62491.160236.5924@tux.local
1 Arve,
3 On Monday, 2021-08-02 13:54:07 +0200, you wrote:
5 > ...
6 > Depends what you were trying to solve when piping to less.
8 Sorry for the confusion caused by dropping the "--ask" option (which is
9 part of my "edepclean" alias). What I'm trying to solve is reading the
10 output from "emerge --depclean" one screen full at a time and at the end
11 being asked whether or not I really want to unmerge all packages listed.
12 And just running
14 $ emerge --ask --depclean | less
16 did not work when tested with a single package to be removed: the output
17 from "emerge" was displayed on less than a single screen causing "less"
18 to just terminate due to my setting of environment variable "LESS", but
19 "emerge" never issued the question whether or not to continue nor did it
20 accept an answer. I had to kill it with "^C" from the shell.
22 I hope I could make my problem a bit clearer this time ... :-)
24 Sincerely,
25 Rainer


Subject Author
Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes! Alec Ten Harmsel <alec@××××××××××××××.com>