-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bundled 7zip executables to v23.01 #3285
Comments
We don't generally update the bundled version of 7Zip unless there is a reason to such as a CVE.
Does this mean that v21 will still be able to compress ARM libraries and you could use that? |
Yes we have done that so have worked around the issue. Understood on your policy for updating the bundled 7z. |
There are no known CVE's associated with the previous release, however, since there are improved support for some compression algoritms and without updating the bundled 7zip version used will cause such archives to not be able to decompress, it was decided to updated the bundled binaries
There are no known CVE's associated with the previous release, however, since there are improved support for some compression algoritms and without updating the bundled 7zip version used will cause such archives to not be able to decompress, it was decided to updated the bundled binaries
There are no known CVE's associated with the previous release, however, since there are improved support for some compression algoritms and without updating the bundled 7zip version used will cause such archives to not be able to decompress, it was decided to updated the bundled binaries
There are no known CVE's associated with the previous release, however, since there are improved support for some compression algoritms and without updating the bundled 7zip version used will cause such archives to not be able to decompress, it was decided to updated the bundled binaries
There are no known CVE's associated with the previous release, however, since there are improved support for some compression algoritms and without updating the bundled 7zip version used will cause such archives to not be able to decompress, it was decided to updated the bundled binaries
🎉 This issue has been resolved in version 2.2.1 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Checklist
What You Are Seeing?
I am trying to install a package using Install-ChocolateyZipPackage. The source file is a 7z archive created using 7z v23.01.
Choco will attempt to unpack this file using its own built in version of 7z from
C:\ProgramData\chocolatey\tools\7z.exe
. As of the latest version of choco v2.2.0, this version of 7z is v21.07. This version of 7z is incapable of unpacking this file, which causes the choco install to fail.What is Expected?
I would like some way to override the 7z binary which is used for this command. I actually have the latest version of 7z installed on this machine via
choco install 7zip.install
.A workaround would be the bump the bundled version of 7z to the latest.
How Did You Get This To Happen?
To reproduce, you must create an archive which is incompatible with the bundled version of 7z. In the case of 7z v23 vs v21, 7z has an improved way of compressing ARM libraries. As an example you can find some binaries in the Microsoft.Data.SqlClient.SNI NuGet package. If you compress these files using v23, you will get a 7z file which will fail to install using choco v2.2.0.
System Details
Installed Packages
Output Log
Additional Context
No response
The text was updated successfully, but these errors were encountered: