Melanie
November 20, 2024, 9:17am
1
I just wanted to create a new TemplateVM, but suddenly I got this error message “error: type error qubesbase.clone_vm () takes 3 positional arguments but 4 were given”.
How can I fix this error?
All updates have been installed, so this is certainly not the problem.
DVM
November 20, 2024, 9:27am
2
The fix for this is currently in the testing repository:
opened 01:58PM - 17 Nov 24 UTC
r4.2-host-cur-test
r4.2-vm-bookworm-cur-test
r4.2-vm-jammy-cur-test
r4.2-vm-fc39-cur-test
r4.2-vm-trixie-cur-test
r4.2-vm-fc40-cur-test
r4.2-vm-fc41-cur-test
Update of core-admin-client to v4.2.17 for Qubes OS r4.2, see comments below for… details and build status.
From commit: https://github.com/QubesOS/qubes-core-admin-client/commit/fda74dc58b905a741c23411dee381d19a59a9528
[Changes since previous version](https://github.com/QubesOS/qubes-core-admin-client/compare/v4.2.16...v4.2.17):
QubesOS/qubes-core-admin-client@fda74dc version 4.2.17
QubesOS/qubes-core-admin-client@2663cd4 Allow vm class to be given as positional argument to clone_vm
QubesOS/qubes-core-admin-client@04688e2 Avoid spaces in values for `admin.vm.Create` calls
Referenced issues:
QubesOS/qubes-issues#9558
QubesOS/qubes-issues#9574
If you're release manager, you can issue GPG-inline signed command:
* `Upload-component r4.2 core-admin-client fda74dc58b905a741c23411dee381d19a59a9528 current all` (available 5 days from now)
* `Upload-component r4.2 core-admin-client fda74dc58b905a741c23411dee381d19a59a9528 security-testing all`
You can choose subset of distributions like:
* `Upload-component r4.2 core-admin-client fda74dc58b905a741c23411dee381d19a59a9528 current vm-bookworm,vm-fc37` (available 5 days from now)
Above commands will work only if packages in current-testing repository were built from given commit (i.e. no new version superseded it).
For more information on how to test this update, please take a look at https://www.qubes-os.org/doc/testing/#updates.
If you want to install the package before it is sent to the stable repository, you can use the following command in a dom0 terminal:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing qubes-core-admin-client-4.2.17
Or right click template and select “clone” and then rename cloned template?
1 Like
barto
November 26, 2024, 3:54pm
4
That’s funny! If the quality of the “stable” repository (or more exactly “the lack of…”) led to this error… is it reasonable to install from the testing repository?
Asking for a friend…