Re: [qubes-users] Template Installation Problem
On 7/4/20 1:07 PM, Qubes wrote: On 7/4/20 11:11 AM, Jarrah wrote: What do you mean I am trying to install the Fedora-32 template in dom0? I am issuing the command to do it from dom0 yes, but I am not trying to install it in dom0 itself as the dom0 OS. I am not performing an upgrade from 31 to 32, which would have to be done in the template itself, I am installing the new Fedora-32-minimal template. That has to be done from dom0. Installing a template is installing a package in Dom0. That package contains the disk image and configuration of the template. This is why the repositories point to fc25, not fc32. Ok thank you that explains it. I still cannot get the Fedora-32-minimal template installed however. I really regret accidentally interrupting the installation procedure with 'Ctrl + c'. For anybody that follows this thread from start to finish in the future I finally got this to work a couple of days ago. To briefly recap what started my troubles with the Fedora 32 templates, both regular and minimal... I first installed the f32 template and after it completed successfully I immediately proceeded to install the f32-minimal template as well. However, while the f32-minimal template installation was busy ( at this point it was already downloaded and checked and verified) I accidentally hit 'ctrl + c' and interrupted the process. After interrupting the process I just re-issued the command to install the f32-minimal template again sudo qubes-dom0-update qubes-template-fedora-32-minimal But it failed saying that it cannot delete the old database at '/var/lib/qubes/dom0-updates/home/user/.rpmdbold.2153'. I eventually found a cli option to the command above used to install a template used to reinstall a template and this worked out for me. Even though when it runs it still complains that it cannot delete the old database the template 're'installation completes and it doesn't stop after complaining that the old database cannot be deleted. sudo qubes-dom0-update --action=reinstall qubes-template-fedora-32 sudo qubes-dom0-update --action=reinstall qubes-template-fedora-32-minimal -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/b8783488-505b-91da-a5d5-55fe98112576%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
On 7/4/20 11:11 AM, Jarrah wrote: What do you mean I am trying to install the Fedora-32 template in dom0? I am issuing the command to do it from dom0 yes, but I am not trying to install it in dom0 itself as the dom0 OS. I am not performing an upgrade from 31 to 32, which would have to be done in the template itself, I am installing the new Fedora-32-minimal template. That has to be done from dom0. Installing a template is installing a package in Dom0. That package contains the disk image and configuration of the template. This is why the repositories point to fc25, not fc32. Ok thank you that explains it. I still cannot get the Fedora-32-minimal template installed however. I really regret accidentally interrupting the installation procedure with 'Ctrl + c'. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/1899b44c-898f-ecdb-02eb-c681b3022bec%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
> What do you mean I am trying to install the Fedora-32 template in > dom0? I am issuing the command to do it from dom0 yes, but I am not > trying to install it in dom0 itself as the dom0 OS. I am not > performing an upgrade from 31 to 32, which would have to be done in > the template itself, I am installing the new Fedora-32-minimal > template. That has to be done from dom0. Installing a template is installing a package in Dom0. That package contains the disk image and configuration of the template. This is why the repositories point to fc25, not fc32. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/e09b84eb-a59e-e8a5-c1d1-f1b9714dc474%40undef.tools.
Re: [qubes-users] Template Installation Problem
On 7/4/20 3:44 AM, unman wrote: On Fri, Jul 03, 2020 at 01:52:59PM +0200, Qubes wrote: On 7/3/20 1:41 PM, Qubes wrote: qubes-dom0-current/metalink | 2.7 kB 00:00 https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.0/current/dom0/fc25/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found updates | 4.7 kB 00:00 https://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/updates/25/x86_64/repodata/b94977172dc0781147253c23a829626a015d4fd1d2c5ed90f0739b752fce4556-primary.sqlite.bz2: [Errno 14] curl#16 - "" Why do both mirror links point to 25, should it not be 32? You're trying to install the 32 template in dom0, and dom0 is fedora-25. What do you mean I am trying to install the Fedora-32 template in dom0? I am issuing the command to do it from dom0 yes, but I am not trying to install it in dom0 itself as the dom0 OS. I am not performing an upgrade from 31 to 32, which would have to be done in the template itself, I am installing the new Fedora-32-minimal template. That has to be done from dom0. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/e6b2d420-ea77-6746-2704-3cc48e027915%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
On Fri, Jul 03, 2020 at 01:52:59PM +0200, Qubes wrote: > On 7/3/20 1:41 PM, Qubes wrote: > > > qubes-dom0-current/metalink > > | 2.7 kB 00:00 > > https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.0/current/dom0/fc25/repodata/repomd.xml: > > [Errno 14] HTTPS Error 404 - Not Found > > > updates > > | 4.7 kB 00:00 > > https://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/updates/25/x86_64/repodata/b94977172dc0781147253c23a829626a015d4fd1d2c5ed90f0739b752fce4556-primary.sqlite.bz2: > > [Errno 14] curl#16 - "" > > Why do both mirror links point to 25, should it not be 32? > You're trying to install the 32 template in dom0, and dom0 is fedora-25. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20200704014441.GE23414%40thirdeyesecurity.org.
Re: [qubes-users] Template Installation Problem
On 7/3/20 1:41 PM, Qubes wrote: qubes-dom0-current/metalink | 2.7 kB 00:00 https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.0/current/dom0/fc25/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found updates | 4.7 kB 00:00 https://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/updates/25/x86_64/repodata/b94977172dc0781147253c23a829626a015d4fd1d2c5ed90f0739b752fce4556-primary.sqlite.bz2: [Errno 14] curl#16 - "" Why do both mirror links point to 25, should it not be 32? > ...dom0/fc25/repodata/... >.../updates/25/x86_64/... -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/a7d24d61-9f63-ce81-72a4-7a888288abc7%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
On 7/3/20 12:03 PM, Qubes wrote: On 7/3/20 11:30 AM, dhorf-hfref.4a288...@hashmail.org wrote: On Fri, Jul 03, 2020 at 11:01:48AM +0200, Qubes wrote: Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time... error: could not delete old database at /var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146 just restarting the updatevm should clean things up, but means you have to download the template RPM again. I have restarted the entire system in an effort to get it fixed. No go. It just keeps on complaining that it could not delete the old database. There is a symlink on sys-whonix '/var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146' that points to '.rpmdbold.3146 -> /var/lib/qubes/dom0-updates/var/lib/rpm' and this is where the problem is. But this gets recreated everytime sys-whonix restarts. If I restart sys-whonix and look in '/var/lib/qubes/dom0-updates/' it is empty. I then try to install the fedora-32-minimal template at which time a new symlink gets created user@host:/var/lib/qubes/dom0-updates/home/user$ ls -la total 12 drwxr-xr-x 3 user user 4096 Jul 3 11:25 . drwxr-xr-x 3 user user 4096 Jul 3 11:25 .. drwxr-xr-x 2 user user 4096 Jul 3 11:25 .rpmdb lrwxrwxrwx 1 user user 39 Jul 3 11:25 .rpmdbold.2153 -> /var/lib/qubes/dom0-updates/var/lib/rpm The location the symlink points to, '/var/lib/qubes/dom0-updates/var/lib/rpm', also gets created at the same time, but then it also complains that it cannot delete the old database at '/var/lib/qubes/dom0-updates/var/lib/rpm'. But that was just created. It continues despite this but eventually comes back and says there is nothing to download. [user@dom0 fedora-31]$ sudo qubes-dom0-update qubes-template-fedora-32-minimal Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time... error: could not delete old database at /var/lib/qubes/dom0-updates/home/user/.rpmdbold.2153 fedora/metalink | 5.8 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 26 MB 00:52 qubes-dom0-current/metalink | 2.7 kB 00:00 https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.0/current/dom0/fc25/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. qubes-dom0-current | 3.8 kB 00:00 qubes-dom0-current/primary_db | 3.7 MB 00:06 qubes-templates-itl/metalink| 2.7 kB 00:00 qubes-templates-itl | 3.0 kB 00:00 qubes-templates-itl/primary_db | 21 kB 00:00 updates/metalink| 5.5 kB 00:00 updates | 4.7 kB 00:00 https://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/updates/25/x86_64/repodata/b94977172dc0781147253c23a829626a015d4fd1d2c5ed90f0739b752fce4556-primary.sqlite.bz2: [Errno 14] curl#16 - "" Trying other mirror. updates/primary_db | 12 MB 00:18 No Match for argument qubes-template-fedora-32-minimal Nothing to download -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/d37bb457-e6f0-8738-de37-1b571923df9a%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
On 7/3/20 11:30 AM, dhorf-hfref.4a288...@hashmail.org wrote: On Fri, Jul 03, 2020 at 11:01:48AM +0200, Qubes wrote: Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time... error: could not delete old database at /var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146 I don't have a /var/lib/qubes/dom0-updates/ folder that folder is in your updatevm, not dom0. just restarting the updatevm should clean things up, but means you have to download the template RPM again. I have restarted the entire system in an effort to get it fixed. No go. It just keeps on complaining that it could not delete the old database. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/7a7355ee-001d-7f53-5539-031e7573947a%40ak47.co.za.
Re: [qubes-users] Template Installation Problem
On Fri, Jul 03, 2020 at 11:01:48AM +0200, Qubes wrote: > Using sys-whonix as UpdateVM to download updates for Dom0; this may take > some time... > error: could not delete old database at > /var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146 > I don't have a /var/lib/qubes/dom0-updates/ folder that folder is in your updatevm, not dom0. just restarting the updatevm should clean things up, but means you have to download the template RPM again. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20200703093011.GB17383%40priv-mua.
[qubes-users] Template Installation Problem
While I was busy installing the Fedora-32-minimal template yesterday after the rpm was downloaded, checked and verified, I was asked if the installation must proceed to which I answered 'y'. 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-32-minimal-4.0.1 [=== ] 1/1 ^ Installing : qubes-template-fedora-32-minimal-4.0.1-202006110332.noarch1/1 [ak47@dom0 Desktop]$ However, while that was running I was busy elsewhere and then accidentally flipped to the dom0 terminal just before I pressed 'ctrl + c' to copy something. That interrupted the minimal template installation '^' and the minimal template never got installed. When I issue the command again it is complaining that it cannot delete an old database. [user@dom0 Desktop]$ sudo qubes-dom0-update qubes-template-fedora-32-minimal Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time... error: could not delete old database at /var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146 Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again I don't have a /var/lib/qubes/dom0-updates/ folder [user@dom0 qubes]$ ll /var/lib/qubes total 72 drwxrws--- 18 root qubes 4096 Jul 2 23:03 appvms drwxrws--- 2 root qubes 4096 Jul 3 10:36 backup drwxrws--- 2 root qubes 4096 Jun 10 06:29 dvmdata -rw-rw 1 root qubes 43262 Jul 3 10:42 qubes.xml drwxrws--- 2 root qubes 4096 Jun 10 06:29 servicevms drwxrwx--- 4 root qubes 4096 Jul 2 20:56 updates drwxrws--- 4 root qubes 4096 Jun 10 06:29 vm-kernels drwxrws--- 12 root qubes 4096 Jul 2 21:03 vm-templates -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/8dcbb430-edb9-872b-eaf0-a2918f2f87ff%40ak47.co.za.