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

Re: upgrade release notes - some automation



* Vincent McIntyre <Vince.McIntyre@atnf.csiro.au> [2005-04-10 15:43] :
> 
> Hi list,
> 
> I was reading through
> 
> http://www.debian.org/releases/testing/i386/release-notes/ch-upgrading.en.html
> 
> and thought that many of the checks could be done with a shell script.
> The information is all there on the page, but it requires the reader to
> parse rather a lot of text and check a lot of things.
> 
> I've hacked out something (attached) that attempts to do the basics
> and collate information that might be useful in a later upgrade report.
> I hope this will give people a bit more confidence they are ready to
> upgrade.
> 
> It appears to work on my woody+backports.org system.
> I'm aware some people would be unhappy letting such script loose on
> unsuspecting users, but note that it does not attempt to do the upgrade
> step for them. I think it will be a net gain, esp. if it captures
> information about their system in a parseable way.
> 
> OTOH I'm sure it has unforseen problems, please hack on it.

According to section 4.1 of the Release Notes, it *is* safe to upgrade
in an ssh session as opposed to telnet, rsh or X session. You could
apply the following patch (or something similar):

--- upgrade-prep.sh     Wed May 11 18:09:42 2005
+++ upgrade-prep.sh.old Wed May 11 18:10:46 2005
@@ -178,7 +178,8 @@
     Please make sure to copy the files in there to a safe place.
 
     Warning: do not try to upgrade from an X session, or via remote
-    connection (telnet, rlogin, rsh, ssh).
+    connection using telnet, rlogin or rsh.  However it is safe to
+    upgrade remotely using ssh.
 
     Next steps:
       0. Log into a text mode console terminal on your machine,


Fred



Reply to: