-
-
Notifications
You must be signed in to change notification settings - Fork 435
Failed to unpack registry archive #9764
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
Comments
Hi, I have had similar problems. It started out with the Github registry failing to install because of a missing @longthanhtran reported a similar problem in mason-org/mason.nvim#1929 (comment)
|
@tandetat , I had built neovim from source and I had not updated it in a long time, updating the neovim, and reinstalling latest versions of all the packages fixed this issue, and also removing "pylint" from mason solved the "registry.json.zip" error. |
Thank you for sharing your fix! I was using the latest version of neovim and didn’t have pylint installed, but reinstalling mason and all my packages solved the issue. |
Hello, i have my nvim setup in ubuntu 22.04, i never had any issues with mason, but recently i am seeing this error, i have not changed anything in my setup, i am not sure what is causing this error, i have pasted the MasonLog below, and when i do MasonUpdate i am getting the following error
Failed to update registries: ...are/nvim/lazy/mason.nvim/lua/mason-core/package/init.lua:102: bin: expected table: 0x7a2497a7f6c0, got table (table: 0x7a2497d62d10)
[ERROR Monday 21 April 2025 10:43:08 AM] ...cal/share/nvim/lazy/mason.nvim/lua/mason-core/result.lua:128: Failed to unpack registry archive. ...are/nvim/lazy/mason.nvim/lua/mason-vendor/zzlib/init.lua:191: .ZIP file comments not supported
[ERROR Monday 21 April 2025 10:43:08 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to unpack registry archive."
[ERROR Monday 21 April 2025 10:43:09 AM] ...cal/share/nvim/lazy/mason.nvim/lua/mason-core/result.lua:128: Failed to unpack registry archive. ...are/nvim/lazy/mason.nvim/lua/mason-vendor/zzlib/init.lua:191: .ZIP file comments not supported
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to unpack registry archive."
[ERROR Monday 21 April 2025 10:43:09 AM] ...cal/share/nvim/lazy/mason.nvim/lua/mason-core/result.lua:128: Failed to unpack registry archive. ...are/nvim/lazy/mason.nvim/lua/mason-vendor/zzlib/init.lua:134: checksum verification failed
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to unpack registry archive."
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "ENOENT: no such file or directory: /home/user/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip"
[ERROR Monday 21 April 2025 10:43:09 AM] ...cal/share/nvim/lazy/mason.nvim/lua/mason-core/result.lua:128: Failed to unpack registry archive. ...are/nvim/lazy/mason.nvim/lua/mason-vendor/zzlib/init.lua:134: checksum verification failed
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to unpack registry archive."
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "ENOENT: no such file or directory: /home/user/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip"
[ERROR Monday 21 April 2025 10:43:09 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "ENOENT: no such file or directory: /home/user/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip"
[ERROR Monday 21 April 2025 10:43:10 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "ENOENT: no such file or directory: /home/user/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip"
[ERROR Monday 21 April 2025 10:43:10 AM] ...cal/share/nvim/lazy/mason.nvim/lua/mason-core/result.lua:128: Failed to unpack registry archive. ...are/nvim/lazy/mason.nvim/lua/mason-vendor/zzlib/init.lua:191: .ZIP file comments not supported
[ERROR Monday 21 April 2025 10:43:10 AM] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to unpack registry archive."
The text was updated successfully, but these errors were encountered: