Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge won't take "Yes" [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Sat May 01, 2021 3:00 pm    Post subject: emerge won't take "Yes" [Solved] Reply with quote

Has anybody notices that when emerge -a prompts you whether to merge packages, it sometimes won't take "Yes" for an answer?

Code:

[ebuild     U  ] x11-terms/xterm-367 [366]
[ebuild     U  ] www-client/google-chrome-90.0.4430.93 [90.0.4430.85]
[ebuild     U  ] net-fs/samba-4.13.7 [4.12.9-r1] PYTHON_SINGLE_TARGET="-python3_9%"

Would you like to merge these packages? [Yes/No] Yes
Sorry, response 'Yes' not understood. [Yes/No]


Not that it really matters.

Jon.


Last edited by jesnow on Sat Mar 12, 2022 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 977
Location: Somewhere in Denmark

PostPosted: Sat May 01, 2021 3:06 pm    Post subject: Reply with quote

Code:
binhost ~ # emerge -va eix

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-portage/eix-0.34.12::gentoo  USE="nls -debug -doc -sqlite" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-portage/eix-0.34.12::gentoo
 * Adjusting permissions for FEATURES=userpriv: '/var/tmp/portage/.distcc'
 * Adjusting permissions for FEATURES=userpriv: '/var/tmp/portage/.distcc/lock'
 * Adjusting permissions for FEATURES=userpriv: '/var/tmp/portage/.distcc/state'
^C
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Sat Mar 12, 2022 3:25 pm    Post subject: Reply with quote

I figured this out.

When it won't take yes, that's because you typed a <space> before the reply by accident. Maybe add "strip whitespace" to the code.

Code:


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] media-libs/libaom-3.3.0 [3.2.0]

Would you like to merge these packages? [Yes/No] Yes
Sorry, response ' Yes' not understood. [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-libs/libaom-3.3.0::gentoo
>>> Installing (1 of 1) media-libs/libaom-3.3.0::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.69, 0.84, 0.33
>>> Auto-cleaning packages...

Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sat Mar 12, 2022 4:00 pm    Post subject: Reply with quote

jesnow wrote:
I figured this out.

When it won't take yes, that's because you typed a <space> before the reply by accident.
To me it looks that it wasn't the case on your first post. There seems to be no extra space there.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Mar 12, 2022 5:00 pm    Post subject: Reply with quote

Zucca wrote:
jesnow wrote:
I figured this out.

When it won't take yes, that's because you typed a <space> before the reply by accident.
To me it looks that it wasn't the case on your first post. There seems to be no extra space there.
I believe keyboard interaction is queued. It's been a while, but I think that's why I enabled "--ask-enter-invalid".
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Sat Mar 12, 2022 6:52 pm    Post subject: Reply with quote

I realized I always pause my youtube video to look at the emerge -DNua world output, and sometimes the spacebar must go to the emerge window by mistake. It wasn't really a problem but now that I know it explains the behavior.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum