Debian upgrade rollback

Jon VanAlten vanaltj-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Dec 8 19:55:06 UTC 2009


I am usually using an rpm/yum based system, but does dpkg/apt not
provide a way to roll back a package to an older version?  (Possibly
requiring that the appropriate .deb files be available).

jon


On Tue, Dec 8, 2009 at 2:47 PM, Darryl Moore <darryl-90a536wCiRb3fQ9qLvQP4Q at public.gmane.org> wrote:
> Hmm, yup, I agree. It's a bad idea. I guess a raid is about the only way
> to go.
>
> cheers,
> darryl
>
> Lennart Sorensen wrote:
>> 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.
>>
> --
> 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
>
--
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