Skip to main content

QubesOS: TemplateVM

Qubes OS - A reasonable secure operating system

Reinstall TemplateVM fedora-29

Something is wrong with fedora-29 TemplateVM after running update. Because I am learning by playing with Qubes OS, so I just reinstall the fedora-29 TemplateVM.

[tuyen@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-30
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time...
fedora/metalink                                             | 5.8 kB  00:00     
fedora                                                      | 4.3 kB  00:00     
fedora/primary_db                                           |  26 MB  00:31     
qubes-dom0-current/metalink                                 | 2.7 kB  00:00     
qubes-dom0-current                                          | 3.8 kB  00:00     
qubes-dom0-current/primary_db                               | 2.1 MB  00:02     
qubes-templates-itl/metalink                                | 2.7 kB  00:00     
qubes-templates-itl                                         | 3.0 kB  00:00     
qubes-templates-itl/primary_db                              |  16 kB  00:00     
updates/metalink                                            | 5.4 kB  00:00     
updates                                                     | 4.7 kB  00:00     
updates/primary_db                                          |  12 MB  00:14     
--> Running transaction check
---> Package qubes-template-fedora-30.noarch 0:4.0.1-201904301131 will be installed
--> Finished Dependency Resolution
qubes-template-fedora-30-4.0.1-201904301131.noarch.rpm      | 1.2 GB  27:21     
find: '/var/lib/qubes/dom0-updates/var/cache': No such file or directory
Qubes OS Repository for Dom0                     13 MB/s |  26 kB     00:00    
Dependencies resolved.
================================================================================
 Package                   Arch    Version             Repository          Size
================================================================================
Installing:
 qubes-template-fedora-30  noarch  4.0.1-201904301131  qubes-dom0-cached  1.2 G

Transaction Summary
================================================================================
Install  1 Package

Total size: 1.2 G
Installed size: 0  
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : qubes-template-fedora-30-4.0.1-201904301131.noarch [==============================                                                                Installing  : qubes-template-fedora-30-4.0.1-201904301131.noarch          1/1 
fedora-30: Importing data
Traceback (most recent call last):
  File "/bin/qvm-template-postprocess", line 5, in 
    sys.exit(main())
  File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_template_postprocess.py", line 301, in main
    loop.run_until_complete(post_install(args))
  File "/usr/lib64/python3.5/asyncio/base_events.py", line 467, in run_until_complete
    return future.result()
  File "/usr/lib64/python3.5/asyncio/futures.py", line 294, in result
    raise self._exception
  File "/usr/lib64/python3.5/asyncio/tasks.py", line 240, in _step
    result = coro.send(None)
  File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_template_postprocess.py", line 229, in post_install
    import_root_img(vm, args.dir)
  File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_template_postprocess.py", line 96, in import_root_img
    vm.volumes['root'].import_data(stream=tar.stdout)
  File "/usr/lib/python3.5/site-packages/qubesadmin/storage.py", line 224, in import_data
    self._qubesd_call('Import', payload_stream=stream)
  File "/usr/lib/python3.5/site-packages/qubesadmin/storage.py", line 76, in _qubesd_call
    payload_stream=payload_stream)
  File "/usr/lib/python3.5/site-packages/qubesadmin/app.py", line 536, in qubesd_call
    return self._parse_qubesd_response(return_data)
  File "/usr/lib/python3.5/site-packages/qubesadmin/base.py", line 102, in _parse_qubesd_response
    raise exc_class(format_string, *args)
qubesadmin.exc.QubesVMNotHaltedError: Domain is not powered off: 'fedora-30'
warning: %post(qubes-template-fedora-30-4.0.1-201904301131.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package qubes-template-fedora-30
Non-fatal POSTIN scriptlet failure in rpm package qubes-template-fedora-30
  Verifying   : qubes-template-fedora-30-4.0.1-201904301131.noarch          1/1 

Installed:
  qubes-template-fedora-30.noarch 4.0.1-201904301131                            

Complete!
[tuyen@dom0 ~]$ 

Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size