Thank you for supporting/providing alien; I have used it successfully many times over the years.
Recently, I encountered an issue trying to convert a .deb to tarball (deb was qtsipm_9.1.18_linux64.deb)
with alien reporting an error:
no entry data.tar.gz in archive
gzip: stin: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Error executing "ar -p 'qtsimp_9.1.18_linux64.deb' data.tar.gz | gzip -dc | tar tf -": at XXX/Alien/Package.pm line 481
From error message (nice, complete error messages:) ) I was able to determine that the issue was the deb file has a "data.tar.xz" member instead of "data.tar.gz". I am assuming that debs are moving to xz.
It would be nice if alien could support this (thanks to the completeness of error message I was able to manually convert my deb to a tarball). I suspect this should be simple enough; check the archive for data.tar.(gz|xz) and branch depending on what is found.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for supporting/providing alien; I have used it successfully many times over the years.
Recently, I encountered an issue trying to convert a .deb to tarball (deb was qtsipm_9.1.18_linux64.deb)
with alien reporting an error:
no entry data.tar.gz in archive
gzip: stin: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Error executing "ar -p 'qtsimp_9.1.18_linux64.deb' data.tar.gz | gzip -dc | tar tf -": at XXX/Alien/Package.pm line 481
From error message (nice, complete error messages:) ) I was able to determine that the issue was the deb file has a "data.tar.xz" member instead of "data.tar.gz". I am assuming that debs are moving to xz.
It would be nice if alien could support this (thanks to the completeness of error message I was able to manually convert my deb to a tarball). I suspect this should be simple enough; check the archive for data.tar.(gz|xz) and branch depending on what is found.
just install dpkg package to use dpkg-deb -x for unpacking