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#56106 - command pacman --debug not 100% redirectable
Attached to Project:
Pacman
Opened by alle balle (calliuz) - Tuesday, 24 October 2017, 14:50 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 24 October 2017, 20:57 GMT
Opened by alle balle (calliuz) - Tuesday, 24 October 2017, 14:50 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 24 October 2017, 20:57 GMT
|
DetailsSummary and Info:
I'm using "Pacman v5.0.2 - libalpm v10.0.2". I'm trying to redirect the text output when execuitng a debug run of pacman. But only the following text is redirectable (stdout) downloading core.db... core is up to date downloading extra.db... extra is up to date downloading community.db... community is up to date downloading multilib.db... multilib is up to date archlinuxfr is up to date :: Starting full system upgrade... there is nothing to do Steps to Reproduce: sudo pacman --debug -Syu >pacm_debug.txt |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 24 October 2017, 20:57 GMT
Reason for closing: Not a bug
Additional comments about closing: pacman --debug writes to both stdout/stderr
Tuesday, 24 October 2017, 20:57 GMT
Reason for closing: Not a bug
Additional comments about closing: pacman --debug writes to both stdout/stderr
sudo pacman --debug -Syu > pacm_debug.txt 2>&1
This redirects file descriptor #2 (stderr) into FD#1 (stdout).
sudo pacman --debug -Syu >pacm_debug.txt 2>&1
did the job.