Making apt-get powercut-proof

PEDRO MACANAS VALVERDE macanas_ped at gva.es
Tue May 6 11:58:36 UTC 2008


De:  Bryce Harrington
Enviado el: lun 05/05/2008 22:51
Para: Andrew Sayers
CC: ubuntu-devel-discuss
Asunto: Re: Making apt-get powercut-proof



On Mon, May 05, 2008 at 08:57:36PM +0100, Andrew Sayers wrote:
> A friend of mine was upgrading to Hardy, and (so far as we can tell)
> there was a power cut while it was halfway through, which left his
> system in a not-especially-useful state.  I think the best solution is
> to have a /etc/init.d/{apt-get|dpkg} script that checks for
> half-finished installs, and restarts them if necessary.  If so, which
> (or both) would be better, and is there anyone here that knows enough
> about the two to suggest a complete set of commands that need to be run?
>  Also, is this something we should be doing in an Ubuntu-specific way
> (e.g. from X), or should I take this idea to Debian?

I think this is an Ubuntu specific way, because wants to be as easy (or even, more easy) than other operating systems.

And this really would be powercut-proof box, not only related to apt-get.

One could include an entry in the launchpad o brainstorm.

 

Regards.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20080506/65b1749f/attachment.html>


More information about the Ubuntu-devel-discuss mailing list