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

Qubes OS: Fedora 30

Create a new Standalone VM based on fedora-29 VM template Extend root partition: run command on dom0 tuyen@dom0:~ $ qvm-volume extend fedora-30:root 12288MB Set qrexec_timeout to 600 seconds tuyen@dom0:~ $ qvm-pref --set fedora-30 qrexec_timeout 600 $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-sytem-upgrade $ sudo dnf system-upgrade download --release=30 Install fedora-30 template Run the following command on dom0 terminal $ sudo qubes-dom0-update qubes-template-fedora-30 Install Adobe Flash Player Adobe Flash Player will not go away soon. So, let's grab the latest version of Adobe Flash Player , then install using yum or dnf command. Verify if Adobe Flash Player is installed and works by visiting https://helpx.adobe.com/flash-player.html [user@fedora-30 ~]$ sudo dnf install Downloads/flash-player-npapi-32.0.0.238-release.x86_64.rpm Last metadata expiration check: 0:37:03 ago on Fri Aug 30 09:18:10 2019. Dependencies resolved. =========...

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Python: Free Online Courses

Ever thinking about which programming language to learn first? You can learn Python for free with these online courses.