Importing a VM from R3.2 and shortcuts

63 views
Skip to first unread message

gdr...@gmail.com

unread,
Aug 30, 2018, 5:49:06 AM8/30/18
to qubes-users
Hi,

Qubes OS version: Qubes-R4.0

After restoring VM from a backup (R3.2), all applications have been automatically included in the list of available apps. They appear in the VM’s submenu ("start menu" in dom0).

When I click on shortcut, the assigned application is not running in its AppVM.

I can start an AppVM only from command line :

$ qvm-run -a personal terminator

How can I fix it ?

Thank you so much for your help.

Best regards.

Ivan Mitev

unread,
Aug 30, 2018, 6:03:52 AM8/30/18
to qubes...@googlegroups.com


On 08/30/2018 12:49 PM, gdr...@gmail.com wrote:
> Hi,
>
> Qubes OS version: Qubes-R4.0
>
> After restoring VM from a backup (R3.2), all applications have been automatically included in the list of available apps. They appear in the VM’s submenu ("start menu" in dom0).
>
> When I click on shortcut, the assigned application is not running in its AppVM.

IIRC non working shortcuts were a symptom of using imported R3.2
standaloneVMs/templateVMs.
You should:
- configure your imported R3.2 AppVMs to use R4.0's templates
- or upgrade the imported R3.2 templateVMs:

https://github.com/Qubes-Community/Contents/blob/master/docs/system/restore-3.2.md

GDRUB

unread,
Aug 30, 2018, 4:58:21 PM8/30/18
to Ivan Mitev, qubes...@googlegroups.com
Thank you for those explanations.

I have adjusted the documentation on my restored template (debian 8.0).

$ qvm-copy /etc/apt/sources.list.d/qubes-r4.list

I have bypassed step 4, so I get :

W: GPG error: http://deb.qubes-os.org stretch Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 43B760F197CA1BF5

How to fix this error ?

GDRUB

unread,
Aug 31, 2018, 5:00:41 AM8/31/18
to Ivan Mitev, qubes...@googlegroups.com
I'll test this.

In the debian-9 VM:

$ apt-ket exportall > /tmp/keys.txt
$ qvm-copy-to-vm /tmp/keys.txt

In the debian-8 VM:

$ apt-key import ~/QubesIncoming/debian-9/keys.txt

Ivan Mitev

unread,
Aug 31, 2018, 5:42:58 AM8/31/18
to qubes...@googlegroups.com


On 08/30/2018 11:58 PM, GDRUB wrote:
> Thank you for those explanations.
>
> I have adjusted the documentation on my restored template (debian 8.0).
>
> $ qvm-copy /etc/apt/sources.list.d/qubes-r4.list
>
> I have bypassed step 4, so I get :
>
> W: GPG error: http://deb.qubes-os.org stretch Release: The following
> signatures couldn't be verified because the public key is not available:
> NO_PUBKEY 43B760F197CA1BF5
>
> How to fix this error ?

In fedora you have to import the key with rpm, simply copying the file
to /etc/... is not enough. I'm not familiar with debian but the link
below suggests you have to import the key with `apt-get install yourkey'

https://askubuntu.com/questions/291035/how-to-add-a-gpg-key-to-the-apt-sources-keyring

GDRUB

unread,
Aug 31, 2018, 8:11:18 AM8/31/18
to Ivan Mitev, qubes...@googlegroups.com
ERRATUM

In the debian-9 VM:

$ apt-ket exportall > /tmp/keys.txt
$ qvm-copy /tmp/keys.txt

In the debian-8 VM:

$ apt-key add ~/QubesIncoming/debian-9/keys.txt

It worked like a charm.

Thx Ivan

Reply all
Reply to author
Forward
0 new messages