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

Cannot install .deb package from forge: uses unknown compression for member 'control.tar.zst' #3235

Closed
3 tasks done
thehans opened this issue May 15, 2023 · 4 comments · Fixed by #3301
Closed
3 tasks done

Comments

@thehans
Copy link

thehans commented May 15, 2023

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

6.1.1

Electron version

v22.3.6

Operating system

Linux Mint 21.1 (build machine), Raspberry Pi OS based on debian 11 (install target)

Last known working Electron Forge version

No response

Expected behavior

Able to install forge-made .deb on stable Debian without errors.

I think ideally that compression method should be exposed as a configuration option.
Or possibly some way to say which debian release you are building for, where each release could have different defaults for compression or any other incompatibility differences?

Actual behavior

$ sudo dpkg -i ./pod-controller-app_1.0.4_amd64.deb 
dpkg-deb: error: archive './pod-controller-app_1.0.4_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive ./pod-controller-app_1.0.4_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 ./pod-controller-app_1.0.4_amd64.deb

Steps to reproduce

As far as I can tell, trying to install a deb from electron-forge on any Debian 11 based distro.

Additional information

No response

@hugofreire
Copy link

+1

@RouR
Copy link

RouR commented Jul 29, 2023

Also see electron-userland/electron-installer-debian#272

@davidchase
Copy link

Hi all, I have same issue (via workflows) as OP and I see this this has been close in #3301 can you now add compression to maker/deb which seems to use electron-installer-debian? or would i need to use electron-installer-debian directly ?

@RouR
Copy link

RouR commented Sep 7, 2023

It`s done already

{
      "name": "@electron-forge/maker-deb",
      "platforms": ["linux"],
      "config": {
        "options": {
          "compression": "gzip"
        }
      }
    } 

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

Successfully merging a pull request may close this issue.

5 participants