Skip to content

[Bug]: The in-app updater fails on Arch because the package ships upstream's Debian package-type marker. #17702

Closed

Description

@rudivdm

Operating system

Linux

Orca version

1.4.191-1

Details

In app updater fails on Arch/Omarchy

/opt/Orca/resources/package-type contains "deb" — package() unpacks
data.tar.xz from upstream's .deb straight into $pkgdir, and that marker rides
along unchanged. Orca then believes it is a Debian install.

Result: electron-updater selects DebUpdater, downloads the .deb, and on
quitAndInstall does this:

[autoUpdater] New version 1.4.193 has been downloaded to
              ~/.cache/orca-updater/pending/orca-ide_1.4.193_amd64.deb
[autoUpdater] Executing: command with args: -v,dpkg
[autoUpdater] Executing: command with args: -v,apt
[autoUpdater] Error: Neither dpkg nor apt command found.
              Cannot install .deb package.
    at DebUpdater.doInstall (electron-updater/out/DebUpdater.js:34:32)

which surfaces in the UI as "No supported package manager was found in the
system directories, so Orca cannot build a safe install command."

Upstream already handles the distro case. From resources/app.asar:

if (value === "deb" || value === "rpm") return value;
if (value !== "pacman") warnMarkerUnusable("marker is not deb or rpm");
return null;

"pacman" is a recognised value that returns null silently — upstream's way of
saying "distro-managed, don't self-install".

Tested on onorca-bin 1.4.191-1 (Arch, Hyprland): with the marker set to
"pacman", the updater does not run at all — no check, no download, no install
attempt, no error, app otherwise fully functional (still clean after 60s
uptime). With "deb" it reproduces the failure above every launch.

Note the tradeoff: this disables the in-app update notification too, which
seems correct for a distro package since upgrades come from the AUR.

Suggested fix, one line at the end of package():

# Upstream's updater reads this marker to build an install command. The
# .deb says "deb", so on Arch it hunts for apt/dpkg and errors out.
# "pacman" is upstream's own value for "distro-managed, don't self-install".
echo pacman > "$pkgdir/opt/Orca/resources/package-type"

Activity

  1. added theissue type on Aug 31, 2026
  2. added 9 commits that reference this issue on Sep 1, 2026
    e1bc42f
    c6edad4
    2f3c298
    1d94cc6
    8c87155
    25be325
  3. nwparker commented on Sep 2, 2026

    @nwparker
    Contributor

    Closing as fixed by #17918, which stops distro-managed Linux installs from being offered an incompatible updater.

  4. added 2 commits that reference this issue on Sep 2, 2026
    39d20cf
    f37d2fe
  5. added a commit that references this issue on Oct 15, 2026
    f795fb4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingos:linuxIssues affecting Linux

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions