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

Re: rollback after software upgrade



On Mon, Jul 26, 2010 at 06:19:39AM +0200, Michael Dominok wrote:
> On Wed, 21 Jul 2010 20:07:37 +0300
> Vladimir <tetlika@gmail.com> wrote:
> > Is there a way to rollback the software after standard "apt-get
> > (aptitude) upgrade"?
> 
> I use a little script which creates backup of the packages involved before doing the upgrade. I anything goes wrong during install all i have to do is to change into the backup directory and do dpgk -i *.

And hope the upgrade did convert any data files to a new incompatible
format.

In other words, short of a complete system backup, or a snapshot
filesystem, it can't be done.  Yes you can hack your way around it 99%
of the time, but that just isn't always good enough.

-- 
Len Sorensen


Reply to: