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

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'