LWN: Comments on "No more .bz2 files from kernel.org" https://lwn.net/Articles/578160/ This is a special feed containing comments posted to the individual LWN article titled "No more .bz2 files from kernel.org". en-us Mon, 29 Sep 2025 12:41:37 +0000 Mon, 29 Sep 2025 12:41:37 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net No more .bz2 files from kernel.org https://lwn.net/Articles/579130/ https://lwn.net/Articles/579130/ k8to <div class="FormattedComment"> Not really. The flags like I and j and so on only exist in gnu tar for the most part and aren't entirely standard across the history of gnu tar patches either. If you're dealing with some other tar, there's not going to be a way to ask it to unpack the .xz file for you anyway. <br> <p> The only way to make slightly clearer shellscripts is to manually invoke the unpack with a pipe, and the danger to neglect to do so is opened by installing gnu tar. You could install schilly's tar if you want!<br> </div> Sat, 04 Jan 2014 02:43:15 +0000 Zsync for ubuntu images https://lwn.net/Articles/578909/ https://lwn.net/Articles/578909/ gmatht <div class="FormattedComment"> Reminds me of the days I requested Ubuntu provide zsync files for their images. It took a while, but they've added the zsync files. For those who aren't familiar with zsync, it uses a clever trick so that you can download only those parts of a gzip file that have changed.<br> </div> Fri, 03 Jan 2014 04:12:51 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578812/ https://lwn.net/Articles/578812/ Comet <div class="FormattedComment"> Back in '99 or so, I sent an email to the archive maintainers noting that the files were only in .gz format, showing the size benefits to using .bz2, the difference in time and thus the difference in cost when paying for dial-up modem access in the UK.<br> <p> I was pleasantly shocked when the reply was an email telling me that they'd gone ahead and provided .bz2 of every file and this was now complete.<br> <p> As the instigator (though not the hard worker) behind the availability of .bz2 files, I heartily endorse this change. Storage costs money too and the archive folks are generous enough already to provide two versions, to take on some more cost for themselves (and the RAM for their working sets) to benefit people retrieving content. You either grab the "portable" variant or the "best compressed" variant, there's no need for something in the middle. If download times/costs matter to you, install the xz tools.<br> </div> Thu, 02 Jan 2014 18:41:48 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578809/ https://lwn.net/Articles/578809/ rriggs <div class="FormattedComment"> LZO is nice but the last time I looked into it there was only a GPL library available. Has anyone released a good non-GPL LZO library yet -- one that can be used by MIT, BSD or Apache licensed software?<br> </div> Thu, 02 Jan 2014 18:15:35 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578672/ https://lwn.net/Articles/578672/ PaulWay <div class="FormattedComment"> A side note - it would be worth using zopfli to compress the .gz files. Zopfli spends a lot more time in the compression phase getting better compression, but the output is completely compatible with gzip.<br> <p> Or if speed and minimal memory usage is preferred over size, use lzo.<br> <p> I've been doing a bit of research on this topic for my own library (Cfile) :-)<br> <p> Have fun,<br> <p> Paul<br> </div> Thu, 02 Jan 2014 01:13:46 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578284/ https://lwn.net/Articles/578284/ josh <div class="FormattedComment"> That's only for auto-compression based on file extension. Auto-decompression requires no option:<br> <p> /tmp$ tar caf foo.tar.xz foo<br> /tmp$ file foo.tar.xz <br> foo.tar.xz: XZ compressed data<br> /tmp$ tar xf foo.tar.xz <br> /tmp$ tar tf foo.tar.xz <br> foo/<br> foo/bar<br> </div> Mon, 30 Dec 2013 19:43:28 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578203/ https://lwn.net/Articles/578203/ domo <div class="FormattedComment"> <p> <p> xz compresses tighter than bzip2 and decompresses faster than bzip2,<br> so to support 2 then gz &amp; xz seems now like the best choice.<br> <p> </div> Mon, 30 Dec 2013 14:04:47 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578201/ https://lwn.net/Articles/578201/ clopez <div class="FormattedComment"> You use 'a' to enable autodetection:<br> <p> <p> tar xfav file.tar.xz<br> </div> Mon, 30 Dec 2013 13:15:54 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578192/ https://lwn.net/Articles/578192/ josh <div class="FormattedComment"> Autodetection of decompressors is a built-in feature of tar; installing the package just gives tar the decompression tools it needs.<br> </div> Sun, 29 Dec 2013 21:47:02 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578191/ https://lwn.net/Articles/578191/ FranTaylor <div class="FormattedComment"> This is a handy package to install because it will allow you to write install scripts that will break on every other platform.<br> <p> </div> Sun, 29 Dec 2013 21:17:58 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578174/ https://lwn.net/Articles/578174/ josh <div class="FormattedComment"> You actually want xz-utils installed. Then use tar xf (without the usual z, j, or J), and tar will autodetect the right decompression tool to use.<br> </div> Sat, 28 Dec 2013 20:55:50 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578173/ https://lwn.net/Articles/578173/ theophrastus <div class="FormattedComment"> thank you for the explanation, one and all.<br> <p> (so... "sudo apt-get install lzma".<br> <p> hnh, even the informational messages are 'compressed':<br> <p> &gt;unlzma -v -t fred.lzma<br> fred.lzma: decoded succesfully<br> <p> ..or just too sophisticated for spelling [wink])<br> <p> </div> Sat, 28 Dec 2013 20:44:33 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578172/ https://lwn.net/Articles/578172/ jhoblitt <div class="FormattedComment"> The motivation may be save bandwidth by pushing those using bzip2 out of habit instead of necessity to lzma.<br> </div> Sat, 28 Dec 2013 20:13:50 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578171/ https://lwn.net/Articles/578171/ lambda <p> The real question is why they would keep three formats. gzip is useful as it's available pretty much everywhere in the default install, even on quite old systems, so anyone can use it. xz provides the best compression, so the smallest downloads for people who are able to use it. bzip2 was sitting in the middle not being particularly relevant; it's a bit smaller than gzip, and maybe a bit more widespread than xz, but each of the other formats already covered those use cases. <p> As xz has become more commonly available, the reason for keeping bzip2 around has become smaller and smaller. At some point, you just need to decide that the hassle of supporting 3 formats is not worth the value it provides. Sat, 28 Dec 2013 20:00:17 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578170/ https://lwn.net/Articles/578170/ mricon <div class="FormattedComment"> Providing every release in .tar.gz, .tar.bz2 and .tar.xz was deemed overly redundant. The goal is to provide two formats -- .tar.gz for fast decompression and maximum compatibility between various platforms, and .tar.xz for smaller tarballs (in order to save bandwidth for people downloading releases). With xz becoming ubiquitous, continuing to provide .bz2 releases was seen as offering little ongoing value, and so was dropped.<br> </div> Sat, 28 Dec 2013 19:00:05 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578168/ https://lwn.net/Articles/578168/ Tara_Li <div class="FormattedComment"> My guess is that two formats is all they really want to support - gzip for seriously old machine support, likely for machines with limited capabilities, and that in testing, xz tends to perform better than bzip2, so they go with xz for modern machines.<br> </div> Sat, 28 Dec 2013 18:01:00 +0000 No more .bz2 files from kernel.org https://lwn.net/Articles/578167/ https://lwn.net/Articles/578167/ theophrastus <div class="FormattedComment"> Curious as to why this was happening, i read the linked to and was still left uneducated. i suppose the answer might be 'fewer file types to deal with', but they're still allowing two. so if anyone knows the really real reason, (that an evil sinister Linus-insulting cabal is behind bzip2), please give us a hint here - thankee. <br> </div> Sat, 28 Dec 2013 17:31:01 +0000