libera/#devuan/ Thursday, 2023-01-19

younihello, devuans! i discovered that there areĀ  php8.1 and php8.2 in devuan repository here https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=php&x=submit15:28
younibut i cannot find it with `apt-cache search php`, i added to sources.list 'backports' and 'experimental', updated, but still not able to install php8.1 at least. Could you advise how to install php8.1 and php-fpm 8.1 ?15:28
younihello, noticed that php8.1 is available in daedalus, so I rewrote sources.list with daedalus release and successfully installed, and rebooted succesfully15:50
HelenahIs there any way to get logs from the installer?17:04
HelenahI'm getting faied install steps but it's vague.17:04
Helenah*failed17:04
HelenahAlso nice distro, I'm running it on my thinkpad x230, going smooth with OpenRC! :)17:06
gnarfaceHelenah: it should write an install log to /var/log/installer/ or /root/install.log or something like that, i think, but i'm not sure how verbose it is, you can also check the other virtual terminals (alt+f2, alt+f3, alt+f4) during install; one of them should be dumping more verbose error messages17:51
gnarfacewhat's the actual error you see? which step fails?17:52
Helenahgnarface: Well this is the thing, it's vague, let me try and reproduce it, so in blue at the top it says "Installation step failed", the failed steps are installing GRUB and configuring the package manager. The rest is just telling me what was told in blue and what I should try which is trying again for example which I have tried to do.17:59
gnarfaceHelenah: did the drive used to have windows on it? i think i've seen this once when a windows-only gpt flag wasn't properly cleared by the msdos partition creation18:01
Helenahgnarface: It's a fresh img file.18:01
gnarfacethe drive was never even formatted before?18:01
HelenahIt's freshly created, used as a virtio disk.18:01
gnarfaceoh, i see18:02
HelenahSo it was literally all zeros before trying to install Devuan.18:02
gnarfacemaybe the default target drive is just wrong; maybe it's trying to install grub to /dev/sda when it should be /dev/hda or something?18:03
HelenahWell it would be /dev/vda because that's how the virtio storage module works.18:03
gnarfacewell does it say /dev/vda on the installer interface, or something else?18:03
HelenahIt was able to partition and install the base system though.18:04
gnarfaceyea but if it sees multiple drives it might pick the wrong one by default18:04
gnarfacepay attention to what it actually said it was picking18:04
gnarfaceif it doesn't say then try in expert mode18:04
gnarfaceonly other idea i have is to try lilo instead18:05
HelenahThis is why I wanted logs because it's speculating, I'm going to check the logs, I'm going to try your log file paths.18:05
HelenahOh there is an option to save a debug log...18:05
gnarfaceyea try that18:05
HelenahThis should be an easy fix, I'll report back. :D18:08
HelenahSo I did "chroot /target" then "apt-get fix-broken install" after finding in the debug logs that there was an APT error, anyway, apt-get then told me that there's not enough space of the disk so now I know. :318:10
HelenahThank you for your support! :)18:10
gnarfaceheh, no problem18:14
gnarfaceif you go in expert mode and uncheck all the boxes at the tasksel step, you can get a minimal install that should take around 500-600MB18:15
rwpHelenah, Alt-F4 gets to the installer console while the installer is running.  The regular output on Alt-F1.  Alt-F2 and Alt-F3 are available for shells if needed.18:19
rwpIf running under most virtualization viewers graphically there will be a mouse pulldown to send those keys to the process, since the host window manager will use Alt itself otherwise.18:19
HelenahWhy didn't I think of this known fact? Damn...18:20
rwpThe devil is in the details! :-)18:20
rwpI know somewhere is documented the minimum amount of space needed but off the top of my head I don't know where.18:21
Helenahno-install-recommended as default would be nice too.18:21
rwpYes.  But in that case just install the minimum of everything, boot, log in, configure as desired, then install whatever more you want.  That's what most of us do.18:21
rwpNormally for a VM we pour everything into one partition.  That's also a good place to start.  Just use the guided partitioning with one partition for the simple start.18:22
rwpAlso for a VM the most common back end file format is qcow2 which is a spart file system and TRIM reduces the size of the backing store.18:23
rwpAfter becoming familiar with the installer and how the system works and such one can always take full control and do a debootstrap install and have exactly what they want.  That's usually for people who are creating many systems in a collective or cluster.18:24
HelenahI accidentally pressed "Configure the speech synthesizer voice" but it didn't come up with anything, it's not going to configure it, is it?18:25
rwpYou know that is actually fun to do on a bare metal install because then you can install it completely using the speech synthesizer.18:25
rwpBut I have no idea what it will do on a VM which will depend upon various other things.18:26
gnarfacei don't recall that option from the install but i have to imagine it'll fail if you started a vm without configuring any virtual soundcards18:26
rwpI am pretty sure that only applies to the installer though and not to the resulting installed system.18:26
rwpSince you have nothing invested yet and are learning the ropes of the installer I suggest simply restarting and walking through it again.18:27
rwpI have probably run the installer what feels like ten thousand times over the years. :-)18:27
rwpOr push all of the way through, see what results, learn from that, discard the VM, and then try again.  Whatever you wish!18:28
rwpThat's the excellent thing about VMs.  They are quick and easy to set up.  Iteration is a good learning experience.18:28
HelenahDoes isc-dhcp-common which I can see it installing ship with the server side of it?18:38
gnarfacewell, yes they'll be installed together if that's what you're asking but the server is in isc-dhcp-server18:41
gnarface(the client is in isc-dhcp-client)18:41
rwpI think only isc-dhcp-client is installed by default.  If you want isc-dhcp-server then that needs to be installed explicitly later.18:42
HelenahAh :318:42
rwpBy default the installer will use DHCP since that is the simplest method for most people.  But it also can configure a static IP if desired too.18:43
rwpMyself I always install using DHCP and boot the installed system and then configure things as static if I want it static later.  Such as setting up a server system.18:44
rwpAlso especially for a server system I am pretty strongly biased to using ifupdown and not NetworkManager, NM has left me too often without a network during upgrades.18:44
rwpBBIAB as it is lunch time here now.18:45
Quo-fanhmmm18:48
HelenahQuo-fan: Hello there my friend. :318:50
Quo-fan:)18:50
onefangComing from the other direction, isc-dhcp-common is a recommended package for both isc-dhcp-client and isc-dhcp-server.  And since the default is to install recommended packages, installing either client or server will install common.18:56
HelenahWeird no bootable media...18:57
HelenahAh!18:57
Guest46good afternoon21:22
Guest46I'm having an issue with a fresh install of Devuan. I'm trying to add the main user to the sudo group but usermod is both not in $PATH and when I call it from /usr/sbin it doesn't change my user's groups at all. does this seem familiar to anyone?21:23
Guest46I'm doing this as root, obviously21:23
ltsDid you log out with your user after the change?21:25
Guest46Well I guess that was the issue. Wow I'm embarrassed.21:28
Guest46Yeah it works now, thank you.21:28
lts:-)21:29

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!