libera/#devuan/ Friday, 2022-08-19

joergsomehow all my concepts how I wanna do backups fall to dust, with 2TB /home RAID1 and 4TB USB expansion drives. I'm missing the times when a DVD+RW in your optical drive was fine for a few days full unattended automatic backup00:51
joergbtrfs FTW00:52
joergand snapper00:53
Xenguyjoerg, It's ready for prime time?00:53
joergbtrfs?00:53
joergworks great for me00:53
XenguyYeah, any risks at this point?00:53
joergnone I know of00:53
XenguyGood to know00:53
XenguyAnd it's kind of ZFS'ish IIRC?00:53
Xenguy"It was initially designed at Oracle Corporation in 2007 for use in Linux, and since November 2013, the file system's on-disk format has been declared stable in the Linux kernel."00:55
Xenguy"In 2009, Btrfs was expected to offer a feature set comparable to ZFS, developed by Sun Microsystems.[57] After Oracle's acquisition of Sun in 2009, Mason and Oracle decided to continue with Btrfs development."00:57
joergunlike [XYZ]FS, btrfs didn't render my system inaccessible yet, then OTOH I don't have it on my root partition (yet) which is a SSD and "small" (/dev/sda2        79G   59G   17G  79% / ) so no problem to backup it very quickly01:01
joergsnapshots are almost as good as a really fast backup feature, just that a fast backup of 2TB doesn't exist01:06
* rrq prefers nilfs (nilfs2) as it comes with less advertising :)01:06
rwpFacebook uses btrfs extensively across its internal datacenter servers.  But probably 30,000 machines doing exactly the same thing.01:10
rwpI continue to think ZFS is the best file system for my large storage needs.01:12
Guest4792Hello, recently I updated devuan stable to catch up packages and "apt-get" stopped working. It prints a sementation fault messge. Any idea what is happen? Thank you.08:58
gnarfacesomething bad08:59
gnarfacecould be a symptom of a few things09:00
gnarfacemaybe you have packages from other distros or releases mixed in inappropriately09:00
gnarfaceor maybe bad ram09:00
gnarfacedo you have chimaera in your sources.list or the word "stable"?09:01
Guest4792gnarface: I'm not with my PC right now, but I think is "chimera". This detail has implications?09:06
lts-Depends on what was "stable" when you updated last time.. :-)09:07
gnarfaceyea, if for example you used the word "stable" instead of the actual release name and then the release changed out from underneath you, it might have broken during update, resulting in a mix of both beowulf and chimaera packages - library version mismatches are one possible cause of segfaults09:08
Guest4792gnarfce: regarding to the ram, this would affect others programas, isnĀ“t it?09:08
gnarfaceyes, you could likely reliably get segfaults out of something whenever the ram was nearly full09:08
gnarfaceit might be tricky to cause though still if it's not much bad ram09:09
gnarfaceyou can boot memtest but it's time consuming09:10
gnarfaceusing any packages from other distros? mixing in ubuntu ppa crap is a common mistake that can lead to problems09:11
gnarfaceor if you used backports in a previous release those packages may be holding newer ones back09:11
gnarfacebasically, other than bad ram the only likely cause is packages' expected version mismatches09:12
gnarfaceit would be unlikely for apt-get in the stable release to be segfaulting09:12
Guest4792gnarface: no, I'm not using packages for other distros09:12
brocashelmcan you still use aptitude command?09:13
gnarfacei've just updated stable on a few machines here and not seeing any problems so far with them, so if it's actually apt-get broken upstream then whatever happened it either happened in the last couple hours or it's only happening on your hardware09:13
gnarfaceanything weird about the hardware?09:13
gnarfacesomething very old, very new, or rare?09:14
gnarfacemaybe the bios hasn't been updated?09:14
brocashelmapt-get works for me and i'm on ceres (unstable), so it's probably not an upstream problem09:15
Guest4792brocashelm: I not probed it. I'll take note09:15
brocashelmmy version of apt is 2.5.2devuan109:15
brocashelmaptitude is more accurate than apt or apt-get, so running for example aptitude full-upgrade will attempt to match all dependency errors09:16
Guest4792gnarface: but if were a hardware problem would affect other programs. "apt-get" seems the only affected09:17
gnarfacelike i said, not necessarily09:18
gnarfaceit would have to be something that used the bad spot in the ram, so programs that don't use much ram are less likely to hit it09:18
gnarfacetry compiling a kernel or something09:19
gnarfaceor some game that fills your ram up completely09:19
Guest4792gnarface: I'll probe it.09:19
gnarfacedoes apt-get segfault immediately or at different times?09:19
gnarfacei wonder if a file it uses could have gotten corrupted on disk instead09:20
Guest4792gnarface: immediately.09:20
gnarfacehmm, does seem like it has to be a library issue09:20
brocashelmdo you get anything with apt-get download apt?09:20
brocashelmlooking up your problem, seems this is an issue that has happened a couple of times. there are some solutions provided here: https://unix.stackexchange.com/questions/193169/apt-get-install-ends-with-segmentation-fault09:22
brocashelmalthough it may be a hardware issue09:22
Guest4792brocashelm: thank you. I'll take a look09:22
Guest4792gnarface: I'll read my "sources.list" too, for check what word ("chimera" or "stable") I have. Thank you.09:26
Guest4792Thank you both for your help09:26
brocashelmmake sure it says chimaera, btw09:26
brocashelmhopefully your issue is resolved then09:26
golinuxGuest4792 is gonna have a problem if he tries to use "chimera". It is "chimaera" of course.15:04
djphwoo, everything works fine post-upgrade to daedalus.  should've done this months ago :)15:10
golinuxCongrats!15:14
djphhardest part was spelling it, lol :D15:44
golinuxLOL!15:44
golinuxWhat messade?15:52
golinuxnessage15:52
golinuxOy . . . it's gonna be that kind of day15:52
golinuxI was wondering why you ghosted us15:52
djphgolinux: who? me?16:35
golinuxdjph: No. auanta.16:39
djphoh ... something must be screwey over here then; since I'm not seeing anything except your comment :| *sigh* breaking things is fun16:40
golinuxdjph: You didn't see this?16:53
golinux*auanta* hi just wanted to make sure you got my message16:53
djphgolinux: nope16:54
golinuxIf it was meant for me persona;;y, it shouldn;t be showing on this channel16:55
djphgolinux: no idea then16:56
golinuxmaybe joerg can explain things when he sees this16:56
golinuxI'm off to the kitchen16:56
joerghm?17:02
fsmithredjoerg, how to send someone a private message that shows up in the window/tab for this public channel, but only shows for the intended recipient?17:09
joerg/help notice17:09
fsmithredok, so it's possible. That was the real question. Thanks.17:09
joergalso useful: /help umode17:10
fsmithredum, that last one was not helpful17:10
fsmithredwhat is 'mode %n &2' ??17:11
fsmithredoh17:11
joerg+g is useful for sure, when you really want not get pestered17:12
joergand a plain /umode at least in my client shows the user modes I've set17:13
joergalternatively /mode <yourownnick>17:14
joergthe /umode is an alias/shortcut17:14
fsmithred just /umode gives me Bad arguments for user command.17:15
joergirc has user modes and channel modes aka /cmode   or /mode <#channel>17:15
joergnot all clients seem to understand the shortcut17:16
golinuxAll that makes my head swim . . .17:20
golinuxI seek simplicity17:20
golinuxBut I do appreciate the explanation joerg . . . You are our very own chat "wikipedia"!17:21
joerghttps://libera.chat/guides/usermodes17:22
joerg:-D17:22
* golinux never rtfm17:26
joergit's not a manual, it's a terse cheat sheet that explains stuff better than I could17:28
golinuxChicken scratches to me17:30
joergactually the real cheatsheet is in the middle of https://libera.chat/guides/basics17:30
golinuxMy abstract symbol skills have never been that good and now about non-existent. I am very analog.17:31
golinuxI seek simplicity in all things,17:32
joergabstract symbols?17:34
golinuxOld dogs find new tricks challenging.17:35
joergI don't see the abstract symbols anywhere17:36
golinuxI am tired of learning new ways to behave for the machine.17:36
golinuxI have only been able to grasp the most basic bits of irc communucation.17:37
joergerrr, who recommended you to learn new ways of behavior? I just gave you infos17:38
golinuxI don't want/need all that clutter in my head.17:38
golinuxAnd I thank you for that. I now know what *[username]* means. I have no interest in learning how to use it myself.17:40
joergwell, sorry, I can't read your mind, neither could I change your user modes on your behalf. You may ask me what _you_ can do to configure your user client/account/whatever in a way so you like it most, but I can't tell you what is the way you like most17:40
golinuxBut now I know where to find it if I change my mind.  :D17:40
* golinux saved notes17:40
golinuxIt gives me a headache to even think about trying to figure out what that means17:41
joergyou can block all messages addressed at you by the command /mode golinux +g but I don't know if that's what you really want, there are variants like the "soft" /mode golinux +G but please read about what all the usermode flags do, in https://libera.chat/guides/usermodes, then if you got any questions regarding this, feel free to ask me in any channel you find me or PM me17:47
joergI know irc is not "userfriendly", it took me years to understand the basics17:49
joergmainly because there are not many real user manuals / tutorials that explain what a command is useful for and how all this stuff plays together17:51
joergor rather, I didn't know of any such manual/tutorial back when17:54
djphjoerg: I just come across the garbage-tier blogspot (etc.) type stuff17:58
joerg>><fsmithred> what is 'mode %n &2' ??<< where did you see that?18:02
joergI never heard of such thing18:02
joergor rather, I seem to recall it's a config option for probably a irc client GUI pushbutton18:06
fsmithred<joerg> also useful: /help umode18:24
fsmithred User Command for: mode %n &218:24
fsmithred<fsmithred> um, that last one was not helpful18:24
fsmithred<fsmithred> what is 'mode %n &2' ??18:24
joergsorry, you use a client that spits unhelpful error messages18:25
fsmithredhexchat FTR.18:25
joerg:nod:18:25
fsmithredthat message comes when I try to get help on umode18:26
joerghttps://i.imgur.com/7MgmMyw.jpg18:28
joergevery client does some "translation", the raw data is as gibberish as running as any arbitrary API is.  The problem now is: there's no RFC for what and how exactly your client must do to translate between raw and human-readable18:31
joergand hexchat is notorious to suck in that regard18:31
joergooh, and server commands via bounbcer proxy is yet another nightmare to explain and get right18:36
joerg-b18:36
joergbouncer aka ZNC#18:36
joergmaybe helpful https://en.wikipedia.org/wiki/Internet_Relay_Chat#Modes18:37
joergsee, this is why I prefer to point users to "manuals" like ^^^ this or that https://libera.chat/guides/usermodes. I have no way to be sure what your client does, and often I'm just not aware there's a potential trouble when I look at my nice Konversation screen and think >>hmm, shouldn't be too hard<< and then neither the user I puzzled with my ignorance nor I realize that I'm looking at another client's screen than the user who sees a massively rude "User18:42
joergCommand for: mode %n &2" where I hoped they see a https://i.imgur.com/7MgmMyw.jpg18:42
joergnow this is explaining that stuff about the client "translation" issues better than I could https://en.wikipedia.org/wiki/Internet_Relay_Chat#Commands_and_replies18:49
joerg>>Depending on the command, these may either be handled entirely by the client, or (generally for commands the client does not recognize) passed directly to the server, possibly with some modification<<18:51
joergthere's a command /quote which took me years until I understood why it's needed on *some* clients like hexchat maybe18:53
sabasedighhello19:24
sabasedighneed urgent help19:24
joerghi :-)19:24
sabasedighI was installing somthing with apt and it got stuck on  libc-bin and the end of install19:25
sabasedighSetting up libc-bin19:25
sabasedighright now no application opens19:26
sabasedighI terminated that apt install and if I try ap install anything I get directed to do19:26
sabasedighdpkg --configure -a19:26
sabasedighwhich stucks at Setting up libc-bin (2.31-13+deb11u3) ...19:27
sabasedighany help?19:27
joergsounds similar to a few hours ago http://reisenweber.net/irclogs/libera/_devuan/_devuan.2022-08-19.log.html#t2022-08-19T08:58:1619:28
joergthe bottom line aiui been >>gnarfacedo you have chimaera in your sources.list or the word "stable"? <<19:30
sabasedighjoerg: chimaera19:30
gnarfacewe never got a confirmation on the other issue though19:31
sabasedighwhich issue?19:31
gnarfacesomeone had a update fail on chimaera earlier but they were actually segfaulting19:31
sabasedighapt upgrade19:31
sabasedighdpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.19:31
sabasedighit is this over and over19:32
sabasedighand I can't open any application19:32
sabasedighright now I am on irssi19:32
gnarfacethis old solution to corrupted apt internal files was mentioned, but the user never came back to confirm or deny whether it worked: https://unix.stackexchange.com/questions/193169/apt-get-install-ends-with-segmentation-fault19:32
sabasedigheven htop and top won't open19:32
sabasedighgnarface: maybe because nothing worked after that for him19:33
gnarfaceyea, that's a possibility19:33
gnarfacedo you have enough functionality to download the live image and burn it to a usb key? you might end up needing it...19:33
joergnot really surprising when >>it got stuck on  libc-bin<<19:33
sabasedighgnarface: right now I have a browser open19:34
joergwhen libc binary is broken, probably there's hardly anything except kernel that works?19:34
gnarfacewell i wouldn't really expect the old one to be so different on stable, i don't know19:35
sabasedighis there any way to get the libc package and extract it over the broken one?19:35
* joerg shuts up19:35
gnarfacethat's also something you could do readily from a live image19:36
sabasedighthis system took lots of work to setup19:36
gnarface... it doesn't really answer the question of what actually went wrong though19:36
gnarfacethis is definitely not something that should be happening normally19:36
djph^19:36
gnarfacehttps://files.devuan.org/devuan_chimaera/desktop-live/19:36
gnarfacegrab one of these if you can and dd or cp it to a usb key then run "sync" once to be sure it completed19:37
gnarfacejust before anything else goes off the rails so you can have a recovery path19:37
sabasedighgnarface: I as installing a package with apt install and the install process at the end of the apt "those ###### process bar got stuck at 31%" I terminated the process and now we are here ....19:37
gnarfacehmm, i wonder if something has gone wrong at the repo end...19:38
gnarfacestable updates are usually better than this19:38
sabasedighgnarface: I have a usb live. how could I repair libc from that19:38
sabasedighI really don't want to install new OS19:38
gnarfaceeasy, boot the live usb, mount the drive and do the manual libc replacement you proposed earlier19:39
gnarfacei don't know if that's gonna fix the real problem but it's as good an idea as any at this point19:39
sabasedighgnarface: where is the the libc location to be repaired over19:39
joerg>>then run "sync" once<< or "safely remove" if that's available19:39
gnarfacesabasedigh: you're not Guest4792 from earlier, are you?19:40
sabasedighgnarface: oh; no... I am as alway sabasedigh19:40
sabasedighand I came here about 10 minutes ago19:41
sabasedighwhere is libc location?19:42
gnarfacedpkg -L [package name]19:43
gnarfaceyou said it actually failed on libc-bin which isn't actually libc, it's some tools for dealing with libc19:43
gnarfaceyou're sure this isn't something mundane like you're out of drive space or something like that, right?19:44
gnarfaceyou should check the dmesg output for some errors19:44
gnarfacesomeone else recently had a failure doing an upgrade but it's possible your problems aren't related19:46
gnarfaceat this point we don't actually have a diagnosis on either issue really19:46
joerg>>out of drive space or something like that<< quite plausible19:47
joergor IOerror, swap hell, whatever19:47
sabasedighgnarface: dpkg -L shows wide range of directories which I am gussing needs to be replace with amounts new install19:47
gnarfacesabasedigh: what does "df -h" say you have for free space?19:48
sabasedigh*/with/which19:48
gnarfacea new install? hardly... dpkg -L libc-bin|wc -l19:48
gnarfacelike 58 files19:49
gnarfacei'm just concerned it's not gonna actually fix the problem19:49
joergwhat the heck _is_ libc-bin?19:49
gnarfacethe package with ldd in it19:49
joergoooh19:49
sabasedighyup19:49
sabasedigh4GB free at root19:49
sabasedigh'/'19:49
joergdmesg19:50
sabasedighjoerg: what am I looking in dmesg output?19:51
gnarfacea bunch of i/p errors from the drive maybe19:52
gnarfacei/o*19:53
joerghmm good question. Maybe search for the /dev/sdX device name your root filesystem was on. Or search for "error"19:53
gnarfaceit'd probably be near the end19:53
joerga pity dmesg has no meaningful timestamps afaik19:54
sabasedighhttps://dpaste.org/7SUtL/raw19:55
joergrelevant, that's at least a clue19:55
gnarfaceuh, please use paste.debian.net if you want me to look at it19:58
joergI'm out, that's not a topic I could help19:58
joerggnarface: https://termbin.com/iohr19:59
gnarfacewhy is everyone so disobedient?19:59
joerglol19:59
gnarfacejust /msg it to me if it's that big of a deal20:00
gnarfaceoh, damn. so there's segfaults after all20:01
gnarfaceit's starting to look like something has gone severely wrong with a chimaera update late last night20:01
gnarfacesomething i apparently missed myself by just a few hours20:01
sabasedighhttp://paste.debian.net/1251030/20:02
gnarfaceyea, i got it thanks. joerg messaged it to me20:02
gnarfacethe firmware load failure is about your wifi device, it's not related20:02
gnarfacethe libc segfaults are bad news20:03
sabasedighgnarface: it is about 8hrs ago.... I remove the wifi dongle and attached the cat6 cable20:03
gnarfacei would consider rolling the packages back and checking bugs.debian.org to see if someone has already reported this20:03
gnarfacejust as a sanity check can i see your /etc/apt/sources.list file?20:04
gnarfacealso make sure you don't have anything in /etc/apt/sources.list.d/20:04
joergfirmware load failure -> internet connectivity loss -> stalled download? installer hickup?20:06
gnarfacei'm not sure that would explain libc segfaults20:06
joergI have no idea how it's installing a new ldd related stuff20:07
joergor anything. First full download and store temporary, then unpack, ch4ecksum, then install by overwriting or by rename of a temp filename to target name after write?20:08
joergsmells like pending doom20:09
gnarfaceit does occur to me that i've seen something like this come up before with people who had failed to include the chimaera-security or chimaera-updates repos in their sources.list, and that link i pasted earlier i think mentioned it could come from having google earth sources in your sources.list.d directory or something like that20:15
gnarfaceany prior distro/release mixing might also be a culprit, but we told all that to the last person too and now these incidents are starting to look less likely to be self-inflicted20:16
gnarface^ sabasedigh20:16
fsmithredI'm trying apt update/upgrade in chimaera live iso now. Couple hundred packages are being upgraded. sabasedigh what package were you trying to install.20:38
fsmithredohh....  dpkg: unrecoverable fatal error, abortins20:39
fsmithredoh, nm. I ran out of space in my live session. Need to give it more RAM>20:39
gnarfacewatch out for snipers, fsmithred20:42
gnarfaceso far everyone else this has happened to disappeared without a trace20:42
fsmithredI'm doing it in a VM. That should shield me.20:42
fsmithredupgrade completed successfully. I wish I knew what package to test install to see if it breaks.20:46
fsmithredbrb20:46
fsmithredsabasedigh, ^^^20:46
joergfsmithred: you seen https://termbin.com/iohr ?21:10
* joerg wouldn't be surprised to find a bug in firmware or firmware flasher for that WLAN chipset21:12
* joerg now playing: https://youtu.be/s7WDbnHlc1E21:26
joergif I were a blackhat, I'd implant my trojan horse rootkit into some firmware blob21:28
bb|hcbAbout dmesg and timestamps, there is dmesg -T, HTH :)21:51
ibanjaI installed flatpak. When I issue a "flatpak --user install" command I am asked for an sudo password. the package is then installed as root. I followed the https://wiki.debian.org/FlatPak instructions.21:53
ibanjaFixed it... not sure what happened... purged flatpak and all associated directories. reinstalled... rebooted... now it works.22:36
ibanjanevermind... It installed with the sudo command again... the sudo password must not have timed out, so it didn't ask for a password... I'm done for the weekend.22:45

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