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

Builder: install-templates.sh fails under R4.1 dom0: sudo: yum: command not found #7305

Open
ejose19 opened this issue Feb 24, 2022 · 0 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: templates diagnosed Technical diagnosis has been performed (see issue comments). 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.

Comments

@ejose19
Copy link

ejose19 commented Feb 24, 2022

Qubes OS release

R4.1

Brief summary

When executing install-templates.sh in dom0, it fails with sudo: yum: command not found, presumably because yum is no longer installed in dom0 fedora 32 by default

Steps to reproduce

  • Build any template using qubes-builder
  • Copy install-templates.sh to dom0
  • Execute the script and notice the error

Expected behavior

The command should install template(s) without issues

Actual behavior

The command fails with the mentioned error

Possible solutions

  • Instruct users to install yum package in dom0
  • Adjust install-templates.sh to obtain package manager dynamically in defined priority (dnf > yum) and fail if none found
@ejose19 ejose19 added 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. labels Feb 24, 2022
@andrewdavidwong andrewdavidwong added C: templates diagnosed Technical diagnosis has been performed (see issue comments). labels Feb 24, 2022
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone Feb 24, 2022
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: templates diagnosed Technical diagnosis has been performed (see issue comments). 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.
Projects
None yet
Development

No branches or pull requests

2 participants