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
Linux .deb auto-update downloads package but does not install when /opt/Orca requires root #15744
On Linux, Orca's in-app automatic updater downloads the new .deb package but does not install it when Orca is installed under /opt/Orca, which is owned by root:root. The updater reports that administrator rights are not required, so the application remains on the old version without an obvious completed update.
Environment
OS: Linux under WSL2
Package: orca-ide.deb
Installed path: /opt/Orca
Installed path ownership: root:root, mode 755
Before update: 1.4.183
Downloaded update: 1.4.186
Reproduction
Install Orca from the Linux .deb under /opt/Orca.
Start Orca version 1.4.183.
Use the in-app automatic update flow.
Allow the updater to download the available update.
However, installing into /opt/Orca requires administrator privileges. The application continued to report version 1.4.183 until the package was installed manually with:
After manual installation, Orca started normally on 1.4.186.
Expected behavior
The updater should either:
correctly detect that administrator privileges are required and request them to install the package; or
clearly report that the package was downloaded but needs manual installation, including the exact package path and next step.
Ideally, the update should be installed automatically after user confirmation, without silently leaving the application on the old version.
Additional notes
The downloaded package checksum matched the updater's expected SHA-512 value. This appears to be an installation/privilege handling issue rather than a download integrity issue.
update-downloaded on deb/rpm no longer claims success. It emits an error status carrying a linux-package-install recovery, and the card offers Copy Install Command (sudo <apt|dpkg|dnf|zypper> … <exact cache path>) and Show Package — the second behaviour this issue asked for.
Orca deliberately no longer escalates: performQuitAndInstall hard-returns for deb/rpm and autoInstallOnAppQuit is gated to non-root, so it never reaches electron-updater's pkexec/sudo path. That path was also more forceful than what users are now told to run (-y, --nodeps, --replacefiles).
Activity
nwparker commentedon Aug 21, 2026
Thanks for reporting this.
Yeah, I am working on some linux related issues this + next week 🫡
nwparker commentedon Sep 2, 2026
Fixed and now on
mainvia #18100.update-downloadedon deb/rpm no longer claims success. It emits anerrorstatus carrying alinux-package-installrecovery, and the card offers Copy Install Command (sudo <apt|dpkg|dnf|zypper> … <exact cache path>) and Show Package — the second behaviour this issue asked for.Orca deliberately no longer escalates:
performQuitAndInstallhard-returns for deb/rpm andautoInstallOnAppQuitis gated tonon-root, so it never reaches electron-updater'spkexec/sudopath. That path was also more forceful than what users are now told to run (-y,--nodeps,--replacefiles).