The NZ Linux Resource

[AuckLUG] dist-upgrade in Ubuntu

Martin Bähr mbaehr at email.archlab.tuwien.ac.at
Wed Feb 14 09:17:07 NZDT 2007


On Sat, Jan 13, 2007 at 01:06:59AM +1100, Daniel Pittman wrote:
> > Can I set it to run remotely through SSH (through screen)? - as I'm
> > not usually at home. What exactly happens once I hit the enter button
> > to execute the command?
> You can, but I don't recommend it.  If something goes wrong you might
> need to recover by hand, without network access.  

well, running screen never hurts. you can start the screen session at
home, leaving it running, monitor it through ssh (with screen -x, so as
to not disconnect at home) and if something really fails and it is not
fixable from remote then you'll just have to wait until you are back
home.

you can also split the download and the upgrade part:
apt-get -u dist-upgrade -d
will only download all files, then you run it again without -d and do
the actual upgrade. the download part will surely be safe to do from
remote.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/



More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz