Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When upgrading to a new Qubes release, it's too easy for users to miss when the new release doesn't support their existing pre-EOL templates #9121

Open
andrewdavidwong opened this issue Apr 16, 2024 · 9 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: manager/widget C: templates C: updates needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. ux User experience

Comments

@andrewdavidwong
Copy link
Member

How to file a helpful issue

Qubes OS release

4.2

Brief summary

Qubes 4.2 does not support Debian 11 templates, but users who use Debian 11 templates on 4.1 can upgrade to 4.2 without realizing this (real example).

Steps to reproduce

  1. The user is using Debian 11 templates on 4.1.
  2. The user upgrades from 4.1 to 4.2.
  3. The user is now using Debian 11 templates on 4.2.

Expected behavior

Qubes OS warns the user that 4.2 does not support Debian 11 templates and that the Debian 11 templates should be upgraded to Debian 12 (or something along these lines).

Actual behavior

The user can use Debian 11 templates on 4.2 without being aware that this combination is unsupported. EOL announcements don't help here, because Debian 11 hasn't reached EOL yet and is still supported on 4.1. It's just that Debian 11 was never supported on 4.2 to begin with. This has always been reflected on the supported template releases (and now also the 4.2 release notes), but I'm guessing many users don't check these.

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: templates ux User experience P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Apr 16, 2024
@marmarek
Copy link
Member

Indeed, the updater should mark debian-11 template as "obsolete"

@andrewdavidwong
Copy link
Member Author

Indeed, the updater should mark debian-11 template as "obsolete"

Right, but only in 4.2, not 4.1, since Deb 11 is still supported in 4.1. (Just wanted to make this part explicit for others reading this issue.)

@h01ger
Copy link

h01ger commented Apr 16, 2024 via email

@marmarek
Copy link
Member

Too old pipewire (known buggy), too old python3-fido2 for qubes-ctap (and even shipping updated python3-fido2 via our repos is not an option, as its dependencies are missing/too old too), too old rpm for newer rpmdb format (needed for dom0 updates), the list goes on...

@marmarek
Copy link
Member

I don't know what specifically you need debian-11 template for, but as a workaround I recommend using debian-12 (or anything else really) and debian-11 docker container for the app you need.

@h01ger
Copy link

h01ger commented Apr 16, 2024 via email

@jamke
Copy link

jamke commented Apr 17, 2024

What versions of fedora-based templates (including ones made from fedora-minimal) are expected to work and not work on R4.2 after upgrading from R4.1?

@andrewdavidwong
Copy link
Member Author

What versions of fedora-based templates (including ones made from fedora-minimal) are expected to work and not work on R4.2 after upgrading from R4.1?

See: https://www.qubes-os.org/doc/supported-releases/#templates

@alimirjamali
Copy link

Indeed, the updater should mark debian-11 template as "obsolete"

Since we are approaching Qubes OS 4.3 release in a foreseeable future, this feature could be added to qubes-dist-upgrade. This could be easily done via os-distribution and os-version features of templates. Whether the checks should be hard-coded into applicable qubes-dist-upgrade branch or a flexible approach for future releases is developed is the lesser detail.

It is necessary to decide if the warning should appear at --update stage or at --template-standalone-upgrade stage.

Related: #9317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: manager/widget C: templates C: updates needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. ux User experience
Projects
None yet
Development

No branches or pull requests

5 participants