Subject: install/13746: sysinst does not allow remote upgrades
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jhawk@MIT.EDU>
List: netbsd-bugs
Date: 08/18/2001 16:48:52
>Number:         13746
>Category:       install
>Synopsis:       sysinst does not allow remote upgrades
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 09:49:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Hawkinson
>Release:        1.5.1
>Organization:
	MIT
>Environment:
	
System: NetBSD mail 1.5 NetBSD 1.5 (HOMEWORLD) #0: Sat Feb 10 08:13:16 EET 2001 mycroft@netbsd.hut.fi:/usr/src/sys/arch/i386/compile/HOMEWORLD i386


>Description:
	
   Myrddin Emrys describes his problem (below). There is no way to remotely
perform a NetBSD upgrade from 1.5 to 1.5.1 (or suchlike) via sysinst.
Sure, you can extract the sets by hand, but in addition to being
potentially error-prone, there's no good way to perform functions like
the removal of obsolete files, etc.

>How-To-Repeat:
	
From netbsd@spiritusa.net Thu Jul 12 15:49:56 2001
  by mail.netbsd.org with SMTP; 12 Jul 2001 15:49:56 -0000
Message-ID: <00ee01c10aea$de43e0e0$0a00000a@spiritusa.net>
From: "Myrddin Emrys" <netbsd@spiritusa.net>
To: <netbsd-users@netbsd.org>
Subject: Remote Upgrade of 1.5 to 1.5.1
Date: Thu, 12 Jul 2001 10:54:00 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Length: 745
Lines: 16

I have remote access only to a colocated DNS server. I would like to upgrade
the server remotely if possible... the drive is considerable, especially
since my car is not functioning at the moment. :-)

What steps should I take to make the upgrade as smoothly as possible? From
what I understand, I should download the new sets, backup my /etc, stop all
services (except for sshd of course), extract the relevant sets except for
/etc, extract the new /etc to something like /etc.new, and reboot. Then
resolve any issues with new /etc formats after the computer is back up.

Is this likely to work? Did I miss any steps I'll need to perform? I really
don't want to have to physically go to the box if I mess up and can no
longer ssh in.

Myrddin


From netbsd@spiritusa.net Fri Jul 13 14:27:20 2001
  by mail.netbsd.org with SMTP; 13 Jul 2001 14:27:20 -0000
Message-ID: <019b01c10ba8$7b9295e0$0a00000a@spiritusa.net>
From: "Myrddin Emrys" <netbsd@spiritusa.net>
To: <netbsd-users@netbsd.org>
Subject: Leftover Files after 1.5 -> 1.51 Upgrade
Date: Fri, 13 Jul 2001 09:31:19 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Length: 371
Lines: 6

After updating the kernel, extracting the sets, and running 1.51... how can
I clean up any leftover files that are no longer used in 1.51? Extracting
sets will add new files, but it won't remove old apps that are no longer
used. Other than extracting the file lists from the old tars and doing a
diff on the new sets, is there a way to easily clean up unused 1.5 files?
>Fix:
	

I think a reasonable first cut would be to install sysinst as part of
the OS and allow the execution of various functions independantly from
the base install. Or perhaps build it and make it avaialble in
installation/misc/...
>Release-Note:
>Audit-Trail:
>Unformatted: