On Sunday, December 19, 2010 06:07:04 pm Ken Moffat wrote: > On Sun, Dec 19, 2010 at 11:43:30PM +0100, pieter blomme wrote: > > Hi, > > > > I'm at section 6.23 of the book. I need to decompress this package, but > > I have never encountered a .xz archive before. I've tried several > > suggestions on the web concerning depackaging .xz archives, but all seem > > to return errors. Mostly something like: > > > > root:/sources# tar xzvf iana-etc-2.30-1-any.pkg.tar.xz > > > > gzip: stdin: not in gzip format > > tar: Child returned status 1 > > tar: Error is not recoverable: exiting now > > > > > > any help would be appreciated, > > pieter > > You seem to have two problems. The first is trivial - recent > versions of tar will use xz-utils to extract .tar.xz files. The > correct switch to force processing of a .xz archive is -J (-z is for > gzip or .gz files). However, xz-utils has not yet made it into the > LFS book (unless I missed the mail from the commit). > > Which leads me to your second problem: you should be using a pristine > version of this (apparently now orphaned) package, but the > '-1-any.pkg' in its name suggests you have been tricked into getting > something alse. I've no idea about the '.any.pkg' part of the name > (except, it has correctly been added by whoever packaged this and > made it available - I see no malice here), but the '-1' part indicates > a (distro-style) revision.
That package is part of Arch linux. The any refers to the architecure, this one works on any as opposed to i686 or x86_64 The pkg is for pacman pkg, their package manager The -1 is the first release of the 2.30 iana-etc source/package > > For this package, please try the copy from the development book: > http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/conglomeration/ > /iana-etc/iana-etc-2.30.tar.bz2 and please, for all packages, check the > md5sums of what you have > downloaded to be sure you haven't accidentally picked up something > different. > > ĸen -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page