You are not logged in.

#1 2014-09-09 14:06:49

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Yaourt just printing ^M when typing return when installing

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

#2 2014-09-09 15:29:26

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Yaourt just printing ^M when typing return when installing

 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

#3 2014-09-09 16:28:55

hagfish
Member
Registered: 2013-01-01
Posts: 21

Re: Yaourt just printing ^M when typing return when installing

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

#4 2014-09-09 16:31:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: Yaourt just printing ^M when typing return when installing

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

#5 2014-09-09 16:34:12

hagfish
Member
Registered: 2013-01-01
Posts: 21

Re: Yaourt just printing ^M when typing return when installing

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

#6 2014-09-09 16:40:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: Yaourt just printing ^M when typing return when installing

@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

#7 2014-09-09 16:47:22

hagfish
Member
Registered: 2013-01-01
Posts: 21

Re: Yaourt just printing ^M when typing return when installing

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

#8 2014-09-09 21:00:17

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: Yaourt just printing ^M when typing return when installing

Trilby wrote:

@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

#9 2014-09-09 21:27:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Yaourt just printing ^M when typing return when installing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-09-09 21:35:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: Yaourt just printing ^M when typing return when installing

simendsjo wrote:

The pacman wiki mentions "y" and "yy", but doesn't discourage them at all.

Um ... https://wiki.archlinux.org/index.php/Pa … nsupported

pacman wiki wrote:

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

#11 2014-09-19 08:25:19

Rudolf Randal
Member
Registered: 2014-09-19
Posts: 1

Re: Yaourt just printing ^M when typing return when installing

Just had the same problem and <shift><enter> let me overcome this issue

Offline

#12 2014-09-19 08:27:32

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: Yaourt just printing ^M when typing return when installing

Rudolf Randal wrote:

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

#13 2014-09-19 08:53:06

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Yaourt just printing ^M when typing return when installing

 I noticed the same behaviour directly with pacman recently. Maybe it is shell[s configuration] related, zsh in my case.

Offline

#14 2014-09-20 13:17:36

DrWaluigi
Member
Registered: 2013-10-12
Posts: 6

Re: Yaourt just printing ^M when typing return when installing

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

#15 2014-09-25 06:37:08

gwaewion
Member
Registered: 2014-09-25
Posts: 9

Re: Yaourt just printing ^M when typing return when installing

same problem. yaourt + zsh + yakuake = ^M instead of Enter. as temporary solution i use Ctrl+j, but it's not right sad

Last edited by gwaewion (2014-09-25 06:39:47)

Offline

#16 2014-09-25 10:58:03

DelusionalLogic
Member
Registered: 2013-05-07
Posts: 40

Re: Yaourt just printing ^M when typing return when installing

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

#17 2014-09-29 07:11:38

simendsjo
Member
Registered: 2012-09-27
Posts: 113

Re: Yaourt just printing ^M when typing return when installing

DelusionalLogic wrote:

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

#18 2014-09-29 10:16:00

florian.klein
Member
Registered: 2011-10-20
Posts: 2

Re: Yaourt just printing ^M when typing return when installing

simendsjo wrote:

What reset command?

The built-in bash/zsh `reset` command. It works, indeed, but it's so boring.

Offline

#19 2014-12-11 04:55:21

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Re: Yaourt just printing ^M when typing return when installing

Same problem here. It has appeared for several months.
I have to use reset command to reset tty.

Offline

Board footer

Powered by FluxBB