libera/#devuan/ Monday, 2024-04-22

systemdletestarting apt dist-upgrade to chimaera...00:04
systemdletethanks, debdog00:04
debdoghehe, no clue about needrestart. but purely judge by its name, isn't that what it's supposed to report00:13
systemdleteyeah.  Anyway, I cold booted and everything looks clean and is proceeding without incident (so far, anyway)00:13
systemdletethis is actually an upgrade from starlinux kirk (which is beowulf, as indicated by os-release) not from an actual beowulf00:14
systemdleteThe only thing I see is that, at some point, I will want to change the grub splash to something more devuan mainline00:14
onefangneedsrestart tells you at the end of updating what needs to be restarted, and offers to restart services for you.  It includes non service things running that depend on any library you just updated as well.01:22
onefangYou can even decide at the time to NOT restart some specific service, if it needs to be running right now and you prefer to restart it later.01:24
onefangNaturally for something like a new kernel, it'll tell you about that to.01:25
bgstack15alright team, I'm lost. I have a EFI-boot-only system and I just installed Devuan daedalus 5.0.1 from netinstall. When I boot to the ssd I just installed Devuan on, I only get a cursor. I think the EFI boot is somehow not finding the right stuff. I confess I don't understand EFI yet and I've tried searching the Internet. I can chroot into the system from the boot iso's rescue mode.01:38
bgstack15I've tried reinstalling grub-efi-amd64 but that hasn't made a difference. What do I need to check/do?!01:39
fsmithredyou could try dpkg-reconfigure grub01:41
onefangCompare the EFI partitions of the install ISO and what you installed.  Might give a clue.  For EFI and grub that's all the clue I can provide.01:41
fsmithredcheck efibootmgr to make sure the right bootloader is first.01:42
bgstack15will try those things. stand by.01:45
rrqbgstack15: what does "boot to the ssd ..." mean? that doesn't sound like some EFI boot option?03:25
bgstack15rrq: it means, boot to the internal storage (sata ssd rather than sata hdd)03:51
bgstack15where I think it installed grub-efi-amd64 (useless hunk of spyware)03:51
bgstack15i wish I had bios boot as an option on this motherboard...03:52
rrqstill confusing; EFI boot options pinpoint bootloaders rather than devices04:28
rrqgenerally it assumes a single EFI partition to hold them, but EFI implementations vary04:30
onefangEven the details of what to look for and what folder to look for it varies.04:31
rrqif run the right bootloader and end up with blinking cursor it might be that that kernel/initrd doesn't have support (builtin/module) to handle the target filesystem04:34
rrqor hmm there's grub in between04:36
rrqI guess grub needs to find its own modules, within its own partition, before it can load kernel+initrd and start that04:38
masonbgstack15: So, you'll either have a boot variable (look at efibootmgr from rescue media) or not. If you don't, then your ESP (vfat partition) will need the default location populated - within it, EFI\BOOT\BOOTX64.EFI05:42
masonbgstack15: If you have a boot variable, it'll point to something like devuan/grubx64.efi or debian/grubx64.efi.05:43
masonEither way, there should be a minimal grub.cfg next to the efi bootloader code, and it will have a search string with a UUID for the boot partition, from which it'll load the rest of its configuration.05:44
masonAlternately, Debian kernels ship with the EFI stub turned on, and you can set a boot variable to load it directly from your ESP - it'll live in the ESP - with some trickery for kernel command line.05:45
masonBut that's really it. Default location or a variable, GRUB or a kernel, and otherwise it's not much different from legacy boot.05:45
masonYou can even use ELILO if you want an old-school experience.05:46
masonLast note, take care whether SecureBoot is enabled or not, as things will not work unless signed with SecureBoot enabled.05:46
systemdletewhat is /etc/passwd.org, /etc/group.org, and /etc/shadow.org ?   I am not familiar with these, and ddg doesn't reveal anything about them07:04
systemdleteI know that the files with a trail dash are the backup copies.  But I don't know about these /etc/*.org files07:05
masonsystemdlete: https://fileinfo.com/extension/org ?07:11
masonsystemdlete: What are the contents?07:11
masonIf it's elisp, then there you go. Although I don't know what Emacs stores in .org files I guess.07:12
systemdleteI don't use elisp (or any other variety of lisp) and I never use emacs07:12
systemdleteand lotus is not available here.07:12
systemdletealso, I see leafpad uses that extension07:13
systemdleteI do use leafpad occasionally07:13
masonAh, that's a good bet then.07:13
systemdletebut I wonder why I would be looking at those files in leafpad07:13
systemdleteI typically use vi (or vim) for most of my work07:13
systemdleteI'm guessing those .org extensions are for files that leafpad saves.  But does it auto save files?07:14
systemdleteI suppose I would have to experiment07:14
n4diri haven't leafpad installed, and i have password.org too07:15
CueXXIIIcould also be a backup from update-passwd07:16
CueXXIIIthen the contents should look like ordinary /etc/passwd entries07:16
systemdletethe backups are saved as /etc/passwd-07:22
CueXXIIInot the backups update-passwd does07:22
systemdleteoh.  I thought you  meant changing passwords07:24
systemdleteis that a utility program?07:25
systemdleteI usually use passwd for changing passwords07:25
systemdleteah, now I see what you are talking about.07:25
systemdletemaybe I need to start using it07:26
systemdleteI was not aware of this tool, sorry07:26
CueXXIIIi think it is only for updating the system part of the passwd database, to be used in the base-passwd postinstall07:26
systemdleteI learned unix back in the 20th century, after motor cars, but before the Internet and linux07:26
CueXXIIIso there should be no need to use it manually07:27
systemdleteso update-passwd is called during dist-upgrade?07:29
systemdlete(I'm not familiar with every aspect of the system)07:30
CueXXIIIduring update of the base-passwd package, see /var/lib/dpkg/info/base-passwd.postinst07:31
systemdletebut that is only called during installs and updgrades,, right?07:31
systemdlete*upgrades07:31
CueXXIIIright07:31
systemdleteok, thanks07:31
systemdleteso I can safely remove these when I am done with my upgrade07:32
CueXXIIIsure, they are only backups07:32
CueXXIIIyou might keep them around till you verified your upgrade did succeed07:33
CueXXIIIaka your system still works as expected07:33
systemdletethe upgrade was (finally) successful.   most of it seems to have been related to various problems caused by a bad disk.08:01
systemdleteafter I got that straightened out (new disk) and after I cleaned up the (now messed up) apt-cacher-ng cache, all is well08:02
systemdlete*then, not now08:02
systemdleteall is good08:02
systemdlete*well, not good08:03
systemdletethanks mason, n4dir and CueXXIII for your help08:05
masonsystemdlete: apt-cacher-ng can be problematic08:06
systemdletemason, I've noticed!08:07
gnarfaceso, we've talked about what this is actually doing, haven't we? /etc/cron.daily/apt-compat08:07
systemdleteI have browsed re apt-cacher-ng and I see that there are a lot of aches and pains with it.08:07
gnarface(... and was the answer... nothing useful?)08:07
systemdletein my case, though, it looks like it was the bad hard disk (or loose cabling) that was the problem.08:08
gnarfaceso, when i originally started using apt-cacher-ng, it was the simplest option that would pair easily with a private forked package repo, so that's why i used it08:09
gnarfacebut even at the time it was recognized that squid was a better proxy, it just wasn't something i could set up in a day08:09
systemdletehey, I'm not complaining, gnarface.  I appreciate your help in getting this working here08:09
gnarfacenow though, it seems that someone might have repackaged squid in a way that makes it easy to deploy as an apt cache08:10
systemdletegnarface, from what I've read, squid cacher is not the same thing.  It seems it is a general purpose cacher, not just for packages.  I think it is meant for mirroring or something08:10
gnarfacei just saw it mentioned somewhere, but now i'm forgetting the name other than it has squid in the name...08:10
gnarfaceyea, that's what i'm saying, i read someone had made something new using squid08:10
gnarfacenot just the same thing as a bare custom squid deployment, i don't think08:11
systemdleteoh.  I didn't notice the date on that article from 11 years ago08:11
systemdleteback then, at least, the squid cacher was a general proxy it seems:  https://duckduckgo.com/?q=apt+squid+cache&t=ftsa&ia=web08:12
onefangI used to be paid to write code for squid proxy for schools.  Last century.08:12
systemdleteor maybe that's just squid, not cacher08:12
systemdletesquid-deb-proxy gnarface?08:13
onefangI was about to point that out.08:13
systemdletehere is a 6 year old article on squid-deb-proxy: https://fabianlee.org/2018/02/08/ubuntu-a-centralized-apt-package-cache-using-squid-deb-proxy/   I note at the end of it, it says it can't cache files from https sites and you'd have to use apt-cacher-ng anyway08:16
gnarfacesystemdlete: ah, yea i'm pretty sure that's the one. i didn't know much about it other than it was mentioned as a apt-cacher-ng alternative08:22
masonI tried the squid deb proxy and it ended up being flakier still than apt-cacher-ng, so I went back.08:23
masonIt might be fun to write one sometime.08:23
systemdleteso here I am thinking that after installing and upgrading over a thousand packages, I am now told that there are still yet more packages to upgrade...08:28
systemdleteand the first prompt I get is about removing initramfs which I don't want to do.08:28
systemdlete(I think)08:29
masonsystemdlete: If it's tied to an older kernel you can.08:29
masonOh, initramfs... That's a bit odd.08:29
systemdleteit seems these are all files to be removed by autoremove08:30
systemdletebut why initramfs08:30
systemdletethat sounds dangerous08:30
masonI autoremove regularly. apt --purge autoremove08:30
masonWhat actual initramfs package does it want to remove?08:30
Unit193`apt autopurge`08:30
masonUnit193: I had no idea! Thanks.08:31
Unit193`apt full-upgrade --update --auto-remove --purge` works nowdays too.08:31
masonUnit193: And I think I had no idea because it's not noted in the man page or --help :P08:31
systemdleteI broke out of that upgrade, and now when I run apt upgrade, it is much quieter.  It held back 10 packages08:37
systemdletemost of it has to do with python stuff08:37
systemdleteI ran apt update again, and it quieted down--originally, it wanted to remove 1G of packages08:37
systemdleteI think this is one reason why, in the past, I've always avoided distro upgrades.  Maybe they work fine for other people, but I've always run into weirdness with them08:38
masonsystemdlete: I'd always pay careful attention to held packages. They indicate problems if you haven't intentionally held or blocked something.08:38
systemdleteI'll try to complete this VM upgrade to daedalus just because I've invested a lot of time and effort into this already.08:38
systemdleteI'm up to chimaera now08:39
masonah, kk08:39
masonSo, dist-upgrade is your friend for that kind of thing. apt upgrade, and once the low-hanging fruit is finished, dist-upgrade08:39
systemdletethat is precisely how I did it.08:39
masonsystemdlete: remember 'aptitude why' if you hit any puzzles08:41
systemdletetruth be told, I avoid python stuff when I can.  If a program (like gdebi?) needs it, then I proceed to feed it.  But it seems to me that python is all messed up.08:42
masonSame.08:43
systemdleteright now, I'm seeing a lot of errors with this upgrade, which I've turned into an install for those 10 packages it wanted to upgrade.08:43
onefangI've used 100 programming languages in my career.  I have a hatred of any language starting with the letter P, and those starting with R are heading in that direction to.08:44
systemdleteperl is huge, but at least there is some sanity to its packaging and modules.  I haven't encountered too many problems with it over the years, other than an occasional module being replaced or becoming unavailable08:44
masonI'm deeply fond of Perl here.08:44
systemdleteI tried writing a python script once rather than a perl because someone insisted it would be easier than doing it in perl.08:45
systemdlete(guess what--they were wrong.  Just trying to get i/o redirection working was a big fit)08:46
masonI had to use Python in my last job. What I disliked most was that so many things don't give actual return codes - you're forced to use exception handling, which is often overkill.08:46
systemdleteperl may be a lumbering giant, idk.  But it works, consistently.08:46
systemdleteand its syntax reminds me of fortran 66 or something.  And I think fortran was better actually...08:47
systemdleteyou know, don't punch anything in column 6, and don't go past column 72 (last 8 bytes are reserved for punchcard ordering)08:47
systemdletewell, python isn't quite that parsimonious, but it tries I think08:48
systemdletetedious I mean08:48
systemdlete(very tired after all this drama...)08:48
CueXXIIIstill i would teach python as a first language, you learn ohw to indent08:48
systemdletelearn how to stretch that left pinky finger... yeah08:49
CueXXIIIoh, i have seen everything, from no indentation at all to sawtooth indentation for blocks (in !python)08:50
systemdletenow lisp--I love lisp. WRITING lisp.  Not reading it, even my own lisp code...08:50
onefangI know I started this, but it's off topic.  lol08:50
systemdleteyeah08:50
systemdleteit is08:50
bgstack15I can get to efi variables if I mount -t efivarfs that /sys/firmware/.... something path. I'm pretty sure this 2012 firmware (no updates available, I checked) is one of those old, buggy EFI motherboards. I will check that default location for EFI\BOOT\BOOTX64.EFI. If that does not yet exist, should I copy the efi thingy I want, from the debian efi file to that file?13:42
bgstack15Pretty sure underneath all my /boot/efi stuff there wasn't any grub file anywhere.13:43
rrqsure? afaib if you where using grub, the .EFI bootloader would have had a sibling grub.conf (telling where actual grub is).. it's kind of like chain loading but not13:49
CueXXIIIbgstack15: are you sure you a re booting in efi mode and not legacy mode?13:50
bgstack15CueXXIII: unfortunately I don't know for sure. I remember this type of empty cursor blinking screen back in the olden days, but if I boot to the flash drive, I don't know how to tell how the system booted to the local-storage.13:53
bgstack15I have at some point tried apt-get install grub which removed grub-efi-amd64 but it still wouldn't boot.13:55
bgstack15(from that rescue boot, chrooted to the /target of course)13:55
bgstack15I confess I don't know how to troubleshoot a legacy boot either, if apt-get install grub didn't do it.13:59
bgstack15Ah, my drive has a GPT partition table, so apparently BIOS/legacy will never work with that. Per https://forums.debian.net/viewtopic.php?t=148383. So I'll just reformat to MBR and then reinstall. It's OK. There's nothing that has been done to the system so it's fine to reinstall.14:01
bgstack15And then maybe we can get the legacy boot to work. Man, I hate UEFI.14:01
rrqmaybe a month or so with arm and uboot would remedy that ;)14:06
bgstack15rrq: haha, are you saying uboot on ARM is worse than amd64 with UEFI?14:11
bgstack15Huh, with MBR, the installer chose grub2 and then the system booted right up with the target OS. Yay!14:19
bgstack15(I kind of wish the installer had given me a choice, but then it's my fault for not picking "expert installation," eh?)14:20
gnarfaceuh, which TERM value makes "make menuconfig" render correctly?18:04
gnarface(in color)18:04
gnarfacevt100 seems to fix the line drawing glitch but also goes monotone18:05
gnarfaceyou guys are seeing this too right?18:05
ted-iousxterm-color?18:06
gnarfacehuh, yep, thanks that actually works18:07
gnarfacedidn't even think to try it because the default value xterm was already rendering it in color18:07
plasma41bgstack15: You actually can use a GPT partition table on a BIOS system (and I do), but you need to add an extra partition (1 MB is big enough) and assign it the bios_grub flag and install grub into it.19:26
plasma41It requires a little extra setup, but IMO not being limited to 4 partitions (of 3 real partitions + 1 partition that gets sliced into subpartitions) makes the extra setup more than worth it.19:29
plasma41s/of 3/or 3/19:29
plasma41gnarface: Don't know if it would apply in that case, but lots of programs will unconditionally emit colored output if the environment variable CLICOLOR_FORCE is set (usually to 1).19:36
gnarfaceplasma41: noted, though that's not set here in these cases19:37
gnarfacesome other hint might be, i am using rxvt-unicode-256color19:38
gnarfacenothing obvious i'm seeing though19:39
AlexLikeRockwhy can't  enter to #debian ??19:40
AlexLikeRockits lock it  ?19:40
AlexLikeRockits down ?19:40
plasma41AlexLikeRock: Because it's on OFTC and this is Libera Chat?19:44
AlexLikeRocklibera19:45
ted-iousIt's because AlexLikeRock isn't registered and #debian requires that.19:45
AlexLikeRocki remember , they have channel her too19:45
AlexLikeRockah, thanks  ted-ious19:45
* bgstack15 demands that we BUILD MORE IRC BRIDGES BETTER BACK19:45
AlexLikeRockmay be  ... why19:45
bgstack15plasma41: thanks, I definitely didn't have a 1MB partition with bios_grub flag, and grub installed to it. I can live with an MBR drive that lets me boot just fine. If I ever experience this again, I'll try that initial partition thing on GPT. I try to be foward-tolerant in this manner.19:46
systemdleteI might have some new info about that apt-cacher-ng issue I was reporting about a day or two ago.  Here is an excerpt from the cacher's log (debug is configured to 7, meaning all possible traces are enabled)20:51
systemdletehttps://paste.debian.net/hidden/f4c953bf/20:53
systemdleteI note that it seems to be starting the download of the InRelease file, then immediately says not to write to it.  Seems like it might be better to check first, but I am not familiar with the code.20:54
systemdleteI still haven't been able to determine which server it is, sorry.20:55
systemdlete(other than these errors today, I haven't seen any for a day or so)21:27
CueXXIIIsystemdlete: you mean the "known data hit" part? That's because it tells the server: only send me the file if it is newer than the version I have21:27
CueXXIIIand the server replies with "304 Not Modified", so the local version is already the newest21:27
systemdleteCueXXIII, yes.  But what I notice is that it SEEMS to be making the request BEFORE deciding not to write it.  But I may not understand its logic.21:29
systemdleteThe debugging portion of the cacher manual talks about error 503.21:29
systemdleteThe messages don't give a very clear picture of exactly which transactions the cacher is referring to:  Is it the communication between the cacher and the upstream repo, or is it the communication between the cacher and the client hitting the cache?  It's not very clear to me.21:31
CueXXIIItrue, i don't see that either21:32
systemdleteNow the log DOES indicate with 'I' or 'O' whether it is incoming or outgoing, but even there I am still not totally sure which conversation it refers to.21:33
CueXXIIIbut to get a 304 you have to start the download by sending the GET request and add a If-Modified-Since: header21:34
systemdleteright21:34
systemdleteand I am guessing it does that.21:34
systemdleteIf /I/ were writing such a tool, I'd begin by clearing defining the 3 parties involved:  'client' 'cacher' 'repo'21:35
systemdletethen in the logs and error messages I'd put something like:  client -> cacher or repo -> cacher or cacher -> client, etc, depending on which way and the end points21:36
systemdleteso it would be easier to follow the conversation and the errors, if any21:36
systemdletebut that's just me21:36
systemdletewe can't complain when it's free21:37
systemdlete(forgive the rhyme; I am taking a class on Hamlet, so it's kind of creeping under my skin...)21:37
masonFor us to see the poetry therein we'd have to pay attention - chances slim.22:07
systemdleteI'm building a debug version of apt-cacher-ng because it is supposed to have more logging info22:07
systemdletehopefully, it will tell us more about which mirrors it is hitting22:08
djphsystemdlete: SHOULD be the ones you've configured ...22:37
systemdletedjph:  We need to know which repo server is actually being hit on  a particular call to a server in the pool23:53
systemdletethere is a suspicion that some of the mirrors might not be working correctly23:54

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