Skip to content
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

Got "invalid zip file" error after running "unzip vm.zip" on ubuntu 22.04 #32

Open
wubin28 opened this issue Jul 19, 2023 · 7 comments
Open

Comments

@wubin28
Copy link

wubin28 commented Jul 19, 2023

Could not get the file chaos-ubuntu-18.04-amd64.ovf after running "unzip vm.zip" on ubuntu 22.04. But could on MacOS. Please check out the attached screenshots.
Screenshot from 2023-07-19 11-43-26
Screenshot from 2023-07-19 11-44-26
Screenshot from 2023-07-19 11-44-58

@seeker89
Copy link
Owner

I wonder if it's just bash listing them in the wrong order on Ubuntu.

To test that, would you mind doing something like (from memory, I think that's the right order):

cat *-VM-*.z01 >> vm2.zip
cat *-VM-*.z02 >> vm2.zip
cat *-VM-*.z03 >> vm2.zip
cat *-VM-*.zip >> vm2.zip

And then trying to unzip it?

@seeker89
Copy link
Owner

There is also the -FF option on zip, but personally I didn't seem to need to do that.

See https://unix.stackexchange.com/a/40565

@wubin28
Copy link
Author

wubin28 commented Jul 19, 2023

I wonder if it's just bash listing them in the wrong order on Ubuntu.

To test that, would you mind doing something like (from memory, I think that's the right order):

cat *-VM-*.z01 >> vm2.zip
cat *-VM-*.z02 >> vm2.zip
cat *-VM-*.z03 >> vm2.zip
cat *-VM-*.zip >> vm2.zip

And then trying to unzip it?

No such luck. Got the same error. Please see the attached screenshots.

Screenshot from 2023-07-19 19-32-56
Screenshot from 2023-07-19 19-33-57

@seeker89
Copy link
Owner

There is also the -FF option on zip, but personally I didn't seem to need to do that.

See https://unix.stackexchange.com/a/40565

Could you give ^ this a try? @wubin28

@wubin28
Copy link
Author

wubin28 commented Jul 29, 2023

There is also the -FF option on zip, but personally I didn't seem to need to do that.
See https://unix.stackexchange.com/a/40565

Could you give ^ this a try? @wubin28

still got some errors.
Screenshot from 2023-07-29 10-22-49
Screenshot from 2023-07-29 10-23-27
Screenshot from 2023-07-29 10-23-59
Screenshot from 2023-07-29 10-24-19

@Ruslanmsv
Copy link

if it helps: on macos it started unarchiving after opening .z01 file, not on .zip one.

@sinackfin
Copy link

sinackfin commented Sep 21, 2024

@wubin28
7z x chaos-engineering-VM-107cd1c250004e162e168607b71d09c41a66b0ec.z01
it helps me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants