Skip to content

fix(release): give a .deb and .rpm install something to update to - #691

Merged
EVWorth merged 1 commit into
mainfrom
fix/updater-package-keys
Sep 13, 2026
Merged

EVWorth merged 1 commit into
mainfrom
fix/updater-package-keys

Conversation

@EVWorth

@EVWorth EVWorth commented Sep 13, 2026

Copy link
Copy Markdown
Owner

The updater asks for {os}-{arch}-{installer} before {os}-{arch} — tauri-plugin-updater 2.10.1, Update::download_url — where installer is appimage, deb, rpm, app, msi or nsis. #572 removed those suffixed keys on the reasoning that nothing reads them.

Something does. From a real 1.0.0 log on a package install:

Searching for updater target 'linux-x86_64-rpm' in release data
Searching for updater target 'linux-x86_64' in release data

…and then nothing, because the only key present pointed at an AppImage, which an rpm install cannot apply. Every .deb and .rpm user could not update at all — the worst group to strand, since they're the ones a bad release reaches first.

All eleven keys now, each pointing at something the updater for that format can install (the plugin shells out to dpkg -i and rpm -U via pkexec). The half of #566 that stays true is that a key must point at an applicable artifact — so macOS keeps .app.tar.gz under both its keys and .dmg under neither.

The manifest's self-check lists all eleven, so adding a platform to the table without adding it there fails at release time rather than becoming a gap someone finds months later.

Still not fixed, and not fixable here: a package install on an image-based system (rpm-ostree, read-only /usr) can't apply any of these. That's the app's to explain.

16 tests in test-build-update-manifest.sh pass.

🤖 Generated with Claude Code

The updater asks for `{os}-{arch}-{installer}` before `{os}-{arch}` —
tauri-plugin-updater 2.10.1, `Update::download_url` — where installer is
appimage, deb, rpm, app, msi or nsis. #572 removed those suffixed keys on
the reasoning that nothing reads them.

Something does. A 1.0.0 log from a package install shows

  Searching for updater target 'linux-x86_64-rpm' in release data
  Searching for updater target 'linux-x86_64' in release data

and then nothing, because the only key present pointed at an AppImage,
which is not a thing an rpm install can apply. Every .deb and .rpm user
was unable to update at all, which is the worst possible group to strand:
they are the ones a bad release reaches first.

All eleven keys now, each pointing at something the updater for that
format can actually install — the plugin runs `dpkg -i` and `rpm -U`
through pkexec. What stays true from #566 is the other half of the rule:
a key must point at an applicable artifact, so macOS keeps the
`.app.tar.gz` under both its keys and the `.dmg` under neither.

The manifest's own check now lists all eleven, so adding a platform to
the table without adding it there fails at release time rather than
becoming a gap someone finds months later.

A package install on an image-based system — rpm-ostree, or anything with
a read-only /usr — still cannot apply any of these. That one is the app's
to explain, and is not fixed here.

Co-Authored-By: Claude Opus 5 <[email protected]>
@EVWorth
EVWorth merged commit 969bebe into main Sep 13, 2026
12 checks passed
@EVWorth
EVWorth deleted the fix/updater-package-keys branch September 13, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant