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. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: flash-plugin x86_64 32.0.0.238-release @commandline 8.6 M Transaction Summary ================================================================================ Install 1 Package Total size: 8.6 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : flash-plugin-32.0.0.238-release.x86_64 1/1 Running scriptlet: flash-plugin-32.0.0.238-release.x86_64 1/1 Verifying : flash-plugin-32.0.0.238-release.x86_64 1/1 Last metadata expiration check: 0:37:16 ago on Fri Aug 30 09:18:10 2019. Notifying dom0 about installed applications Installed: flash-plugin-32.0.0.238-release.x86_64 Complete! [user@fedora-30 ~]$
Install go
[user@fedora-29 ~]$ sudo dnf install -y go Fedora Modular 29 - x86_64 - Updates 107 kB/s | 1.8 MB 00:17 Fedora 29 - x86_64 - Updates 451 kB/s | 29 MB 01:05 created by dnf config-manager from file:///home 0.0 B/s | 0 B 00:00 Failed to synchronize cache for repo 'home_user_http' skype (stable) 1.0 kB/s | 2.9 kB 00:02 Ignoring repositories: home_user_http Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: golang x86_64 1.11.12-1.fc29 updates 625 k Installing dependencies: golang-bin x86_64 1.11.12-1.fc29 updates 90 M golang-src noarch 1.11.12-1.fc29 updates 6.4 M subversion-libs x86_64 1.12.2-1.fc29 updates 1.5 M go-srpm-macros noarch 2-18.fc29 fedora 11 k libserf x86_64 1.3.9-10.fc29 fedora 57 k utf8proc x86_64 2.1.1-4.fc29 fedora 64 k Installing weak dependencies: subversion x86_64 1.12.2-1.fc29 updates 1.1 M mercurial x86_64 4.5.3-1.fc29 fedora 4.3 M Transaction Summary ================================================================================ Install 9 Packages Total download size: 105 M Installed size: 345 M Downloading Packages: (1/9): golang-1.11.12-1.fc29.x86_64.rpm 119 kB/s | 625 kB 00:05 (2/9): subversion-1.12.2-1.fc29.x86_64.rpm 194 kB/s | 1.1 MB 00:05 (3/9): subversion-libs-1.12.2-1.fc29.x86_64.rpm 208 kB/s | 1.5 MB 00:07 (4/9): go-srpm-macros-2-18.fc29.noarch.rpm 5.4 kB/s | 11 kB 00:01 (5/9): libserf-1.3.9-10.fc29.x86_64.rpm 30 kB/s | 57 kB 00:01 (6/9): golang-src-1.11.12-1.fc29.noarch.rpm 268 kB/s | 6.4 MB 00:24 (7/9): utf8proc-2.1.1-4.fc29.x86_64.rpm 44 kB/s | 64 kB 00:01 (8/9): mercurial-4.5.3-1.fc29.x86_64.rpm 272 kB/s | 4.3 MB 00:16 (9/9): golang-bin-1.11.12-1.fc29.x86_64.rpm 392 kB/s | 90 MB 03:56 -------------------------------------------------------------------------------- Total 445 kB/s | 105 MB 04:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: golang-1.11.12-1.fc29.x86_64 1/1 Preparing : 1/1 Installing : utf8proc-2.1.1-4.fc29.x86_64 1/9 Running scriptlet: utf8proc-2.1.1-4.fc29.x86_64 1/9 Installing : libserf-1.3.9-10.fc29.x86_64 2/9 Installing : subversion-libs-1.12.2-1.fc29.x86_64 3/9 Installing : subversion-1.12.2-1.fc29.x86_64 4/9 Running scriptlet: subversion-1.12.2-1.fc29.x86_64 4/9 Installing : mercurial-4.5.3-1.fc29.x86_64 5/9 Installing : go-srpm-macros-2-18.fc29.noarch 6/9 Installing : golang-src-1.11.12-1.fc29.noarch 7/9 Installing : golang-bin-1.11.12-1.fc29.x86_64 8/9 Running scriptlet: golang-bin-1.11.12-1.fc29.x86_64 8/9 Installing : golang-1.11.12-1.fc29.x86_64 9/9 Running scriptlet: golang-1.11.12-1.fc29.x86_64 9/9 Verifying : golang-1.11.12-1.fc29.x86_64 1/9 Verifying : golang-bin-1.11.12-1.fc29.x86_64 2/9 Verifying : golang-src-1.11.12-1.fc29.noarch 3/9 Verifying : subversion-1.12.2-1.fc29.x86_64 4/9 Verifying : subversion-libs-1.12.2-1.fc29.x86_64 5/9 Verifying : go-srpm-macros-2-18.fc29.noarch 6/9 Verifying : libserf-1.3.9-10.fc29.x86_64 7/9 Verifying : mercurial-4.5.3-1.fc29.x86_64 8/9 Verifying : utf8proc-2.1.1-4.fc29.x86_64 9/9 Failed to synchronize cache for repo 'home_user_http' Ignoring repositories: home_user_http Last metadata expiration check: 0:04:57 ago on Tue Aug 27 09:03:49 2019. Notifying dom0 about installed applications Installed: golang-1.11.12-1.fc29.x86_64 subversion-1.12.2-1.fc29.x86_64 mercurial-4.5.3-1.fc29.x86_64 golang-bin-1.11.12-1.fc29.x86_64 golang-src-1.11.12-1.fc29.noarch subversion-libs-1.12.2-1.fc29.x86_64 go-srpm-macros-2-18.fc29.noarch libserf-1.3.9-10.fc29.x86_64 utf8proc-2.1.1-4.fc29.x86_64 Complete! [user@fedora-29 ~]$
Reinstall fedora-30-minimal TemplateVM
[tuyen@dom0 ~]$ sudo qubes-dom0-update --action=reinstall qubes-template-fedora-30-minimal WARNING: Replacing a template will erase all files in template's /home and /rw ! Template VM halted 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:37 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:03 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:20 --> Running transaction check ---> Package qubes-template-fedora-30-minimal.noarch 0:4.0.1-201905071541 will be reinstalled --> Finished Dependency Resolution qubes-template-fedora-30-minimal-4.0.1-201905071541.noarch. | 403 MB 11:32 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 ================================================================================ Reinstalling: qubes-template-fedora-30-minimal noarch 4.0.1-201905071541 qubes-dom0-cached 403 M Transaction Summary ================================================================================ Total size: 403 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Reinstalling: qubes-template-fedora-30-minimal-4.0.1-201905071541.noarc 1/2 fedora-30-minimal: Importing data Erasing : qubes-template-fedora-30-minimal-4.0.1-201905071541.noarc 2/2 Verifying : qubes-template-fedora-30-minimal-4.0.1-201905071541.noarc 1/2 Verifying : qubes-template-fedora-30-minimal-4.0.1-201905071541.noarc 2/2 Reinstalled: qubes-template-fedora-30-minimal.noarch 4.0.1-201905071541 Complete! [tuyen@dom0 ~]$