Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#24192 - pacman overwrites .pacsave files

Attached to Project: Pacman
Opened by Robert Hollencamp (rhollencamp) - Monday, 09 May 2011, 20:54 GMT
Last edited by Allan McRae (Allan) - Friday, 04 January 2013, 13:02 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.3
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 4
Private No


I needed to install php52 in order to test some backwards compatibility (not all of our servers are on 5.3). 'pacman -S php52' installed without a problem and moved my old php.ini to php.ini.pacsave. When I was done testing, I used 'php -S php' to upgrade back to php 5.3. This moved php 5.2's php.ini to php.ini.pacsave, overwriting my old config.

If [filename].pacsave already exists, it shouldn't be overwritten; perhaps [filename].pacsave.1, [filename].pacsave.2, etc
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 04 January 2013, 13:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit b6320de4