Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: suppressing the 'would you like to add --pretend' prompt when using emerge --ask
Date: Sun, 17 Apr 2016 20:51:18
Message-Id: 20160417155052.3a7bb17d@sepulchrave.remarqs
In Reply to: Re: [gentoo-user] suppressing the 'would you like to add --pretend' prompt when using emerge --ask by Philip Webb
1 On Sun, 17 Apr 2016 15:40:04 -0400
2 Philip Webb <purslow@××××××××.net> wrote:
3
4 > 160417 »Q« wrote:
5 > > I too often forget to use 'sudo' along with 'emerge --ask',
6 > > which gets me a prompt to add '--pretend' to the options.
7 > > I never want to add '--pretend' to the options :
8 > > if I've used '--ask', I also meant to use 'sudo'.
9 >
10 > If your machine isn't in a public place, why don't you use a root
11 > terminal ? That's what I've always done & have never used 'sudo',
12 > which isn't installed.
13
14 Because *I* have access to my terminal. When I run something as root,
15 I want it to be intentional, not due to me just not paying attention.
16
17 > Also, I've always used '-v' rather than '-a', as it's simpler. After
18 > 'emerge -pv <pkg>', I then carry on with 'emerge -1 <pkg>' or simply
19 > 'emerge <pkg>', if it's a World or System pkg.
20
21 I guess relative simpleness is in the eye of the beholder; I don't see
22 running two commands instead of one as simpler generally and certainly
23 not when it cause all the dependencies to be sorted out twice.
24
25 > Really, there are simple ways of doing things with Gentoo,
26 > which avoid a lot of the complications + hassles others complain
27 > about.
28 >
29 > HTH (smile).
30
31 It sounds like you'd be happier just running everything as root. It
32 wouldn't be any more dangerous than giving me access to a root terminal
33 on your machine. ;)

Replies