You are not logged in.
This is a recurring issue for me. I'm not sure if the issue is related to urxvt, tmux, yaourt or something else, but I only encounter with that combination.
In yaourt, I can press enter to start building, but when I press enter to install, it just prints ^M (trying to use Ctrl-M just prints ^M too)
The only fix I've found is to exit the terminal and open a new one - quite annoying as I need to restart the upgrade (restarting yaourt doesn't help) .
Everything else seems to work just fine.
Any idea what might be the cause of this and how I can fix it?
Some versions:
rxvt-unicode (urxvt) v9.20 (urxvtc + urxvtd)
yaourt 1.5
tmux 1.9a
Linux simendsjo-t520 3.16.2-1-ck-bamboo #1 SMP PREEMPT Sun Sep 7 13:36:10 CEST 2014 x86_64 GNU/Linux (the bamboo part is just a small patch to include the Bamboo Pad in HID)
X.Org X Server 1.16.0
EDIT: Oh, and i3 4.8
Last edited by simendsjo (2014-09-09 14:09:26)
Offline
You probably can use 'Ctrl-D' a couple of times after hitting enter, to make yaourt register it. Either there is something wrong with yaourt or your shells configuration, try to use the default one to rule this out. I witnessed this several times with yaourt in zsh.
Offline
I'm completely lost as to how report problems and get help in the linux community, if I can't find any solution someone else has posted. So I'd very much like you to direct me to any resources that could help me to get better acquainted with the whole system. The problem here is that I don't know which part is failing or why, so I don't know where to turn to. Feel free to tell me about the etiquette of this forum too, if I'm doing something wrong.
The problem is that often my terminal (urxvt, with zsh shell) stops accepting enter key presses. It seems to be that this mostly happens after using yaourt. This makes it impossible to, for example, input a password. I have a faint memory of seing ^M printed on the screen during one of this sessions. That is pretty much all the info I have on the problem, but am willing to find out more if someone just tells me how.
Even though repairing the problem only requires a restart of a terminal, I don't think that anything in my OS should misbehave, espescially nothing this fundamental (the problem presists after exiting yaourt).
Offline
Same problem here: https://bbs.archlinux.org/viewtopic.php?id=186814
It sounds like yaourt is broken. The solution is simple: don't use yaourt.
-- Mod Note: Merged two threads on this issue --
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks for the quick reply.
Would you recommend just installing anything you need from the AUR manually? What about upgrades in that case?
If you don't think that yaourt is completely useless, would you happen to know how to report this bug to yaourt or to check if it's already known?
Offline
@hagfish, I suspect you can report yaourt bugs at http://archlinux.fr
But unless you really know how the AUR works (which from your questions I gather you don't) I'd strongly discourage using yaourt. Personally I'd discourage everyone from using yaourt - but if knowledgeable users opt in to it, more power to them. I'd encourage you to at least spend a little time just building aur packages with makepkg. Once you are comfortable with this you can look into aur helper programs - but there are *many* others besides yaourt.
I personally use cower - but pacaur is another that gets very good feedback - there are certainly others that I can't list off the top of my head. While no aur helper is "officially supported", cower was written by an active archlinux developer - so it is much less likely to do stupid and dangerous things. Yaourt seems to make a living in the realm of the stupid and dangerous (not slander - for evidence see their home page that recommends installing with "pacman -Sy <package>" EDIT for clarity: never run such a command. ).
Last edited by Trilby (2014-09-09 16:41:47)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Yeah, I'll stop using yaourt. Is the best place to find out about AUR the archwiki article on it? I remember reading parts of it, but just needing to get skype or something to work and not doing enough research. I'm sorry for being this ignorant about everything, I'll try to learn.
Thanks for the recommendations, even if I won't be using them for a while. Let's hope someone else can make use of them, or me after I get more comfortable with the fundamentals.
Offline
@hagfish, I suspect you can report yaourt bugs at http://archlinux.fr
(...) Yaourt seems to make a living in the realm of the stupid and dangerous (not slander - for evidence see their home page that recommends installing with "pacman -Sy <package>" EDIT for clarity: never run such a command. ).
@Trilby: Thanks for the tips. I've been using yaourt for years without any issues (EDIT: Well.. Except the ^M issue). What's the issue with "-Sy <pkg>"? Doesn't "y" just refresh from the server? I always run "yy" as an extra paranoid step to make sure my metadata is up to date.
The pacman wiki mentions "y" and "yy", but doesn't discourage them at all.
Last edited by simendsjo (2014-09-09 21:03:51)
Offline
Offline
The pacman wiki mentions "y" and "yy", but doesn't discourage them at all.
Um ... https://wiki.archlinux.org/index.php/Pa … nsupported
Do not use pacman -Sy package or any equivalent such as pacman -Sy and then pacman -S package.
One can certainly make a case that my view of yaourt is overstated. It is just my view (not official, not a 'moderator' position, just me). When yaourt works, it works wonderfully. But when it fails, it fails miserably.
Last edited by Trilby (2014-09-09 21:36:46)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Just had the same problem and <shift><enter> let me overcome this issue
Offline
Just had the same problem and <shift><enter> let me overcome this issue
What is shift+enter? PS: I switched to pacaur because of this though I like the yaourt interface better.
Offline
I noticed the same behaviour directly with pacman recently. Maybe it is shell[s configuration] related, zsh in my case.
Offline
I have the same probleme, any time I need to enter my password for a sudo command, not only Yaourt. I use zsh too, and Ctrl-Enter seems to do the trick.
Offline
same problem. yaourt + zsh + yakuake = ^M instead of Enter. as temporary solution i use Ctrl+j, but it's not right
Last edited by gwaewion (2014-09-25 06:39:47)
Offline
I had the problem too some time ago.
It appeared to be my terminal getting out of whack. I ran the reset command to restore it to a sane state.
Offline
I had the problem too some time ago.
It appeared to be my terminal getting out of whack. I ran the reset command to restore it to a sane state.
What reset command?
Offline
What reset command?
The built-in bash/zsh `reset` command. It works, indeed, but it's so boring.
Offline
Same problem here. It has appeared for several months.
I have to use reset command to reset tty.
Offline