NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/46307: /usr/ pkgsrc fails due to unknown compression

        Note: There was a bad value `' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         46307
>Category:       misc
>Synopsis:       /usr/ pkgsrc fails due to unknown compression
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 07 17:45:00 +0000 2012
>Originator:     Jan Schaumann
>Release:        NetBSD 5.1.2
AMI ami-230fdf4a

NetBSD domU-12-31-39-06-69-29.compute-1.internal 5.1.2 NetBSD 5.1.2 
(XEN3PAE_DOMU) #0: Thu Feb  2 17:18:36 UTC 2012


AMI ami-230fdf4a includes in /etc/motd the hint to run '/usr/ 
pkgsrc', but that command fails:

 /usr/ pkgsrc
 [: missing ]
 Downloading latest pkgsrc stable release...
 Trying 2001:470:1f05:3d::21:80 ...
 ftp: Can't connect to `2001:470:1f05:3d::21:80': No route to host
 Trying ...
 100% |*******************************************************| 21988 KiB  
418.63 KiB/s    00:00 ETA
 22516236 bytes retrieved in 00:52 (418.63 KiB/s)
 gzip: unknown compression format
 tar: End of archive volume 1 reached
 tar: Sorry, unable to determine archive format.


ec2-run-instances ami-230fdf4a
ssh <hostname>
/usr/ pkgsrc


First, fix the missing space in the [ test in

if [ $# -ne 1]; then

to become

if [ $# -ne 1 ]; then

(Add CVS keywords, perhaps, to facilitate finding the source for this?)

For the actual error, the pkgsrc tarball needs to be compressed using a format 
that is available on all systems. :-/


Home | Main Index | Thread Index | Old Index