libera/#devuan/ Friday, 2024-04-26

al1r4dYes, try it00:04
x3dreal1r4d thank you :)00:15
x3dreI get this error on apt update - Err:5 https://deb.i2p.net daedalus Release    404  Not Found [IP: 147.182.158.56 443]00:30
onefangNever heard of that mirror.  Try an official one?00:31
onefangJust woke up, didn't realise that's some third party thing.00:31
x3dreCan you tell me what is the official one as this is what's on the website ?00:31
onefangI meant official Devuan mirror.00:32
x3dreDevuan has an official mirror for i2p ?00:32
onefangLikely try the Debian release name, not the Devuan one?00:32
onefangI'm the package mirror herder for Devuan.  I just woke up, and thought there was something I need to look into.  I thought you where talking about Devuan package mirrors, not some third party thing I never heard of.00:34
onefangI need brekky.  lol00:35
x3dreI am trying to work out what is the correct name for i2p.list to get the correct IP address as right now I get a 404 message...00:36
Hurgotrontry to give bookworm instead of daedalus in your sources.list for that URL00:37
golinuxIt is not recommended to use Debian repos directly. Compatible debian packages will be automatically pulled in if needed and allowable00:40
golinuxCheck out https://pkginfo.devuan.org/ to see if that package is available in Devuan00:41
Hurgotrongolinux: that is a 3rd party repo00:41
golinuxThen use at your own risk.00:42
golinuxDo let us know how it goes . . .00:42
brocashelmsometimes you have to add third-party repos for things missing from even debian, like trinity desktop (but they have their own devuan versions so as to not conflict in any way)06:44
Guest3482Hello! Can Devuan be installed in UEFi mode or is it only MBR capable ?07:33
gnarfaceGuest3482: it works for uefi too07:35
gnarfacepeople have complications setting it up sometimes, but it's basically the same as debian07:36
gnarfaceif you have issues with it, stick around and people can answer questions. the channel is just slow sometimes.07:36
rustyaxeA larger stick solves most efi problems.07:45
Guest3482Thank you, so do I need to set and "EFI" partition? What should I format it to ? When Devuan prompts me to install grub, it only shows me the root device names (/dev/sda, /dev/sdb). How do I set it up on Uefi?07:47
rrqanyone knows how to use suckless' surf for a jitsi video call?08:27
gnarfaceGuest3482: sorry, don't know much about it myself but i think you tell the UEFI interface to create it... stick around, someone will probably show up by morning who knows08:38
onefangI'm using pandoc to generate HTML from markdown.  Two things I can't figure out.  Favicons and aligning an image to the right.09:16
CueXXIIIGuest3482: i think 100MB is the recommended minimum, but on my system only 2MB are actually used. it has to be vfat, has to have the right uuid and has to be on a gpt partition table. usually the installer should create that on a guided install when booted from efi09:20
onefangOK, got favicon figured now, but the hard way, coz apparently you can't set the value of random variables in the markdown.09:20
gnarfaceonefang: iirc the css property for aligning an image to the right is "float: right;"09:22
onefangI know what the result should look like.09:24
gnarfacewell, it depends on the code, they might not be "aligning" it, they could be using absolute or relative positioning instead, in which case it won't work the same once you remove the reference positioning of the parent container tag09:25
onefangThe problem is it's turning - align="right"   into - data-align="right".09:26
gnarfaceyea, well, there's a nested set of problems there, because "align=right" is deprecated, and afaik data-align right is either nonexistent or some proprietary IE thing09:27
* onefang tries your CSS then.09:29
gnarfacewait, is this going on the actual img tag, or on a container block?09:29
gnarfacei wonder if it's some IE proprietary synonym for "text-align: right", which is a property that is supposed to only work on table cell contents, when applied to the table cell tag itself09:30
onefangI prefer simple HTML, so I try to avoid things like JS, CSS< and container blocks.  It's an <img>.09:30
onefangWhy would pandoc use EI shit?09:31
gnarfacei don't know, but i do know enough about this stuff that i suspect there's always going to be some corner cases that are simply impossible to translate without CSS09:31
onefangI did find how to align table stuff, but I'm not doing that.09:31
onefangPandoc at least has Lua support, I might poke at that.09:32
gnarfaceone thing about floats, the source order matters09:33
onefangOr I might just sed out the data- thing in my script.  lol09:33
gnarfaceif you float an image, the inline text after it will "float up" to fill the space, but it will not itself move up into the empty space left by stuff that was before it in the source order09:34
onefangAh it's working now.09:35
gnarfaceand there used to be a lot of poor sods out there who think that IE's made up crap is the actual standard, but actually they designed most their features to be actively harmful to anyone even trying to understand the standards, let alone use them to support non-microsoft stuff09:35
gnarfaceto a lesser degree, Safari has done some of this stuff too but most of the blame is on IE09:36
gnarface(or "Edge" or whatever they're calling it now)09:36
gnarfaceif you want to avoid having to use css blocks or external css files, you can always put css properties on individual tags like: style="float: right; display: block;" for example, it's not forbidden, just considered bad form09:38
CueXXIIIyou can have inline css, too, in <style> tags. or is that also considered bad form?09:39
onefangAgain - I know what the resulting HTML should look like, it's getting pandoc to produce that was the problem.09:41
onefangNext - turning an image into a link.09:42
onefangAh, nesting it inside the usual link syntax did that.09:47
onefangBut now data-align is back.  lol09:49
gnarfaceyou're gonna have to find a reference for what that's supposed to do, because i don't recognize it09:53
gnarfacemerely a guess that it's a microsoft thing09:53
gnarfaceCueXXIII: well there's like a sliding scale of opinions about that, but technically it's kosher as long as you don't put it in the page body. officially style tags can only go in the header, despite that many browsers will blithely break standards to obey them from anywhere. using an external css file is always considered preferable due to organization and bandwidth optimization priorities09:56
gnarfaceusing the "style=..." property on individual tags is considered worst form because it contributes heavily to data redundancy and hampers code re-usability, but the argument can be made that even that is acceptable in cases where you're just using it to add occasional exceptions in a way that doesn't actually increase data redundancy (i think we should move this conversation to #devuan-offtopic though, we're well off09:58
gnarfaceinto the weeds)09:58
onefangMeh, sed -e 's/data-align="/align="/g'10:08
CueXXIIIah, using regex to parse (and modify) htmlxD10:17
onefangNow it's time for s/empty belly/full belly/  B-)10:21
onefangI'll poke at the pandoc Lua stuff after dinner.10:22
x3dreIs it possible to install plasma and gnome on Devuan Daedalus 5.0?12:25
gnarfacex3dre: yes12:26
gnarfaceor, you mean at once? i don't know for sure, but they're both there...12:27
x3dreI also like cinnamon  is that possible too ?12:27
gnarfaceyep12:27
x3dreok12:27
gnarfacehere, you can check for packages here: pkginfo.devuan.org12:27
gnarfacebut it's mostly all the same stuff as debian12:27
x3dreok12:28
gnarfacethis channel can be kinda slow, but if you ask questions and nobody answers right away, just stay connected, someone will answer you eventually12:29
x3dreOk thanks for the info :)12:30
x3dreI have the usb live running at the moment. I have made some bookmarks and added a few apt programs, will they be here now the installation is finished and ready to reboot?12:32
CueXXIIIx3dre: probably not, i don't know devuan's live cd, but usually all changes you make to the running live system are temporary. there should be an installer to install devuan to your harddisk, but browser bookmarks would not be copied by default, i think12:37
x3dreok I'll write them out to an external disk :)12:38
CueXXIIIhttps://www.devuan.org/os/documentation/install-guides/daedalus/live-gui12:38
x3dreCueXXIII thanks for the link :)12:40
fsmithredThe live installer installs what is running12:43
fsmithredany changes you make are carried over into the installed system12:44
x3dreOh ok that's good to know... :)12:44
fsmithredjust don't use up all your ram making changes.12:45
x3dreon the USB stick's ram ?12:45
fsmithredon the computer's ram12:45
fsmithredanything you install in the live session does not get written to disk/usb/cdrom12:46
x3dreok ;)12:46
fsmithredif you tried to upgrade the whole system you would fail.12:46
x3dreI have just saved the bookmarks and json files to an external stick ..12:47
x3dreI'll do the upgrade once I rebooted the lappy as there is plenty  space ...12:48
fsmithred:)12:48
x3dreHow can I paste an image ?14:48
x3dreI found away this is what happened after I installed devuan daedalus 5.0 :(14:58
x3drehttps://pasteboard.co/lp2TCT7KFcF0.jpg14:58
x3dreCan you help me what to do apart from installing a fresh again...?14:59
fsmithredx3dre, which iso did you use?15:11
x3drethe one available on the website  live iso which I installed onto my 128Gb USB stick15:12
x3drehttps://files.devuan.org/devuan_daedalus/installer-iso/15:13
fsmithredthe installer iso directory does not have the live isos.15:22
fsmithredYou used debian-installer?15:22
fsmithredor refractainstaller?15:23
x3dre refractainstaller?15:23
x3dre refractainstaller yes this one..15:23
fsmithredtell me the exact name of the iso you used15:23
x3dredevuan_daedalus_5.0.0_amd64_desktop.live15:25
x3dredevuan_daedalus_5.0.0_amd64_desktop-live15:25
fsmithredis there another linux installed on this box?15:26
fsmithredand if so, which one is in charge of booting?15:26
x3dreNo other installations on here it is a blank hard disk...15:26
fsmithredDid you create a swap partition when you installed?15:29
x3dreI did try and install devuan previously but that failed because of slim failure...15:29
x3dreYes I did create a swap partition...15:29
fsmithreddo you plan on hibernating?15:30
x3dreYes I do ...15:30
fsmithredok, I think you need to change the uuid in one file.15:30
x3dreHow do I do this ?15:30
fsmithredTo see the uuids, run 'blkid' as root15:30
x3dreok15:31
fsmithredfind the uuid of the swap partition15:31
fsmithredfind the file I want you to edit...15:31
fsmithredI think it's /etc/initramfs-tools/conf.d/resume15:31
x3dreok15:31
fsmithredyou might already have a resume file somewhere in there15:32
fsmithredlook around first15:32
x3dreOK15:32
x3dre:)15:32
x3dre: /etc/initramfs-tools/conf.d/resume nothing located in this directory...15:39
fsmithredok, so create that file15:39
fsmithredand add one line...15:39
x3dreok15:39
fsmithredRESUME=<the uuid of the swap partition>15:39
fsmithredare you familiar with chroot?15:40
x3dreNo I'm not familiar with chroot15:40
fsmithredAre you running the live system now to edit the file on the installed system?15:41
x3dreI've created the file but which one is the swap partition from blkid ?15:41
x3dreYes I am and I mounted the installed system...15:42
fsmithredIt the one that says TYPE=swap15:42
fsmithredjust copy the uuid number without the quotes15:43
x3dreHow many lines can I post here ?15:43
fsmithredtwo or three I guess15:43
fsmithredthe other way to find it is to look for the device name15:44
x3dre: /dev/sda4: UUID="30d4c112-a46d-4996-b2b3-357c22d3016f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2670957e-04"15:44
x3dre: /dev/sda2: UUID="fd7bdae0-bcc3-4226-a4c8-cef925f390ab" TYPE="crypto_LUKS" PARTUUID="2670957e-02"15:44
x3dre: /dev/sda3: UUID="133ba8fa-162e-4f2d-8d8b-31184e21f5f1" TYPE="crypto_LUKS" PARTUUID="2670957e-03"15:44
fsmithredI'm assuming you were the one who chose which device to use as swap15:44
fsmithredok, it's not one of those15:45
x3dre: /dev/sda1: UUID="c4fc1ac5-321e-412e-bb71-02cfa5eefadf" BLOCK_SIZE="1024" TYPE="ext2" PARTUUID="2670957e-01"15:45
x3dre: /dev/mapper/luks-fd7bdae0-bcc3-4226-a4c8-cef925f390ab: UUID="af38efa0-42d0-4464-8640-9e60877c49ff" BLOCK_SIZE="4096" TYPE="ext4"15:45
x3dreThis is all there doesn't mee15:45
x3dreseem to have swap name ...15:45
fsmithredthat would explain why initramfs can't find it15:46
x3dreI see ...15:46
fsmithredAre planning on keeping the installation on usb or will you install to hard drive?15:46
x3dreIt seems like /dev/sda3 is the partition is the one where swap is...15:47
x3dreNo I'm planning to install the system to the hard disk and use the USB stick on another machine...15:48
x3dredev/sda3 is encrypted with luks is that a problem?15:50
fsmithredI've never made an encrypted swap partition. I'm not sure how that works. If you want multiple encrypted partitions, you might be better off using an installer iso, which can set up encrypted lvm.15:50
fsmithredthen your swap will be a logical partition inside the lvm along with whatever else you put in there.15:50
fsmithredprobably the whole system except for /boot.15:50
x3dreThat I tried but after rebooting the slim loader failed ...15:51
fsmithredscrew slim. There are other display managers.15:51
x3drePlus I didn't like the non gui installer it made for confusing choices to make ...15:52
fsmithredit's actually easier to use than the gui15:52
x3dreI like the live iso as it's more understandable..15:52
fsmithredok15:52
x3dreI'm from a gui background lol15:53
fsmithredIt is possible to set up encrypted lvm and use refractainstaller.15:53
fsmithredYou have to do the first part manually (command-line)15:53
x3dreHmmm that's where I'll come a cropper lol15:53
gnarfacex3dre: slim failing was probably a driver issue, and it probably was easier to fix without reinstalling15:54
fsmithredoh, good point15:54
x3dreUnless I'm prompted how to do it or it in a doc somewhere then I'm sure I'll screw it up...15:54
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=232315:54
fsmithred^^howto15:54
x3dreReading...15:55
fsmithredwhat video card do you have?15:55
fsmithredamd, nvidia, intel?15:56
x3dreI haven't got inxi to tell me that ...15:56
fsmithredlspci15:56
fsmithredthen look for VGA15:57
gnarface"i don't know" usually means intel15:57
x3dre00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)15:57
gnarfaceis there more than one though? that's always a problem...15:57
x3dreI think there is another one though15:57
gnarfacesometimes they'll have intel and nvidia, then you can have weird issues15:58
x3dre01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev a1)15:58
gnarfaceah, yea, so for starters that one definitely needs non-free drivers15:58
gnarfaceit probably tried to use the open source drivers then failed15:58
x3dreVery likely...15:59
gnarfacethey're included already in the live iso, but with the normal installer you have to know to request them specifically15:59
x3dreI looked for the non-free drivers but couldn't find them...15:59
gnarfacethey've moved from non-free to non-free-firmware15:59
x3drelol15:59
gnarfacei know16:00
x3dreTo confuse ppl lol16:00
gnarfacethis is a choice debian made, not devuan16:00
gnarfacejust happened as of current stable, all previous releases are normal16:01
onefangJust an update on my pandoc stuff.  I wanted to replace the sed with Lua, since the Lua is called from pandoc during the parsing, so I don't have to worry about sed getting confused.  Except that data-align thing happens AFTER the Lua gets it's hands on things.  So sed is still needed.16:01
x3dreWhat if I wiped /dev/sda3 and formatted it to ext2 or ext4 then swapped that would it work...16:01
gnarfaceyou don't format a swap partition, just wipe it and mark it as swap in the partition table16:02
onefangOn the plus side, I figured out how to get Lua to read variables in the markdown, so I can have the favicon defined in each document, instead of hardcoding it in the script.16:02
x3drein gparted I just changed it to linux-swap...16:03
fsmithredyou really should have your swap encrypted16:03
gnarfacex3dre: that's the same thing16:03
gnarfacex3dre: but if it's encrypted you might have to zero it first, not sure16:04
gnarfacei think if you care about security, encrypting it is probably a good choice16:04
x3dreOk I was unallocated and so zapped.16:04
x3dreI do care about security and privacy16:04
fsmithredIf you didn't want to hibernate, I'd say just use a swapfile inside the encrypted root partition, but I don't think you can hibernate in that. Maybe I'm wrong.16:05
x3dreok16:06
x3dreWill it boot now correctly ?16:06
fsmithredhuh?16:07
fsmithredyou need to rebuild initramfs16:07
x3dre: /dev/sda3: UUID="f0633953-6bcb-4493-8320-0150dd1612cd" TYPE="swap" PARTUUID="2670957e-03"16:07
x3dreHow ?16:08
fsmithredmkswap /dev/sda316:08
fsmithredoh, maybe not16:08
fsmithredroot partition is mounted where?16:08
x3dreswapon I did in gparted...16:08
fsmithredoh, edit /etc/fstab to have the right uuid number16:08
x3dreok16:09
fsmithredis your /boot partition also mounted?16:09
x3dreI am not quite sure where root or boot is mounted...16:10
x3dre: /etc/fstab is in one of the sdX partitions...16:11
x3dreI don't know which on and how do I cd to16:12
x3dredev/sda1: UUID="c4fc1ac5-321e-412e-bb71-02cfa5eefadf"16:12
fsmithredDid the video problem get solved?16:12
x3dreI deleted the OS and went with the live OS USB instead ... Which I'm using now...16:13
x3dreThis one ?? dev/sda2: UUID="fd7bdae0-bcc3-4226-a4c8-cef925f390ab" TYPE="crypto_LUKS" PARTUUID="2670957e-0216:14
x3dreor this one dev/sda4: UUID="30d4c112-a46d-4996-b2b3-357c22d3016f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2670957e-04"16:14
x3dreI'm confused... lol16:14
fsmithredYeah, I'm pretty sure this is not going to work.16:14
fsmithredBite the bullet and use the netinstall iso.16:15
x3dreRe-install again you think ? It took 40 hrs to get this far as the formatting took hours...16:15
fsmithredit will partition the drive correcctly for you.16:15
gnarfacethis time you have people helping who have done it before at least...16:16
fsmithredomg, it should not take hours to format.16:16
fsmithredyou have a fast internet connection?16:16
gnarfaceeh, ext4 maybe and a large disk?16:16
gnarfaceor maybe with the badblocks verification...16:16
fsmithredoh, maybe16:16
gnarfacexfs would format just about instantly though16:16
x3dreI do need a large /boot partition as the last old buster install was too small and I always had to be clearing the clean and autoclean  and bleachbit to get space again ...16:16
x3dreI have a fibre connection...16:17
fsmithredcool. Netinstall will go fast.16:17
x3dreOk I'll try that... Never used netinstaller before ...16:18
fsmithredit's just debian-installer16:18
fsmithredarrows and TAB to navigate, space bar to check/uncheck boxes.16:18
x3dreCan I run it from this live  running usb stick or I'll need another usb stick ?16:18
fsmithredanother one16:19
x3dreok16:19
gnarfaceit's small though, it downloads the stuff after you finish setup16:19
x3dreWhich mirror is close to the UK https://www.devuan.org/get-devuan16:26
x3dreAs the list doesn't seem to have a GB or UK link ...16:26
gnarfacex3dre: here, use this mirror list: http://deb.devuan.org/mirror_list.txt16:28
x3dreThanks...16:28
gnarfaceor you can just use deb.devuan.org and keep refreshing until you get a good one16:29
gnarface(it's a dns round-robin)16:29
x3dreOh using F1 devices :)16:30
x3drethis one http://sledjhamr.org/devuan/devuan-cd/devuan_daedalus/installer-iso/devuan_daedalus_5.0.1_amd64_netinstall.iso ?16:33
gnarfaceyes16:33
x3drecool ;)16:33
gnarfaceit's like you read my mind16:34
x3drelolol We all used to be telepathic in our original incarnations :D16:34
gnarfacei believe it to be true16:35
x3dreNow we are gelatinous  we speak weird languages lolol16:35
x3dreHere I got on my first netinstall :)17:09
x3dreHere I go on my first netinstall :)17:09
x3dreWish me luck lol17:09
DrDreWhere do I get the ath1ok/qca6174/hw2.1/firmware files from and when installing them, from the netinstall, do I place them on another USB disk in the root and load missing firmware from there?22:03
DrDreWhere do I get the ath1ok/qca6174/hw2.1/firmware-2.bin to 6 plus ctefx.bin files from and when installing them, from the netinstall, do I place them on another USB disk in the root and load missing firmware from there?22:04
DrDreAlso the ath10k/pre-cal-pci-0000:03:00.0.bin & ath10k/cal-pci-0000:03:00.0.bin22:07
plasma41'apt-file search qca6174' turns up no results on my system22:11
golinuxNor here https://pkginfo.devuan.org/c22:13
DrDreok cool :)22:19
fsmithredDrDre, are you trying to get past a question in the beginning of the install that says you need to supply firmware?22:21
DrDreThe problem is in rescue mode the Detect network hardware ask for these files but I do not know if I can find these files and put them on what medium...22:21
fsmithredI don't know how you'd install it inside the installer, but the firmware packages are in the iso. You need firmware-atheros.22:22
DrDreYes ... I found the deb file I put it on another usb stick and when it asks for it I thought it would be picked up but it is not doing that...22:23
DrDreIt says on screen : Load missing firmware from removable media?22:25
fsmithredyeah, I think that can be ignored.22:25
fsmithredTry proceeding without adding anything.22:25
fsmithredA lot of people get stuck on that question.22:26
DrDreIf I ignore that then when the booting up process is over instead of opening a gui login I get dropped to a curse ascii  login prompt so my desktops will not load because ???22:27
fsmithredThat makes no sense. Wireless firmware is not required to get to the desktop.22:36
DrDreI just rebooted again and it's not the wireless divers I need it is to get instead of the devuan login: prompt to be placed in the login prompt in gdm login prompt ?22:47
DrDreThe desktop gui like startkde startx will not load...22:47
fsmithredYou replaced sddm with gdm?22:58

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