7z can’t decompress archives created with lbzip2 with -9 settings
- 主要語言
- PHP
- 星號
- 7.3k
- 分支
- 294
- 平均合併
- 14 天 16 小時
- 30 天內合併 PR
- 1
描述
7z can’t decompress archives created with lbzip2 with -9 settings (900k block size), even though they open just fine with the native Archive Utility on macOS or The Unarchiver or unar CLI utility… and after checking the checksum of the decompressed file, md5 checks out… so it doesn’t seem that the archive was damaged during compression, but for some reason 7z rejects to decompress it.
Keka also shows an error, since it uses 7z to decompress archives.
Large bzip2 archives created with pbzip2 with -9 settings (it also means 900k compression block size in pbzip2) don’t seem to be affected… and it also doesn’t seem to be affecting archives created with lbzip2 if -8 or lower is used.
So, I’m not sure what’s so different about lbzip2 archives compressed with that -9 option, that it seems to be confusing 7z.
I tested it with several large files of different types… I first noticed it when compressing an ISO with some data files that was about 730 MB large… I then tried some larger file and it happened again when I tried to see can it be uncompressed with 7z… but it didn’t happen with small files that were only a few MB big when they were compressed with lbzip2 when -9 option was used… I then tried it with some large HEVC video that was about 770 MB (it was just an experiment… I’m aware what incompressible data is… I just tried it with a video because it was a large file, to test it) and it happened again.
So… just get various large files and test it.
Let the developers of 7zip know, since lbzip2 seems to be kind of popular among Linux users.
Since both lbzip2 and 7z are open-source, maybe their developers could work together to resolve it, so lbzip2 wouldn’t create files that confuse 7z (including older versions of it) and so 7z could open old files from lbzip2.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。