FS#42389 - Paccache writes blank lines to stderr

Attached to Project: Pacman
Opened by Vlalislav (dumphblooz) - Wednesday, 15 October 2014, 12:36 GMT
Last edited by Allan McRae (Allan) - Wednesday, 19 November 2014, 06:57 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I wanted to run paccache by cron and get strange empty errors. Problem is blank lines in stderr.

Summary and Info:
Using pacman-4.1.2-6

Steps to Reproduce:
$ paccache -d -vv --nocolor 2>&1 >/dev/null | sed 's/^$/blank line/g'
blank line
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 19 November 2014, 06:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 9d4d81783d5
Comment by Vlalislav (dumphblooz) - Wednesday, 15 October 2014, 12:58 GMT
Cron command to drop excess output:
# paccache -r -vv --nocolor 2> >(sed '/^$/d') | ts >> /var/log/paccache.log
Comment by Vlalislav (dumphblooz) - Thursday, 16 October 2014, 02:03 GMT
Problem happens only when packages to clean exists.

Loading...