No Match for argument qubes-template-whonix-ws-15-4.0.1-201910102356.noarch ?

35 views
Skip to first unread message

Stumpy

unread,
Mar 20, 2020, 10:08:34 PM3/20/20
to Qubes users
I'm trying to reinstall the whonix ws template but while seems to find
it it then says there is no match?


[zack@dom0 ~]$ sudo qubes-dom0-update --action=reinstall
qubes-template-whonix-ws-15
WARNING: Replacing a template will erase all files in template's /home
and /rw !
Template VM halted
Using sys-whonix as UpdateVM to download updates for Dom0; this may take
some time...
No Match for argument qubes-template-whonix-ws-15-4.0.1-201910102356.noarch
Nothing to download

Chris Laprise

unread,
Mar 22, 2020, 1:24:54 PM3/22/20
to stu...@posteo.net, Qubes users
That means you have an older template package that was removed from the
Qubes servers, so it can't be reinstalled as the same version.

When that happens, you can use '--action=upgrade' instead and it should
grab the latest available version.

https://www.qubes-os.org/doc/reinstall-template/

--
Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Stumpy

unread,
Mar 23, 2020, 7:24:08 AM3/23/20
to qubes...@googlegroups.com
On 2020-03-22 13:24, Chris Laprise wrote:
> On 3/20/20 10:08 PM, Stumpy wrote:
>> I'm trying to reinstall the whonix ws template but while seems to find
>> it it then says there is no match?
>>
>>
>> [zack@dom0 ~]$ sudo qubes-dom0-update --action=reinstall
>> qubes-template-whonix-ws-15
>> WARNING: Replacing a template will erase all files in template's /home
>> and /rw !
>> Template VM halted
>> Using sys-whonix as UpdateVM to download updates for Dom0; this may
>> take some time...
>> No Match for argument
>> qubes-template-whonix-ws-15-4.0.1-201910102356.noarch
>> Nothing to download
>
> That means you have an older template package that was removed from the
> Qubes servers, so it can't be reinstalled as the same version.
>
> When that happens, you can use '--action=upgrade' instead and it should
> grab the latest available version.
>
> https://www.qubes-os.org/doc/reinstall-template/
>

Thank you for the suggestion, i tried upgrade instead of reinstall but
got the following:

[bob@dom0 ~]$ sudo qubes-dom0-update --action=upgrade
qubes-template-whonix-ws-15
WARNING: Replacing a template will erase all files in template's /home
and /rw !
Template VM halted
Using sys-whonix as UpdateVM to download updates for Dom0; this may take
some time...
No new updates available
Qubes OS Repository for Dom0

12 MB/s | 26 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!

Then tried reinstall again just for the heck of it and still got the
same response.

?

Chris Laprise

unread,
Mar 24, 2020, 1:34:43 PM3/24/20
to qubes...@googlegroups.com
I think this has something to do with the update VM (sys-whonix) being
based on Debian. The workaround would be to use the Manual method shown
at the above link.

Stumpy

unread,
Mar 27, 2020, 7:38:36 PM3/27/20
to qubes...@googlegroups.com
I gave the manual way a try and removing the template and then i tried
to install the whonix-ws-15 template i got:

[nate@dom0 ~]$ sudo dnf remove qubes-template-whonix-ws-15
Dependencies resolved.
=========================================================================================================================================================================
Package Arch
Version Repository
Size
=========================================================================================================================================================================
Removing:
qubes-template-whonix-ws-15 noarch
4.0.1-201910102356 @anaconda
2.1 G

Transaction Summary
=========================================================================================================================================================================
Remove 1 Package

Installed size: 2.1 G
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Erasing : qubes-template-whonix-ws-15-4.0.1-201910102356.noarch

1/1
warning: file
/var/lib/qubes/vm-templates/whonix-ws-15/whitelisted-appmenus.list:
remove failed: No such file or directory
warning: file
/var/lib/qubes/vm-templates/whonix-ws-15/vm-whitelisted-appmenus.list:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/root.img.part.02:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/root.img.part.01:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/root.img.part.00:
remove failed: No such file or directory
warning: file
/var/lib/qubes/vm-templates/whonix-ws-15/netvm-whitelisted-appmenus.list:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/icon.png: remove
failed: No such file or directory
warning: file
/var/lib/qubes/vm-templates/whonix-ws-15/clean-volatile.img.tar: remove
failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/apps.templates:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/apps.tempicons:
remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15/apps: remove
failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/whonix-ws-15: remove failed:
No such file or directory
Verifying : qubes-template-whonix-ws-15-4.0.1-201910102356.noarch

1/1

Removed:
qubes-template-whonix-ws-15.noarch 4.0.1-201910102356



Complete!
[nate@dom0 ~]$ sudo qubes-dom0-update
--enablerepo=qubes-templates-community \ qubes-template-whonix-ws
Using sys-whonix as UpdateVM to download updates for Dom0; this may take
some time...
No Match for argument qubes-template-whonix-ws
Nothing to download
[nate@dom0 ~]$

Chris Laprise

unread,
Mar 30, 2020, 3:26:57 PM3/30/20
to qubes...@googlegroups.com
On 3/27/20 7:38 PM, Stumpy wrote:
> Complete!
> [nate@dom0 ~]$ sudo qubes-dom0-update
> --enablerepo=qubes-templates-community \ qubes-template-whonix-ws
> Using sys-whonix as UpdateVM to download updates for Dom0; this may take
> some time...
> No Match for argument  qubes-template-whonix-ws
> Nothing to download
> [nate@dom0 ~]$

You can ignore the warnings when removing.

To fix the above, use 'qubes-template-whonix-ws-15' for the package name.

Stumpy

unread,
Apr 1, 2020, 7:38:45 AM4/1/20
to Chris Laprise, qubes...@googlegroups.com
On 2020-03-30 15:26, Chris Laprise wrote:
> On 3/27/20 7:38 PM, Stumpy wrote:
>> Complete!
>> [nate@dom0 ~]$ sudo qubes-dom0-update
>> --enablerepo=qubes-templates-community \ qubes-template-whonix-ws
>> Using sys-whonix as UpdateVM to download updates for Dom0; this may
>> take some time...
>> No Match for argument  qubes-template-whonix-ws
>> Nothing to download
>> [nate@dom0 ~]$
>
> You can ignore the warnings when removing.
>
> To fix the above, use 'qubes-template-whonix-ws-15' for the package name.
>

Thanks. but it seems adding the different name for the template results
in the same error:

[nate@dom0 ~]$ sudo qubes-dom0-update
--enablerepo=qubes-templates-community \ qubes-template-whonix-ws-15
Using sys-whonix as UpdateVM to download updates for Dom0; this may take
some time...
qubes-templates-community/metalink | 2.8 kB
00:00
qubes-templates-community | 3.0 kB
00:00
qubes-templates-community/primary_db | 7.6 kB
00:00
No Match for argument qubes-template-whonix-ws-15
Nothing to download


unman

unread,
Apr 1, 2020, 9:30:58 AM4/1/20
to qubes...@googlegroups.com
On Wed, Apr 01, 2020 at 07:38:33AM -0400, Stumpy wrote:
> On 2020-03-30 15:26, Chris Laprise wrote:
> > On 3/27/20 7:38 PM, Stumpy wrote:
> > > Complete!
> > > [nate@dom0 ~]$ sudo qubes-dom0-update
> > > --enablerepo=qubes-templates-community \ qubes-template-whonix-ws
> > > Using sys-whonix as UpdateVM to download updates for Dom0; this may
> > > take some time...
> > > No Match for argument?? qubes-template-whonix-ws
> > > Nothing to download
> > > [nate@dom0 ~]$
> >
> > You can ignore the warnings when removing.
> >
> > To fix the above, use 'qubes-template-whonix-ws-15' for the package name.
> >
>
> Thanks. but it seems adding the different name for the template results in
> the same error:
>
> [nate@dom0 ~]$ sudo qubes-dom0-update --enablerepo=qubes-templates-community
> \ qubes-template-whonix-ws-15
> Using sys-whonix as UpdateVM to download updates for Dom0; this may take
> some time...
> qubes-templates-community/metalink | 2.8 kB 00:00
> qubes-templates-community | 3.0 kB 00:00
> qubes-templates-community/primary_db | 7.6 kB 00:00
> No Match for argument qubes-template-whonix-ws-15
> Nothing to download
>

That worked for me, exactly as you have type it.
Perhaps the repo has been updated?
My only suggestion is that you keep trying: Are you running this over
Tor?

Frank

unread,
Apr 1, 2020, 11:22:34 AM4/1/20
to qubes...@googlegroups.com

> On Wed, Apr 01, 2020 at 07:38:33AM -0400, Stumpy wrote:
>>> On 2020-03-30 15:26, Chris Laprise wrote:
>>> On 3/27/20 7:38 PM, Stumpy wrote:
>>>> Complete!
>>>> [nate@dom0 ~]$ sudo qubes-dom0-update
>>>> --enablerepo=qubes-templates-community \ qubes-template-whonix-ws
>>>> Using sys-whonix as UpdateVM to download updates for Dom0; this may
>>>> take some time...
>>>> No Match for argument?? qubes-template-whonix-ws
>>>> Nothing to download
>>>> [nate@dom0 ~]$
>>>
>>> You can ignore the warnings when removing.
>>>
>>> To fix the above, use 'qubes-template-whonix-ws-15' for the package name.
>>>
>>
>> Thanks. but it seems adding the different name for the template results in
>> the same error:
>>
>> [nate@dom0 ~]$ sudo qubes-dom0-update --enablerepo=qubes-templates-community
>> \ qubes-template-whonix-ws-15

If you really typed it like this, the backslash followed by the space right before the template name actually made the template name to be “ qubes-template-whonix-ws-14” and that can’t be found in the repository...

>> Using sys-whonix as UpdateVM to download updates for Dom0; this may take
>> some time...
>> qubes-templates-community/metalink | 2.8 kB 00:00
>> qubes-templates-community | 3.0 kB 00:00
>> qubes-templates-community/primary_db | 7.6 kB 00:00
>> No Match for argument qubes-template-whonix-ws-15

And the two spaces in front of the template name in this error message suggest as much...

Stumpy

unread,
Apr 1, 2020, 11:40:36 AM4/1/20
to Frank, qubes...@googlegroups.com
Ahhhhhhhh, that was it, thank you very much Frank!
Reply all
Reply to author
Forward
0 new messages