-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Debian based UpdateVM does not support --action=list or reinstall #3553
Comments
You left the "Qubes OS version" field empty, but I'm guessing you meant 4.0. |
@andrewdavidwong No, it applies to both 3.2 & 4.0 using a Debian based UpdateVM. |
Probably older versions too, since #1029 was released. Should I have written "all"? |
Yeah, or "3.2 and 4.0," or "3.2 and 4.0 confirmed, but probably all," depending on your temperament with respect to verbosity and speculation. 🙂 (However, since versions prior to 3.2 are no longer supported, it doesn't matter whether they're affected for the purposes of this issue tracker.) Since an issue can have only one milestone, I'll change this one to 3.2 |
If I copy in qubes-dom0.repo to my debian-9 template (and disable all repos in there and replace
|
Looks like the error is coming from qubes-download-dom0-updates.sh. Need to try modifying it to permit |
Some more actions could be implemented even without --downloadonly option. Ease doing so. QubesOS/qubes-issues#3553
... on systems lacking yum --downloadonly Fixes QubesOS/qubes-issues#3553
See |
That's the file I was looking at too. Wasn't seeing anything that would prevent a list! Thanks, will try it out and see if I can figure out how to make sys-whonix work with it too. Think it needs a wrapper defined for yum. |
awokd:
sys-whonix needs a UWT wrapper defined, if I'm reading the error right.
Sure?
There is a uwt wrapper for yum and yumdownloader.
https://github.com/Whonix/uwt/blob/master/usr/bin/yum.anondist
https://github.com/Whonix/uwt/blob/master/usr/bin/yumdownloader.anondist
These are the programs run by qubes-download-dom0-updates.sh. It makes
more sense to uwt wrap (since there are no socks settings available
which would be better) the actual network using programs by the
qubes-download-dom0-updates.sh scripts than the
qubes-download-dom0-updates.sh script itself.
There is no 'dnf' in Debian.
Let me know ASP please if something is missing in Whonix so it can make
its way into Whonix 14 in time.
|
Thanks, @adrelanos . Found those wrappers where you said they'd be.
But I think I may have figured out a work-around at least, I removed
and now it lists packages for the specified repo! |
And this is just something where it would be nice to have feature parity with the Fedora template. If it doesn't make the cut for Whonix 14 it's not a big deal for me at least. Can patch it in later! |
In the (Debian) portion of the |
Whonix 14 doesn't use /usr/bin/uwt anymore since it is no longer required. The mktemp workaround is no longer required. (This is because torsocks was improved.) We are using
Since it doesn't use mktemp anymore, you won't have the issue described in #3553 (comment). I've removed It's downloading. Dunno yet if it will actually reinstall the template but at least for sure we don't have any uwt / connectivity issues. |
Doc link for tracking: QubesOS/qubes-doc#584 |
It isn't needed for informative actions and apparently fakeroot cause problems on Whonix. Suggested by @awokd QubesOS/qubes-issues#3553
... on systems lacking yum --downloadonly Fixes QubesOS/qubes-issues#3553
It isn't needed for informative actions and apparently fakeroot cause problems on Whonix. Suggested by @awokd QubesOS/qubes-issues#3553
... on systems lacking yum --downloadonly Fixes QubesOS/qubes-issues#3553
It isn't needed for informative actions and apparently fakeroot cause problems on Whonix. Suggested by @awokd QubesOS/qubes-issues#3553
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Qubes OS version:
Affected TemplateVMs:
debian-9, whonix-gw
Steps to reproduce the behavior:
Set UpdateVM to a debian-9 based sys-firewall or standard sys-whonix
sudo qubes-dom0-update --action=list kernel-qubes-vm (or --action=reinstall, etc.)
Expected behavior:
packages will be listed or reinstalled
Actual behavior:
ERROR: yum version installed in VM host does not suppport --downloadonly option
ERROR: only 'install' and 'upgrade' actions supported (list not)
General notes:
Ideally these additional
--action
commands would work with a Debian based UpdateVM, but if it's a WONTFIX there should be a documented work-around available.--action=reinstall
is easy enough to document (dnf remove, then install the package) but how does one--action=list
available packages in the qubes-dom0-unstable repository for example?Related issues:
#1029
#3495
The text was updated successfully, but these errors were encountered: