Skip to content

Templates restored from backup created in older release silently continue to target old repos even after updating #8701

@deeplow

Description

@deeplow

The problem you're addressing (if any)

Users who install 4.2 via a clean install may not notice they need to upgrade the Qubes template sources to 4.2. Failing to do that they may miss on critical integrations for 4.2 like VMExec (for the updater to work) and most importantly, after 4.1 is EOL, it'll simply stop getting Qubes packages updates. Worse: from the user perspective the update process will not return any errors since there are no new packages.

The solution you'd like

Minimal solution: inform the user
At the very least warn in the updater that the templates are imported from Qubes 4.1 and need to have their sources upgraded.

As for the overall issue, in 4.2 templates started advertised for which qubes version they are (more or less based on the version of qubes-core-agent package). This information isn't used anywhere yet - I guess we should add some warning based on that.

-- Marek (source)

Better solution: upgrade it for them
Do the template repo upgrades for the user through the updater tool.

The value to a user, and who that user might be

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: templatesThis issue pertains to templates in general (as opposed to specific templates).C: updatesThis issue pertains to updating Qubes OS.P: criticalPriority: critical. Between "major" and "blocker" in severity.affects-4.1This issue affects Qubes OS 4.1.affects-4.2This issue affects Qubes OS 4.2.affects-4.3This issue affects Qubes OS 4.3.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions