Updating a disposable qube / Can't delete unused qubes

58 views
Skip to first unread message

src11

unread,
Nov 3, 2020, 11:57:39 AM11/3/20
to qubes...@googlegroups.com
How do I update Firefox to the latest version in a disposable qube?

How do I create a new disposable qube?

Why am I not able to delete unused qubes? I tried but they're still there.

Andrew David Wong

unread,
Nov 3, 2020, 6:04:44 PM11/3/20
to src11, qubes...@googlegroups.com
On 11/3/20 8:57 AM, 'src11' via qubes-users wrote:
> How do I update Firefox to the latest version in a disposable qube?
>

Generally, you update it in the TemplateVM:

https://www.qubes-os.org/doc/software-update-domu/#updating-software-in-templatevms

> How do I create a new disposable qube?
>

https://www.qubes-os.org/doc/disposablevm/

> Why am I not able to delete unused qubes? I tried but they're still there.
>

What exactly did you do, and what exactly was the behavior you observed?

--
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

OpenPGP_signature

Shawn Creighton

unread,
Nov 7, 2020, 3:50:52 PM11/7/20
to qubes-users
When trying to delete I go to the qube -> qube settings -> delete qube -> type name of qube -> press enter

Doesn't delete it though

unman

unread,
Nov 7, 2020, 8:35:39 PM11/7/20
to qubes-users
On Sat, Nov 07, 2020 at 12:50:52PM -0800, Shawn Creighton wrote:
> When trying to delete I go to the qube -> qube settings -> delete qube ->
> type name of qube -> press enter
>
> Doesn't delete it though
>
> On Tuesday, November 3, 2020 at 6:04:44 PM UTC-5 a...@qubes-os.org wrote:
>
> > On 11/3/20 8:57 AM, 'src11' via qubes-users wrote:
> > > How do I update Firefox to the latest version in a disposable qube?
> > >
> >
> > Generally, you update it in the TemplateVM:
> >
> >
> > https://www.qubes-os.org/doc/software-update-domu/#updating-software-in-templatevms
> >
> > > How do I create a new disposable qube?
> > >
> >
> > https://www.qubes-os.org/doc/disposablevm/
> >
> > > Why am I not able to delete unused qubes? I tried but they're still
> > there.
> > >
> >
> > What exactly did you do, and what exactly was the behavior you observed?
> >

If you open a terminal in dom0 and type `qvm-delete <name of qube>` you
will either delete the qube or see an error message.
You may find that the qube is not unused after all.

Try it and report back.

Andrew David Wong

unread,
Nov 7, 2020, 11:53:30 PM11/7/20
to qubes-users
On 11/7/20 5:35 PM, unman wrote:
> On Sat, Nov 07, 2020 at 12:50:52PM -0800, Shawn Creighton wrote:
>> When trying to delete I go to the qube -> qube settings -> delete qube ->
>> type name of qube -> press enter
>>
>> Doesn't delete it though
>>
>> On Tuesday, November 3, 2020 at 6:04:44 PM UTC-5 a...@qubes-os.org wrote:
>>
>>> On 11/3/20 8:57 AM, 'src11' via qubes-users wrote:
>>>> How do I update Firefox to the latest version in a disposable qube?
>>>>
>>>
>>> Generally, you update it in the TemplateVM:
>>>
>>>
>>> https://www.qubes-os.org/doc/software-update-domu/#updating-software-in-templatevms
>>>
>>>> How do I create a new disposable qube?
>>>>
>>>
>>> https://www.qubes-os.org/doc/disposablevm/
>>>
>>>> Why am I not able to delete unused qubes? I tried but they're still
>>> there.
>>>>
>>>
>>> What exactly did you do, and what exactly was the behavior you observed?
>>>
>
> If you open a terminal in dom0 and type `qvm-delete <name of qube>` you

Minor typo: Should be `qvm-remove` rather than `qvm-delete`.

(Pointing out for Shawn.)

> will either delete the qube or see an error message.
> You may find that the qube is not unused after all.
>
> Try it and report back.
>

OpenPGP_signature

Shawn Creighton

unread,
Nov 8, 2020, 2:01:41 AM11/8/20
to qubes-users
That worked, thank you

unman

unread,
Nov 8, 2020, 6:10:21 AM11/8/20
to Andrew David Wong, qubes-users
On Sat, Nov 07, 2020 at 08:53:19PM -0800, Andrew David Wong wrote:
> On 11/7/20 5:35 PM, unman wrote:
> > On Sat, Nov 07, 2020 at 12:50:52PM -0800, Shawn Creighton wrote:
> > > When trying to delete I go to the qube -> qube settings -> delete qube ->
> > > type name of qube -> press enter
> > >
> > > Doesn't delete it though
> > >
> > > On Tuesday, November 3, 2020 at 6:04:44 PM UTC-5 a...@qubes-os.org wrote:
> > >
> > > > On 11/3/20 8:57 AM, 'src11' via qubes-users wrote:
> > > > > How do I update Firefox to the latest version in a disposable qube?
> > > > >
> > > >
> > > > Generally, you update it in the TemplateVM:
> > > >
> > > >
> > > > https://www.qubes-os.org/doc/software-update-domu/#updating-software-in-templatevms
> > > >
> > > > > How do I create a new disposable qube?
> > > > >
> > > >
> > > > https://www.qubes-os.org/doc/disposablevm/
> > > >
> > > > > Why am I not able to delete unused qubes? I tried but they're still
> > > > there.
> > > > >
> > > >
> > > > What exactly did you do, and what exactly was the behavior you observed?
> > > >
> >
> > If you open a terminal in dom0 and type `qvm-delete <name of qube>` you
>
> Minor typo: Should be `qvm-remove` rather than `qvm-delete`.
>

Not a typo - I get used to my own aliases and scripts, which are, of course, mine.

pillule

unread,
Nov 9, 2020, 9:34:22 AM11/9/20
to qubes...@googlegroups.com

On Tue, Nov 03 2020, ’src11’ via qubes-users wrote:

> Why am I not able to delete unused qubes? I tried but they’re still there.

Sometimes you need to do
`qvm-prefs [VM-NAME] installedbyrpm false’
before `qvm-remove’ it


Andrew David Wong

unread,
Nov 9, 2020, 6:00:38 PM11/9/20
to qubes...@googlegroups.com
On 11/9/20 6:34 AM, pillule wrote:
>
> On Tue, Nov 03 2020, 'src11' via qubes-users wrote:
>
>> Why am I not able to delete unused qubes? I tried but they're still there.
>
> Sometimes you need to do
> `qvm-prefs [VM-NAME] installed_by_rpm false'
> before `qvm-remove' it
>
> --

If it's a TemplateVM that was installed by RPM, you can also do `sudo
dnf remove <template_package_name>` in dom0.
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages