libera/#devuan/ Friday, 2022-05-06

sasha15I am working on Devuan Chimaera and I have installed it by :00:52
sasha15pip install cassowary00:52
sasha15Launch cassowary configuration utility with:00:52
sasha15$ python3 -m cassowary -a00:52
sasha15But after that I received:00:52
sasha15What to do?00:52
sasha15I am working on Devuan Chimaera and I have installed it by :00:53
sasha15pip install cassowary00:53
sasha15Launch cassowary configuration utility with:00:53
sasha15$ python3 -m cassowary -a00:53
sasha15But after that I received:00:53
sasha15What to do?00:53
sasha15No module named cassowary.__main__; 'cassowary' is a package and cannot be directly executed00:54
onefangIs cassowary an Aussie emu-lator?00:55
onefangI'll get my coat.00:55
sasha15yep00:55
sasha15https://github.com/casualsnek/cassowary/blob/main/docs/2-cassowary-install.md00:56
sasha15i installed all but cant launch config00:58
gnarfacerelated to the packages python3-kiwisolver or librust-cassowary-dev?00:59
sasha15python301:00
sasha15Help me please.01:09
gnarfacesasha15: seems like you need python support unless it's just that you're missing the python3-kiwisolver .deb, that's my only guess01:12
sasha15So this means that I need to reinstall python ? python kiwisolver was installed01:23
gnarfacei don't think it means you need to reinstall python, but i don't know01:24
gnarfaceit looks like there's a mistake in the code but i don't know python01:24
gnarfaceyou should ask in python's irc channel01:24
gnarfacebut you should stay connected here in case someone comes back later who knows01:24
sasha15Ok. Installed casowary once again: pip install cassowary01:27
sasha15Requirement already satisfied: cassowary in /usr/local/lib/python3.9/dist-packages (0.5.2). But cant to launch it.01:27
systemdleteI've done it again.   Sheesh!01:33
systemdleteI have destroyed my chimaera partition.  I was trying to rename the raid device and screwed things up.   I believe I clobbered it.01:33
systemdleteI am wondering, can the original content on that device be recovered and made good again?  Or am I S.O.L.01:34
systemdlete(not a big deal, really.  All I had on it was a minimal system, enough to run vbox.  VMs are on other partitions)01:34
systemdleteprobably faster to stop crying about it and just re-do it.  But before spending all that effort (and time), maybe there is a way to get my raid back, as it was.01:35
systemdleteI even have backups, so it shouldn't be too painful if I do need to rebuild the partition.01:36
systemdleteI can't believe I did that.   I didn't even think to copy the partition before I started... doh!01:37
systemdlete(I guess you could say systemdlete has deleted his system)01:43
DashiePieyou're just living up to your name02:23
DashiePiewhat a chad02:23
gnarfacesystemdlete: i thought there was some sort of mdraid repair tool but i don't know if it would help03:12
Ankokukishihello everyone. I have an issue that i cant figure out how to fix03:15
Ankokukishihttps://dpaste.org/knC6G03:16
Ankokukishifor some reason my initramfs-tools is not responding03:16
Ankokukishiive tried --configure and -update-initramfs gives me an error that the command doesnt exist03:17
Ankokukishibut if i try to install initramfs-tools, it says its installed03:17
Ankokukishiim using refracta 10, but my repos are set to unstable03:19
rrqis /boot large enough?03:20
gnarfaceAnkokukishi: well, "-update-initramfs" isn't a command, it's actually "update-initramfs" but assuming that's what you meant to type, it's worth noting some jackass took /usr/sbin and /sbin out of root's default path upstream, so you'd actually have to call it as /usr/sbin/update-initramfs now, or add /usr/sbin back to root's path. i'm just guessing at the issue though... if you want me to actually look at that error use paste.debian.net or /msg it to03:21
Ankokukishiyes i have my boot and home on two different drives03:21
gnarfaceme directly here03:21
Ankokukishignarface: yeah i meant to say update-initramfs03:23
rrqit as a -v option .. might tell more03:23
Ankokukishisays update-initramfs is not a command03:24
rrqwhat's your $PATH?03:24
Ankokukishihow do i check that?03:24
rrqecho $PATH03:24
Ankokukishihttps://dpaste.org/Ew3o403:25
gnarfaceyou don't have to use a pastebin for one-line pastes03:27
gnarfaceif you want to paste something that starts with a "/" precede it with a empty space03:27
Ankokukishiokay03:27
Ankokukishii noticed theres no path to usr/sbin and /sbin03:28
gnarfaceyep, that's probably why it says it's not there03:28
Ankokukishii mena /usr/sbin03:28
rrqand it's nor root's path is it?03:28
gnarfaceit's defined in /etc/login.defs03:29
Ankokukishilemme look in my root directory real fast03:29
gnarfaceENV_SUPATH03:29
gnarface^ look for this string03:30
fsmithreddid you use 'su' or 'su - ' to become root?03:30
rrqbe root, then make sure /usr/sbin is in PATH, then use update-initramfs03:30
gnarfaceyea it won't work unless you're root even if it is in your path, to be clear03:30
fsmithredactually, it shouldn't matter if you're using refracta, because I already fixed it.03:30
gnarfaceoh, good to know03:30
fsmithredthat change happened about five seconds after I found it.03:31
Ankokukishibut when i try to update, it gives me this error03:32
Ankokukishihttps://dpaste.org/zOGte03:32
fsmithredI don't really understand the error. What was the command you ran?03:33
Ankokukishisudo apt upgrade03:33
AnkokukishiSub-process /usr/bin/dpkg returned an error code (1)03:35
fsmithredyou're using 5.17 kernel in beowulf?03:35
Ankokukishiim in ceres03:35
fsmithredoh, I thought you said refracta-1003:35
fsmithredwhich is beowulf03:35
Ankokukishioriginally installed beowulf03:36
fsmithredok03:36
Ankokukishithen switched to unstable03:36
fsmithredcould be temporary breakage03:36
rrqfirst problem is with /usr/share/initramfs-tools/hooks/live03:36
Ankokukishirrq: whats happening there?03:38
rrqadd "set -x" to it03:38
Ankokukishioh take off the x03:39
fsmithredI don't think that script should do anything if you're not in a live session03:41
Ankokukishithat fixed it03:41
fsmithredwhat did you do?03:41
Ankokukishiwhat rrq said03:42
fsmithredwhat you think he said03:42
Ankokukishi-x to the hooks/live file03:42
fsmithreddid you edit the contents of the file, or did you change the permissions on the file?03:42
Ankokukishijust made it not executable03:42
Ankokukishichmod03:43
fsmithredthat's not what he suggested03:43
Ankokukishio9h03:43
fsmithredif you look inside that file, about the third line down, you'll see 'set -e'03:43
rrqmmm but it made the script execution align to your expecttion I suppose :)03:43
fsmithredrrq was suggesting that you add 'set -x' to the file. That will make it spit out more information.03:43
Ankokukishioof. now i gotta make it executable again03:44
rrqyes my idea was to get some details about where it failed03:45
Ankokukishioof now i cant set it back to executable for some reason03:47
rrqbut, if this is not to be a live system, then removing live-boot might be a solution as well03:47
Ankokukishihow do i put it back to executable? just so it gets back to what i had before. It wont let me use chmod for some reason03:48
rrqas root03:49
Ankokukishii did sudo chmod03:49
rrqsudo chmod a+x /usr/share/initramfs-tools/hooks/live   ?03:50
Ankokukishiokay that worked03:51
Ankokukishiand i also changed -e to -x03:51
fsmithredwell, now it won't bail out if there are errors03:51
rrqbetter to make it both "-e -x"03:51
fsmithredI think you want both03:52
rrqthe "-e" makes the script exit with failure on first error03:52
Ankokukishithe error is gone now03:52
rrqthe "-x" makes it print the commands before executing them03:52
rrqby remivng "-e" you made the script ignore its problem03:53
Ankokukishii put the -e back and added -x03:53
fsmithredor it got installed when that script was non-executable03:53
fsmithredyou were getting that error on upgrade, right?03:54
Ankokukishiyeah03:55
Ankokukishiand i just ran it again03:55
Ankokukishiand the error is gone03:55
fsmithredand is initramfs-tools gone from the list of packages to be upgraded?03:55
Ankokukishiyeah03:55
fsmithredlooks like I upgraded that package about a week ago. I didn't run into a problem.03:57
fsmithredon daedalus03:57
Ankokukishihmmm i wonder if i may have done something when messing around in virtualbox03:58
Ankokukishiand that may have messed up something03:58
Ankokukishistill learning my way around vb03:58
fsmithrederror was in the host system or in the VM?03:58
Ankokukishihost system03:59
systemdletegnarface:  Are you referring to test-disk or testdisk?   That's included in systemrescuecd, so I might try that.  It claims to be able to recover lost raid info.09:03
systemdletehmmm.  testdisk is available in the devuan repos...09:07
gnarfacesystemdlete: i don't remember specifically sorry, i actually had the vague notion it had "mdraid" in the actual name09:35
gnarfacemaybe it was just something you could do with mdadm09:37
systemdleteI ran testdisk and came up with little.09:42
systemdleteI think when the new raid device was created, it overwrote the raid superblocks.  So whatever was there is probably gone now is what I am thinking.09:43
systemdleteI did not follow the instructions for renaming raid device quite right.  I should have written those down on a spare scrap --there's no shortage of throwaway mailers here, but I thought I could remember what I was doing.09:44
systemdletebad on me, that's all09:44
gnarfacedoes this help at all? https://www.woktron.com/secure/knowledgebase/196/How-to-recover-from-a-broken-RAID-array-with-MDADM.html09:45
systemdletethe issue is not with the raid itself, but with the fs that was on it.  The raid starts, but it cannot be mounted because the fs info is gone or damaged09:50
systemdleteso the raid itself does not need recovery; it is the file system that was on it09:50
systemdletethat needs recovery09:50
systemdletethanks for your help again09:52
systemdleteI think I just dug a deep one for myself, that's all09:53
systemdletebtw, hasn't mdraid been sort of defecated these days?09:54
gnarfacedunno honestly11:03
gnarfacei thought it was still what is used for software raid11:04
gnarfacei could be wrong11:04
systemdleteI have been using mdadm for years.  I was told long ago that mdraid was no longer preferred.12:00
gnarfaceoh i see. i probably meant mdadm when i typed mdraid12:04
gnarfacei thought they were the same thing12:04
gnarfacebut then again, maybe i remembered right and that's why you didn't see anything obvious with mdadm12:05
systemdleteok, off to start over again...12:20
systemdletebbl12:20
systemdletefsmithred:  I am trying a refracta install of chimaera.  When I get to the phase where it asks for the installation device, it does not list my (pre-existing) raid partition.  In a shell, I can see the raid device is there and running.   Maybe I have just forgotten what to do at this point.13:06
systemdleteThe listing of all the devices does show the desired partition I want, but the selection choices don't; it only shows individual /dev/xxx devices.13:07
fsmithredsystemdlete, you need to use the cli installer, not the gui13:18
fsmithredand then you type in the device name13:19
fsmithredhttps://dev1galaxy.org/viewtopic.php?pid=11437#p1143713:21
systemdletewhat is the name of the cli installer?   Is it refracta-cli?14:58
fsmithredrefractainstaller -d14:58
systemdleteaha.14:58
systemdleteok, thanks14:58
fsmithred(please use the debug option as shown)14:58
systemdletedebug option?14:58
fsmithredyou'll get garbage output on the screen, but if there are problems, you'll have something to read.14:59
fsmithredyeah, -d14:59
systemdleteoh14:59
fsmithredit enables 'set -x'14:59
systemdletegot it14:59
fsmithredso all the commands get duplicated on screen. I'm used to it and don't notice.14:59
systemdleteany plans for a fix to the gui installer?14:59
fsmithrednot for that ability15:00
systemdletewhich ability?  The one that would allow me to choose a pre-existing RAID?15:01
fsmithredwould have to change the way it sorts the partitions.15:01
fsmithredyeah15:01
systemdleteI'd be happy just to see it at all...15:01
fsmithredI need to overhaul the installer some time15:01
systemdleteI don't remember this issue when I installed refracta on my other box.  It is true I had to shell out to set up the raid, but once I did that, I was able to select it.   That is, iirc, which maybe I don't15:03
fsmithrednope.15:04
systemdleteI don't remember using the command line installer, but maybe I did.  That was a few weeks ago.15:04
systemdlete(memory is failing me a lot more than usual lately)15:04
systemdletebbl...15:05
fsmithredinstall_dev=$(find /dev -mindepth 1 -maxdepth 1  | egrep  "*[shv]d[a-z][1-99]|*nvme[0-9]n[0-9]p[1-99]|*mmcblk[0-9]p[1-99]"15:08
fsmithredoops.15:09
fsmithredI had a question.15:09
fsmithredI know what a raid device name looks like, but can there be multiple partitions inside it without using lvm?15:11
djphsure15:11
fsmithredor would /dev/md0 be used as a single partition15:11
fsmithredso what do the partition names look like?15:11
djphno, md0 is hte mdadm-exposed block device15:11
fsmithredok15:11
djphI'd expect it to be /dev/md0p1 or something like that15:12
fsmithredI can do that15:12
djph... although I usually do hardware raid ...15:12
fsmithredbbl15:15
djphtake care :)15:16
fsmithredsystemdlete, I think I have a fix for you18:28
systemdletefsmithred: ?20:04
systemdleteyou have an extra brain you can lend me for a while?20:05
fsmithrednot long20:05
systemdlete(mine's not working too well.  I just made another error... different one this time)20:05
fsmithredwhat device names do your partitions get?20:05
systemdleteuh... it varies, unfortunately20:05
fsmithredsomething like /dev/md0p1 could work20:05
fsmithredwould be a simple edit in the gui installer script20:06
systemdletewell, this system seems to like /dev/md125, /dev/md126, etc.  Of course, I have my own names in /dev/md, but those are the ones that are inconsistently named20:06
systemdletefsmithred:  I am actually ok with it as is.20:07
systemdleteThis is not one of my test boxes, so...20:07
fsmithredok. Did you see the line I posted just before you left?20:07
fsmithredoh, don't mess around.20:07
systemdletethe only message I see from you is "systemdlete, I think I have a fix for you"20:07
fsmithredyeah, that was when you returned20:08
fsmithredpm ok?20:08
systemdleteno, I did not see any other messages.20:08
systemdleteSure pm is fine20:08

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