Bug 81218

Summary: 5.4 dist archives not backwards compatible
Product: Base System Reporter: Wes Groleau <groleau+bsd>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Wes Groleau 2005-05-18 20:50:02 UTC
      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)

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)
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.
Comment 1 groleau+wes 2005-05-19 05:09:41 UTC
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                       ^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Comment 2 Kris Kennaway 2005-05-19 23:40:15 UTC
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
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2005-07-29 23:07:19 UTC
State Changed
From-To: open->closed

Feedback timeout