<HTML dir=ltr><HEAD><TITLE>Re: Making apt-get powercut-proof</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText9230 dir=ltr>
<DIV dir=ltr><FONT face=Tahoma size=2><B>De:</B>  Bryce Harrington<BR><B>Enviado el:</B> lun 05/05/2008 22:51<BR><B>Para:</B> Andrew Sayers<BR><B>CC:</B> ubuntu-devel-discuss</FONT></DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>Asunto:</B> Re: Making apt-get powercut-proof<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>On Mon, May 05, 2008 at 08:57:36PM +0100, Andrew Sayers wrote:<BR>> A friend of mine was upgrading to Hardy, and (so far as we can tell)<BR>> there was a power cut while it was halfway through, which left his<BR>> system in a not-especially-useful state.  I think the best solution is<BR>> to have a /etc/init.d/{apt-get|dpkg} script that checks for<BR>> half-finished installs, and restarts them if necessary.  If so, which<BR>> (or both) would be better, and is there anyone here that knows enough<BR>> about the two to suggest a complete set of commands that need to be run?<BR>>  Also, is this something we should be doing in an Ubuntu-specific way<BR>> (e.g. from X), or should I take this idea to Debian?<BR><BR>I think this is an Ubuntu specific way, because wants to be as easy (or even, more easy) than other operating systems.</FONT></P>
<P><FONT size=2>And this really would be powercut-proof box, not only related to apt-get.</FONT></P>
<P><FONT size=2>One could include an entry in the launchpad o brainstorm.</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Regards.</FONT></P>
<P><FONT size=2></FONT> </P></DIV></BODY></HTML>