Debian upgrade rollback

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Dec 8 19:41:37 UTC 2009


On Tue, Dec 08, 2009 at 12:44:01PM -0500, Darryl Moore wrote:
> Exactly why I was specifically including:
> 
> backup  /var/lib/apt    localhost/
> backup  /var/lib/aptitude       localhost/
> 
> 
> As well I should (but neglected to) have added:
> 
> backup  /var/lib/dpkg   localhost/
> backup  /var/backups    localhost/
> 
> but none of the other /var/ subdirectories which are for other packages.
> 
> Of course if install scripts for other packages change these
> subdirectories when they are updated (I don't think they are suppose
> too) then this whole idea wont work.

They are supposed to if say mysql has a new format, then /var/lib/mysql
stuff needs converting so the package takes care of that.

The only thing a package should not touch is /home and /usr/local.
Everything else is fair game.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list