FS#57680 - [pacman] Output of altered files (pacman -Qkk) is wrong
Attached to Project:
Pacman
Opened by Markus Schanz (superhansel) - Wednesday, 28 February 2018, 21:04 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 01 March 2018, 15:16 GMT
Opened by Markus Schanz (superhansel) - Wednesday, 28 February 2018, 21:04 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 01 March 2018, 15:16 GMT
|
Details
I just checked for a way to find modified package files and
was pleased to find the -Qkk option of pacman. However,
although the output lists the modified files correctly, the
summary line does wrongly claim that zero files have been
modified.
For instance: ``` $ pacman -Qkk pacman-mirrorlist backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch) backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch) pacman-mirrorlist: 3 total files, 0 altered files ``` Pacman version is 5.0.2-2 |
This task depends upon
Comment by
Dave Reisner (falconindy) -
Wednesday, 28 February 2018, 21:27 GMT
Said modified files are backup files. We expect those to be
modified, and thus they're not counted in the summary. You can
suppress the output of those backup files and get a more concise
summary by adding -q.
Comment by
Markus Schanz (superhansel) -
Thursday, 01 March 2018, 11:23 GMT
I see. Thank you for the explaination. The distinction of package
files and backup files was new to me. Guess my bug report is
invalid then.