FS#56704 - Pacdiff -p doesn't find pacsave files
Attached to Project:
Pacman
Opened by Stefan (Aentfs) - Wednesday, 13 December 2017, 12:56 GMT
Last edited by Andrew Gregory (andrewgregory) - Friday, 15 December 2017, 02:36 GMT
Opened by Stefan (Aentfs) - Wednesday, 13 December 2017, 12:56 GMT
Last edited by Andrew Gregory (andrewgregory) - Friday, 15 December 2017, 02:36 GMT
|
Details
Summary and Info:
The pacdiff utility with the -p (--pacmandb) option doesn't find *.pacsave files, while -f (--find) does find them. I can't say, if it finds *.pacorig files, as I don't have a way to test that. Steps to Reproduce: 1. Install package like 'wireless-regdb' 2. Change a file listed in the backup array (for 'wireless-regdb': '/etc/conf.d/wireless-regdom') 3. Remove package without the -n (--nosave) option 4. Run 'pacdiff -p' (or only 'pacdiff' as -p is the new default) 5. Pacdiff finds *.pacnew files, but not *.pacsave files Additional information: This bug is not limited to removing packages, as upgrades can create *.pacsave files as well. A recent example for this is the 'sddm' package. During upgrade it removed (and backed up) '/etc/sddm.conf'. |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Friday, 15 December 2017, 02:36 GMT
Reason for closing: Not a bug
Friday, 15 December 2017, 02:36 GMT
Reason for closing: Not a bug
Comment by
Andrew Gregory (andrewgregory) -
Wednesday, 13 December 2017, 13:36 GMT
Of course pacdiff -p doesn't find pacsave files for removed
packages/files. It uses the database and removed packages/files
are no longer in the database.