-
Notifications
You must be signed in to change notification settings - Fork 3
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
Berkshelf started failing cannot load such file -- archive/tar/minitar #26
Comments
I'm facing the same issue when executing
I noticed a change in the Previously berskhelf installation log was:
Now is:
So the workaround, while waiting for a new berkshelf release could be to explicitly install
|
There might be simple fix then, possibly just add minitar-cli here: Line 38 in 4d34215
|
On August 6, 2024 they published a breaking change in the archive-tar-minitar gem with v0.12 (See halostatue/minitar@4341800) Fixing this within berkshelf should theoretically mean raising the minimum version of minitar to 0.12 and changing this require statement berkshelf/lib/berkshelf/packager.rb Line 1 in 4d34215
to
Or, to fix this without changing berkshelf itself is to pin archive-tar-minitar to v0.8 before installing berkshelf:
|
This is incorrect. On 2024-08-06, I published the last version of minitar v0.12 along with the long deprecated archive-tar-minitar v0.12. The
Fixing this within
This is an unnecessary reference as |
@halostatue Thank you for the detailed explanation |
@zaichang Note that #27 has been provided as a fix for Berkshelf. The changes are slightly larger than I anticipated because they were continuing to use the deprecated |
Description
Berkshelf started failing in recent installations
Berkshelf Version
8.0.9 on old system (works)
8.0.9 on new system (fails)
Platform Version
Ubuntu 20.04 on AWS
Replication Case
Berks Output
running simply berks results in:
Stacktrace
The text was updated successfully, but these errors were encountered: