From nobody@FreeBSD.org  Wed May 18 19:46:40 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0A97716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 May 2005 19:46:40 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A8A2E43DC7
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 May 2005 19:46:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4IJkYuB094252
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 May 2005 19:46:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j4IJkYpY094241;
	Wed, 18 May 2005 19:46:34 GMT
	(envelope-from nobody)
Message-Id: <200505181946.j4IJkYpY094241@www.freebsd.org>
Date: Wed, 18 May 2005 19:46:34 GMT
From: Wes Groleau <groleau+bsd@freeshell.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 5.4 dist archives not backwards compatible
X-Send-Pr-Version: www-2.3

>Number:         81218
>Category:       bin
>Synopsis:       5.4 dist archives not backwards compatible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 18 19:50:02 GMT 2005
>Closed-Date:    Fri Jul 29 22:07:35 GMT 2005
>Last-Modified:  Fri Jul 29 22:07:35 GMT 2005
>Originator:     Wes Groleau
>Release:        4.11
>Organization:
Ain't no organization here!
>Environment:
I am not at the machine, but it has a Pentium Pro (i386)
>Description:
      i386/5.4-RELEASE split archives cammot be unpacked by a 4.11 installation.  Repeats: "Unknown file type 'x', extracted as normal file" until error count limit is reached.
(I had a 4.9 system, and due to various issues, am forced to use the method below to upgrade.  This method worked for 4.11, but 4.11 was not able to get 5.4)
>How-To-Repeat:
      Let /tmp/Download be a directory on a machine running FreeBSD 4.11
      This machine has no internet access.  On an iMac with dialup,<BR>
      NFS Mount the directory at /BSD <BR>
      cd /BSD <BR>
      wget --mirror --passive-ftp ftp://ftp2.freebsd.org/......../5.4-RELEASE <BR>

On the FreeBSD machine (it has two disks), dismount all partitions of the target disk, NOT the disk booted.  In my case /dev/ad1s1 was booted and ad1s0 is the one I want to upgrade
<BR> mkdir /UPGRADE
<BR> mount /dev/ad0s1a /UPGRADE
<BR> mount /dev/ad0s1e /UPGRADE/var
<BR> mount /dev/ad0s1f /UPGRADE/tmp
<BR> mount /dev/ad0s1g /UPGRADE/usr
<BR> cd /tmp/Download/......../5.4-RELEASE/base
<BR>Look in install.sh and copy the cat base.?? | tar (et cetera) command.  Use /UPGRADE for the destination.
<BR> Watch it fail.
>Fix:
      Include in the tools directory binary versions of tar that can execute on earlier O.S. installations but are capable of unpacking these archives.

Or document command-line options for making it work on earlier systems
(if possible)
>Release-Note:
>Audit-Trail:

From: Wesley Groleau <groleau+wes@freeshell.org>
To: bug-followup@FreeBSD.org, groleau+bsd@freeshell.org
Cc:  
Subject: Re: bin/81218: 5.4 dist archives not backwards compatible
Date: Wed, 18 May 2005 23:09:41 -0500

 I found a workaround:  Apparently, enough got loaded before 'tar'
 bailed out to make the disk bootable.  The boot sequence hung before
 giving a login prompt, and remote logins wouldn't work.  However,
 by unplugging peripherals, I finally shook it loose enough to
 a place where Ctrl-C would exit the startup script.
 
 Then I was able to repeat the commands using the 'tar' that the
 failed attempt had installed.
 
 -- 
 Wes Groleau
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ^  A UNIX signature isn't a return address, it's the ASCII equivalent ^
 ^  of a black velvet clown painting.  It's a rectangle of carets      ^
 ^  surrounding a quote from a literary giant of weeniedom like        ^
 ^  Heinlein or Dr. Who.                                               ^
 ^                                -- Chris Maeda                       ^
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 

From: Kris Kennaway <kris@obsecurity.org>
To: Wes Groleau <groleau+bsd@freeshell.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/81218: 5.4 dist archives not backwards compatible
Date: Thu, 19 May 2005 15:40:15 -0700

 --IiVenqGWf+H9Y6IX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Wed, May 18, 2005 at 07:46:34PM +0000, Wes Groleau wrote:
 
 >       i386/5.4-RELEASE split archives cammot be unpacked by a 4.11 installation.  Repeats: "Unknown file type 'x', extracted as normal file" until error count limit is reached.
 
 AFAIK this isn't actually an error.  Are you sure?
 
 Kris
 
 --IiVenqGWf+H9Y6IX
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQFCjRXNWry0BWjoQKURApn2AKDvlIUIwg71UILjQGg+HpWr03SH3ACdHiX/
 iR3bCyAeJpaPHuizPbdBlu4=
 =s/nK
 -----END PGP SIGNATURE-----
 
 --IiVenqGWf+H9Y6IX--
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Jul 29 22:07:19 GMT 2005 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81218 
>Unformatted:
