[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utility to downgrade a package with its dependencies?



Darac Marjal a écrit :
On Thu, Jan 05, 2012 at 03:43:22PM +0100, Vincent Lefevre wrote:
I was in this situation myself a while ago and decided that the best
solution was as follows:
	* Before upgrading, take an LVM snapshot (this, of course, assumes
	  you ARE on LVM).
	* Perform the package upgrade and then test the new version.
	* If happy, delete the snapshot (this is a cheap operation)
	* If unhappy, rollback the snapshot (which takes a bit of time, but
	  gets you back to where you were).

Obviously, any other changes you made between the snapshot and the
rollback would also get rolled back.

Maybe the use of a version control system on /etc (through etckeeper for
example) could help to restore the appropriate configurations for
downgraded packages, with no side effect as the LVM snap would
introduce.

Nicolas


Reply to: