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

qubes-dom0-update ignores --releasever #2810

Closed
GammaSQ opened this Issue May 16, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@GammaSQ

GammaSQ commented May 16, 2017

Qubes OS version: R3.2


Expected behavior: --releasever=24 passed down to UpdateVM

Actual behavior: silently ignored, since 23 is hardcoded in dom0. The only way to notice it is to read the download-progress from the UpdateVM and notice the "fc23" in the version string.

Steps to reproduce the behavior: check for any fedora package in dom0 with --releasever=24 --disablerepo=qubes* (qubes-repos don't deploy for different versions, so they would respond 404 and the command exits.)

General notes:

I fixed the issue by replacing any 23 in /etc/yum.repo.d/fedora* with $releasever (in dom0), though that requires always passing --releasever to the UpdateVM. This could be easily fixed by implementing that in qubes-dom0-update, but my setup works for me for now.
Furthermore rpm key-import was required, which was done via a potentially insecure VM, so having a way to securely update the f24-key would be very nice!

It was very hard to figure out this one, since it's not even apparent that --releasever is dropped. Maybe annotate documentation to mention only fedora-23 repo is accessible in dom0 by default?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek May 16, 2017

Member

There is no support for alternative dom0 version in given Qubes OS release. See here:
https://www.qubes-os.org/doc/supported-versions/#dom0

Member

marmarek commented May 16, 2017

There is no support for alternative dom0 version in given Qubes OS release. See here:
https://www.qubes-os.org/doc/supported-versions/#dom0

@marmarek marmarek closed this May 16, 2017

@GammaSQ

This comment has been minimized.

Show comment
Hide comment
@GammaSQ

GammaSQ May 16, 2017

It may be desirable to install packages for other fedora-versions anyway. E.g.: #1648 (I am trying to emulate different architectures via stubdomains.)

In any case, it was not apparent to me that "supported version is" equals "no packages from other versions can be installed". I would be glad if that could be noted in the documentation.

GammaSQ commented May 16, 2017

It may be desirable to install packages for other fedora-versions anyway. E.g.: #1648 (I am trying to emulate different architectures via stubdomains.)

In any case, it was not apparent to me that "supported version is" equals "no packages from other versions can be installed". I would be glad if that could be noted in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment