Pacman

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.
Tasklist

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
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
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.

Loading...