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

Multi file/split archive #273

Open
natemason opened this issue Jun 29, 2022 · 2 comments
Open

Multi file/split archive #273

natemason opened this issue Jun 29, 2022 · 2 comments

Comments

@natemason
Copy link

Hi,

I have a large setup package (about 19GB/9GB compressed) so I'm trying to split it with the tar Tape and Multi-volume options. I'm hoping someone else has come up against this and might have some recommendations on how to approach it (aside from the obvious of reducing the package size)

When running makeself with the following command I get the errors below:
sh ./makeself/makeself.sh --tar-format gnu --gzip --tar-extra '--tape-length=1048576 -M --file=tar_archive.{tar,tar-{2..100}}' my-installer.run 'Installer' ./setup.sh

About to compress 19761280 KB of data... Adding files to archive named "installer.run"... tar: This does not look like a tar archive Prepare volume #2 for ‘tar_archive.{tar,tar-{2..100}}’ and hit return: tar: EOF where user reply was expected tar: WARNING: Archive is incomplete tar: Error is not recoverable: exiting now ERROR: failed to create temporary archive: /tmp/mkself60979.tar
If I run tar with the extras provided to makeself it works fine:
tar --tape-length=1048576 -cMv --file=tar_archive.{tar,tar-{2..100}}

Tar options -c and -v I've omitted since makeself is passing that through already. I've also tried with and without the --gzip flag. I'm using the gnu format as the ustar default errors out due to the size.

Running on ubuntu 22.04.

Thanks in advance.

@smith84
Copy link

smith84 commented Mar 22, 2023

Hi, did you find a solution to this? We're using makeself to package up a 5GiB archive and I've just found out that our download centre can only handle 1GiB files...

@natemason
Copy link
Author

Sorry no luck with splitting.

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

2 participants