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

qubes-dom0-update broken in Whonix 16 / Debian 11 bullseye due to missing yumdownloader #6913

Closed
adrelanos opened this issue Sep 20, 2021 · 4 comments
Labels
C: Debian/Ubuntu C: Whonix This issue impacts Qubes-Whonix diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@adrelanos
Copy link
Member

sudo qubes-dom0-update results in VM using /usr/lib/qubes/qubes-download-dom0-updates.sh which is internally using yumdownloader. However, yumdownloader is no longer available in Debian 11 bullseye.

yumdownloader is part of package yum-utils but that was last available for Debian 10 buster.

Debian 11 bullseye however does provide package dnf 4.5.2.

Perhaps /usr/lib/qubes/qubes-download-dom0-updates.sh could be ported to use it?

Tested only with Whonix 16 but should be same issue with Debian 11.

@adrelanos adrelanos added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Sep 20, 2021
@marmarek
Copy link
Member

qubes-download-dom0-updates.sh (tries to) use yumdownloader only if there is no dnf (which was the case on debian-10), so on debian-11 it should use dnf (which is also expressed in the package dependencies: https://github.com/QubesOS/qubes-core-agent-linux/blob/master/debian/control#L111). Maybe it's just about uwt wrapper for dnf?

@andrewdavidwong andrewdavidwong added C: Debian/Ubuntu C: Whonix This issue impacts Qubes-Whonix needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Sep 21, 2021
@adrelanos
Copy link
Member Author

Yes, it's working now.

Though, I was seeing in the xtrace that running yumdownloader as attempted. Unfortunately didn't keep the xtrace.

@andrewdavidwong andrewdavidwong added diagnosed Technical diagnosis has been performed (see issue comments). and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Sep 22, 2021
@airelemental
Copy link

I just updated whonix-gw-16 and I'm now able to run qubes-dom0-update with sys-whonix-16 as updatevm.

@unman
Copy link
Member

unman commented Sep 26, 2021

Tested only with Whonix 16 but should be same issue with Debian 11.

It didnt apply to the debian-11 template in testing.

Yes, it's working now.

Please close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Debian/Ubuntu C: Whonix This issue impacts Qubes-Whonix diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

5 participants