Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#23492 - [pacman] behaves secretively in scripting mode
Attached to Project:
Pacman
Opened by Tomas Mudrunka (harvie) - Tuesday, 29 March 2011, 04:38 GMT
Last edited by Dan McGee (toofishes) - Friday, 01 April 2011, 21:08 GMT
Opened by Tomas Mudrunka (harvie) - Tuesday, 29 March 2011, 04:38 GMT
Last edited by Dan McGee (toofishes) - Friday, 01 April 2011, 21:08 GMT
|
DetailsSummary and Info:
Pacman asks "Proceed with installation? [Y/n]" before telling me what he's going to do when it's in dumb-terminal mode (without progressbars, etc...) Steps to Reproduce: (Un/Re)Install some packages while redirecting pacman output somewhere eg.: # pacman -Syu | tee /tmp/paclog or # pacman -S xterm | tee /tmp/paclog warning: xterm-269-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... Proceed with installation? [Y/n] (NOTE that at this point i don't know what i am agreeing with!) Targets (1): xterm-269-1 Total Download Size: 0.00 MB Total Installed Size: 0.53 MB checking package integrity... checking for file conflicts... checking available disk space... upgrading xterm... |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 01 April 2011, 21:08 GMT
Reason for closing: Fixed
Additional comments about closing: Commit d8d89d8d27794
Friday, 01 April 2011, 21:08 GMT
Reason for closing: Fixed
Additional comments about closing: Commit d8d89d8d27794
Not sure what to do here.
But imho the newline should flush buffer, so maybe that problem is somewhere else...
Redirecting both FD's does not help:
[root@insomnia http]# LANG=C pacman -S xterm 2>&1 | tee /dev/paclog
warning: xterm-269-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Proceed with installation? [Y/n]
Targets (1): xterm-269-1
Total Download Size: 0.00 MB
Total Installed Size: 0.53 MB
checking package integrity...
checking for file conflicts...
checking available disk space...
upgrading xterm...
$ sudo ./src/pacman/pacman -S xterm 2>&1 | tee /tmp/paclog
warning: xterm-269-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): xterm-269-1
Total Download Size: 0.00 MB
Total Installed Size: 0.61 MB
Proceed with installation? [Y/n] ^C