Skip to content

[maker-deb] Failed to create DEB package #3804

Open
@hron84

Description

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

7.6.0

Electron version

v33.3.1

Operating system

Ubuntu 24.04.1 LTS

Last known working Electron Forge version

No response

Expected behavior

DEB package corretly builds

Actual behavior

❯ Making distributables
  ✖ Making a deb distributable for linux/x64
    › Command failed with a non-zero return code (2):
      fakeroot dpkg-deb --build /tmp/electron-installer--51997-DZStMEFPGauK/youtube-desktop_1.0.5_amd64
      dpkg-deb: error: control directory has bad permissions 750 (must be >=0755 and <=0775)

Steps to reproduce

I want to build https://github.com/mikepruett3/youtube-desktop on my machine based on the documentation of the project.

As far as I see, the project itself does not configure anything for electron-forge/maker-deb other than the icon file. Therefore I don!t think it is the project's fault, I assume Ubuntu changed some expectations in dpkg-deb according to the control directory and electron-forge setups the folder incorrectly.

Additional information

No response

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions