FS#27909 - using the "yes" utility output a broken line

Attached to Project: Pacman
Opened by Remy Marquis (Spyhawk) - Wednesday, 11 January 2012, 23:47 GMT
Last edited by Dan McGee (toofishes) - Saturday, 11 February 2012, 22:03 GMT
Task Type Bug Report
Category Output
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 4.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

When using the "yes" utility to autoconfirm pacman prompt, pacman output a broken line.

"yes" is used here instead of "--noconfirm" to autocomfirm everything in a script/AUR helper, including conflicts (pacman default answer is "No").




Steps to Reproduce:

Install package with "yes":
$ sudo sh -c "yes | pacman-color -U /var/cache/pacman/pkg/cower-3.0.5-1-i686.pkg.tar.xz"

See the broken line in the output:
[...]
Proceed with installation? [Y/n] (1/1) checking package integrity [##################################################] 100%
(1/1) checking for file conflicts [##################################################] 100%
(1/1) removing cower-git [##################################################] 100%
(1/1) installing cower [##################################################] 100%

See also https://bbs.archlinux.org/viewtopic.php?id=125941 where the very same problem is described.
This task depends upon

Closed by  Dan McGee (toofishes)
Saturday, 11 February 2012, 22:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  commit 40a6c5c5ec
Comment by Karol Błażewicz (karol) - Thursday, 12 January 2012, 03:53 GMT
Before anyone asks, the regular pacman exhibits the same behavior:

Proceed with installation? [Y/n] (0/1) checking package integrity [

Loading...