The NZ Linux Resource

[AuckLUG] dist-upgrade in Ubuntu

Daniel Pittman daniel at rimspace.net
Sat Jan 13 13:45:51 NZDT 2007


Martin Bähr <mbaehr at email.archlab.tuwien.ac.at> writes:
> 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. 

That is very true.

> 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.

Also true -- but, generally, I prefer to have the time between the two
to be minimal. :)

> 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.

I still strongly advise reading the release notes, since Ubuntu (like
Debian) recommend a few more steps than /just/ running the upgrade in
order to ensure a smooth process.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



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