You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: The in-app updater fails on Arch because the package ships upstream's Debian package-type marker. #17702
/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
fix(linux): stop offering updates a distro-managed install cannot apply
fix(linux): stop offering updates a distro-managed install cannot apply
fix(linux): stop offering updates a distro-managed install cannot apply
fix(linux): stop offering updates a distro-managed install cannot apply
fix(linux): stop offering updates a distro-managed install cannot apply
fix(linux): stop offering updates a distro-managed install cannot app…
nwparker commentedon Sep 2, 2026
Closing as fixed by #17918, which stops distro-managed Linux installs from being offered an incompatible updater.
docs(linux): document orcad update restart safety (#17320)
fix(linux): land the reviewed Linux packaging stack on main (#18100)
fix(linux): land the reviewed Linux packaging stack on main (stablyai…