On Saturday, November 11, 2017 at 11:41:44 PM UTC, Chris Laprise wrote: > On 11/11/2017 08:51 AM, Yuraeitha wrote: > > @ Chris Laprise > > On Saturday, November 11, 2017 at 1:45:07 PM UTC, Chris Laprise wrote: > >> On 11/11/2017 07:54 AM, Yuraeitha wrote: > >>> On Saturday, November 11, 2017 at 12:23:28 PM UTC, JPL wrote: > >>>> For some reason the debian template didn't install when I installed > >>>> Qubes, even though I selected it. No matter I thought, I'll do it > >>>> manually. > >>>> > >>>> However following the instructions here: > >>>> > >>>> https://www.qubes-os.org/doc/templates/debian/ > >>>> > >>>> namely: > >>>> > >>>> [user@dom0 ~]$ sudo qubes-dom0-update qubes-template-debian-8 > >>>> > >>>> I get "Nothing to do. Complete" > >>>> > >>>> qvm-ls reveals that debian-8 is absent. > >>>> > >>>> Is this instruction out of date or do I need to enable something first? > >>>> Any tips appreciated. > >>> The template re-install is currently broken, and requires fixing in a > >>> future patch. I've had/seen mixed results with the plain template install > >>> too (rather than re-install), so I suspect it's at least partly broken > >>> too? Either way it's not you, this is something that likely needs patch > >>> fixing. Possibly you can re-install Qubes and hope debian installs > >>> (sometimes work?, see below), or you could try move debian from one of > >>> your 3.2. backup archives, and then update it in Qubes 4 (hope for the > >>> best that the 3.2. template Qubes tools won't get in the way). > >> Occasionally the template install goes wrong. > >> > >> The first thing to try is 'sudo dnf remove qubes-template-debian-8' to > >> get the package out of there. > >> > >> Another option is trying the current Debian release, version 9. There is > >> one issue (2913) where it takes 90sec to boot, but this should be > >> corrected soon and its easy to fix: After 90sec run a terminal and enter > >> 'sudo rm > >> /etc/systemd/system/multi-user.target.wants/[email protected]'. > >> (Make sure you include the at-sign.) > >> > >> > >> -- > >> > >> Chris Laprise, [email protected] > >> https://github.com/tasket > >> https://twitter.com/ttaskett > >> PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886 > > I had little luck with that approach on my system, perhaps others can make > > it work? But it might be because I did qvm-remove the template in dom0, > > before I did the dnf remove in dom0. Perhaps I messed it up this way, it > > certainly won't allow me to dnf remove the debian packages now. > > What the dnf remove procedure wants is to find lvm disk volumes under > the name 'debian-8' but of course you already removed those with > qvm-remove (which unfortunately allows this in R4.0). A way to work > around this is to clone any template to the name 'debian-8', therefore > providing the expected lvm volumes... then removing the template package > should work. > > qvm-clone fedora-25 debian-8 > sudo dnf remove qubes-template-debian-8 > > Then you can install the template again: > sudo qubes-dom0-update qubes-template-debian-8 > > > > > > > Also is doing the 'sudo rm > > /etc/systemd/system/multi-user.target.wants/[email protected]' > > instrumental to the success? > > In my tests it is necessary or else debian-9 vms will experience 90sec > startup delays. > > -- > > Chris Laprise, [email protected] > https://github.com/tasket > https://twitter.com/ttaskett > PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886
Indeed, I can confirm this too, it worked. Thanks a lot Chris! this was a pretty satisfying hack you suggested. Unfortunately it did not solve my issues regarding starting up applications in the debian template, however at the very least it can now uninstall and install cleanly, and it also starts up cleanly, no apparent errors or bugs until it has fully started. Seemingly, the Qubes tools need update in the template and re-released? or could it possibly by something else causing it? The Qubes tools just appear completely unresponsive in the debiam template. JPL, what about you, can you start anything in your debian template? I can do it on my Ryzen pc, but I can't do it on my Intel systems atm. So I know debian works for some people out there, I wonder what tricker this odd behaviour on some systems. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/a5fb1894-aba6-4495-99db-da7e957909eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
