libera/#devuan/ Tuesday, 2022-11-08

xrogaanIs there a netinstall ISO with proprietary network drivers loaded?07:23
gnarfacethere should be i think07:32
gnarfacedid you try the devuan_chimaera_4.0.0_amd64_netinstall.iso?07:32
rwpAlso IIRC the refracta installer has all of the drivers too.08:13
xrogaangnarface: I believe I got that one yeah, the boot menu is a bit confusing with all the entries09:35
gnarfacefind the non-graphical expert mode09:37
gnarfaceif they're not loaded automatically they'll be in the "additional installer components" menu09:38
chomwitthow can i now if a package is in stable backports ?11:20
fsmithred_chomwitt, search the package name at pkginfo.devuan.org12:15
fsmithred_or...12:15
fsmithred_if you have a line for chimaera-backports in sources.list, do 'apt policy <package>'12:16
chomwittfsmithred_, thanks16:49
chomwitti found an example of a backported package and use it as guide : https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=0ad&x=submit16:50
chomwittunfortunately there is no backport for qutebrowser16:51
chomwittanyway i dont complain. 0ad is an excellent game . if i have time i would like to package oolite game and backport qutebrowser.16:58
chomwittis there a entry guide to start experimenting?17:03
chomwittxmm.. looking at devuan packapots Package.gz file i discover duf !! indeed a better df. cool17:19
chomwitts/packpots/backports17:19
chomwittwow even a nes emulator is backported! some guys in deb land love retrogaming!!!17:25
chomwittsorry i should go to offtopic17:25
fsmithred_chomwitt, debian wiki has backporting instructions19:24
chomwittok19:30
gnarfacei just debootstrapped daedalus and something might be wrong with the locales20:09
gnarfacei mean something that might not be me forgetting a step20:10
gnarfacecan anyone else confirm or did i actually do something wrong?20:11
gnarfacewhen i run "locale charmap" i get errors like locale: Cannot set LC_CTYPE to default locale: No such file or directory20:12
gnarfacebut when i run "dpkg-reconfigure locales" there's only utf8 locales available in the list20:12
fsmithred_gnarface, make sure locales-all is installed20:30
fsmithred_hm... maybe not. I don't have it. I do have util-linux-locales20:30
gnarfacehmm, nope, added it but utf8 is still the only available locale, and i'm still getting the errors at nearly every package install as well as after running "dpkg-reconfigure locales" itself20:34
gnarfacei also note that after running "dpkg-reconfigure locales" the /etc/default/locale file gets updated to en_US.UTF-8 but the output of the "locale" command itself still says plain old en_US20:37
gnarfacethough i guess maybe part of the issue could be because i'm chrooted20:37
gnarfaceshould i boot it to see if it behaves differently?20:37
gnarfacehttps://paste.debian.net/1259992/20:38
gnarfacefsmithred_: what about libencode-locale-perl?20:45
gnarfacefsmithred_: it wouldn't be krb5-locales would it?20:57
gnarfaceit doesn't seem to be libencode-locale-perl20:57
eyalrozHello devuaners,21:02
eyalrozRecently, there was a large update of daedalus (including libc). After the update, my self-built celluloid media player has started acting up: If I run /opt/celluloid/bin/celluloid /path/to/file.mp4 , it works fine (more or less), but trying to start it by double-clicking a file in the nemo file manager - fails.21:02
eyalrozI was wondering whether you might have any leads I could follow to try and figure out why I can't launch the player with my file. (I've already tried rebuilding of course.)21:03
rwpgnarface, What environment variables are you setting?  Try "env | grep -e LANG -e LC_" and see what is set.  Seems to me those are overriding.21:07
rwpeyalroz, Are there any errors in the ~/.xsession-errors file for this action?  That file is where X logs all of the output from graphical applications.21:08
rwpeyalroz, For a deep dive debugging one could run nemo under strace logging all system calls, trigger the failing action, and look at the file trace.21:09
rwpSomething like "strace -o nemo.strace.out -v nemo &" or similar.21:09
rwpThat will produce a lot of data to grep through.  Can reduce that somewhat by restricting to just files "strace -e trace=file -o nemo.strace.out -v nemo &"21:10
gnarfacerwp: i'm not setting any21:11
gnarfaceoh, LANG=en_US on the host though, hmm21:13
gnarfaceso that is probably what's making that happen, but i think something else is still broken or i'd see something other than just the utf8 options in dpkg-reconfigure21:13
eyalrozrwp: I'll check the .xsession-errors file21:18
eyalroz... nope, nothing there, it seems21:27
rwpgnarface, A normal thing is to run "locale" and see what it says.  There is a subtle way to tell which variables are set in the output.21:29
rwpHere is an example. https://paste.debian.net/plain/1259999 I set three variables. In the locale output those are NOT quoted with double quotes.21:30
rwpgnarface, When I dpkg-reconfigure locales on my machine and page down to the en_* listing I see this: https://www.proulx.com/tmp/dpkg-reconfigure_locales.png21:34
rwpeyalroz, That path for /opt/celluloid/bin/celluloid is in a custom location.  How is nemo being configured for it?  I might suspect a problem there.  Because if it calls "celluloid" it likely is not finding it on PATH.21:36
rwpSorry that I do not use nemo myself so I can only guess at how it is configured.21:36
rwpgnarface, Another thing...  The bash shell loads ~/.bashrc and that can hide problems because it will load variables when the terminal and shell are started.21:37
rwpBut if one launches an X application for example that never has bash in the process series and will not load any of those variables.21:37
rwpThat has snagged people before.  The ~/.bashrc equiv for X is ~/.xsessionrc but careful that .xsessionrc is /bin/sh syntax not /bin/bash syntax.21:38
eyalrozrwp: I right-click the file, choose "Open with",21:39
rwpChanges there need one to log out and then log back in again so that /etc/X11/Xsession can source the ~/.xsessionrc file.21:39
eyalrozand using the dialog, define a new application I guess21:39
rwpThat last was meant for gnarface of course.  Parallel interleaved conversations are always fun! :-)21:39
eyalrozYeah, np.21:40
rwpeyalroz, I would try starting from a terminal with "strace -e trace=file -o nemo.strace.out -v nemo &" and then trigger the problem then "grep file.mp4 nemo.strace.out" hoping for some interesting clue there.21:41
gnarfacerwp: do you think this will stop it from booting? the thing is, i considered overriding LC_ALL and such manually but i saw specific advice not to do that21:44
gnarfacei'm wondering if maybe i can fix it if i boot it on bare metal and the problem is just that i was chrooted from a less up-to-date copy of testing21:45
rwpgnarface, The only thing interacting with booting is that init scripts load /etc/default/locale to set the "system locale" that you set with dpkg-reconfigure.  Personally I recommend always setting dpkg-reconfigure of the system local to None so that system logged messages are in the C/POSIX locale by default.21:46
rwpHowever if that is set to a non-existent locale then one thing I notice is that perl complains loudly at every perl invocation making things noisy.21:47
rwpI have not seen it otherwise affect booting.  But I think at most to have a local take effect for your environment logging out and logging back in should be sufficient.21:48
rwpI have been known to be wrong though. :-)21:48
rwpIf you chroot'd in then your environment would have copied in.  Exit the chroot.  Enter the chroot again using this "chroot /path/to/chroot su -" and it will run su with the - to have it spawn a login shell.  Then you will get root's login environment in the chroot.  Or use "su - gnarface" to get the gnarface login environment in the chroot.21:50
rwpAnd the equiv with sudo would be chroot /path/to/chroot sudo -i -u gnarface" (or sudo -i for plain root login shell).21:51
gnarfaceah, i should have done that21:52
gnarfacei used chroot /mnt /bin/bash21:52
gnarfacedidn't think of su21:52
gnarfacethat might have done the trick21:52
rwpYou can see what is passed through with "chroot /mnt /usr/bin/env" and have it dump the environment.21:53
gnarfacethe one thing that seems weird to me is that the chroot only had utf8 but the host is set to 8859-121:53
rwpAnd you can handle the environment explicitly with "chroot /mnt env -i /bin/bash -l" to initialize a clean environment and then bash will act as a login shell.21:54
gnarfacei would have expected the chroot to be merely limited to the host setting in this case21:54
rwpI would expect the chroot to be completely independent, other than the environment variables passed through.21:54
rwpSince the chroot has a complete copy of libc and all of the libc locale files.21:54
gnarfacewell this is all based on the hypothesis that the host's environment variables were causing some unknown conflict21:55
gnarfacebut it didn't quite behave as i'd expect even in that case21:55
rwpTrue.  And who knows what evil lurks in the heart of the host system.  Only the shadow knows...21:55
gnarfaceanyway i've already disconnected it from the other machine, so i guess we'll see what happens after it's booted on bare metal21:55
onefang /etc/shadow?21:55
rwpThe Shadow is an old time radio show and every episode started with the above jingle.21:56
onefangI know.21:56
rwpOkay then!  It needed a smiley so we would know who was in on the joke.  Sorry.21:56
onefanglol21:56
gnarfacerwp: do you think i am gonna have to reinstall all the packages that depended on this, or should they inherit the change automatically?21:58
rwpNo re-install is needed.  Everything happens dynamically when programs are launched.21:58
rwpPrograms that *were* already launched and running will not change though.  Most programs look at these at program start time.21:58
rwpAside: I am going to note that unexpected environment inheriting is one of the reasons for using "service" to interact with the /etc/init.d/* scripts.  Since "service" cleans the environment before invoking the init scripts.  Avoids environment inheriting issues.22:02
eyalrozrwp: So, this is interesting... when I start nemo like you suggested, from a shell session - double-clicking _does_ work, and opens the file fine.22:05
eyalrozMaybe it's because of some environment variables? Like GSETTINGS_SCHEMA_DIR or XDG_DATA_DIRS ?22:06
norayrhey devuan people22:31
norayri was trying to turn my debian to devuan22:35
norayreventually some apt process hunged and i lost the connection to the board, and i had no keyboard.22:35
norayrnow i have keyboard, booted from live usb, mounted the debian system in chroot.22:36
norayrit had no kernel, i am installing the kernel now.22:36
norayrfrom debian repos.22:36
norayrback then i was not able to install sysvinit-core from devuan repos, so i tried to install it from debian repos.22:36
norayrnow i have it installed, and i am installing the kernel.22:36
norayri guess next step is to switch to devuan repos again.22:36
norayrand install something.22:36
norayrgnarface: it's me!22:38
rwpeyalroz, Or perhaps PATH is being inherited from the command shell.22:38
rwpnorayr, These instructions work well for me. https://www.devuan.org/os/documentation/install-guides/chimaera/bullseye-to-chimaera22:39
gnarfacenorayr: you probably should have been using the devaun repos already for any missing packages in the chroot22:41
gnarfacenorayr: for the kernel package itself though it may not matter on x86 and x86_6422:41
gnarface(since that's not a rebuilt package)22:41
norayri installed linux-image-5.10.0-19-amd6422:42
norayrbecause apt-cache search brought it in the results and it felt last.22:42
norayris it last? now i switched to devuan repos, maybe i can install kernel again?22:42
rwp5.10.0-19-amd64 is the latest kernel for Stable Chimaera.22:43
norayryay22:44
norayri'll install mate and reboot then.22:44
norayrhmm i have this error, i guess because of efi partition on fat: ln: failed to create hard link '/boot/initrd.img-5.10.0-19-amd64.dpkg-bak' => '/boot/initrd.img-5.10.0-19-amd64': Operation not permitted22:45
gnarfaceoh, i forget how that's supposed to be fixed22:46
norayrtask-mate something brings too many packages22:51
norayris there a package just for pure mate, without let's say gimp?22:51
norayrtrying mate-desktop-environment-core22:51
norayrso cool this project exists!22:52
norayrnow, what will i have for wifi, instead of network manager?22:52
norayrmate network applet will talk to other service?22:52
norayris it wicd??22:52
gnarfacei think network manager has been forked, you should be able to use it22:52
gnarfacewicd might be there too22:52
gnarfacein theory you could even just use wpa_supplicant bare22:53
norayrthat i can do.22:53
norayrjust this device will be accessed via mouse and display only.22:53
onefangwicd for chimaera had issues due to PYthon 2 -> 3.22:53
norayrshould i install network-manager? i see there is no network-manager after installing mate-desktop-environment-core22:54
onefangI switched from wicd to bare wpa_supplicant.  Also coz I got tired of wicd always rewriting it's own config file and upsetting etckeeper.  lol22:54
norayrthere are only traces of old network-manager, with rc...22:54
gnarfacenorayr: this is with devuan sources?22:55
norayryes22:55
gnarfacenorayr: yes, you should try to install network-manager again22:55
norayralready22:55
norayrand also, i see network-manager-gnome, but i am searching for something like network-manager-mate22:55
gnarfacejust try to reinstall everything it had removed on you before you got disconnected, i should all fit it just needed to be reinstalled22:56
rwpThe heir apparent for wicd is connman.  So either that or network-manager.  (I hate network-manager though.  But connman is odd.  No great favorite.)22:56
norayryes, i don't remember what was that.22:56
norayrrebooting22:57
norayrlets see22:57
norayrhmmm, i have no bootloader. i have some uefi menu here, and it is empty.23:00
norayrwill try to boot to livecd and generate grub.cfg, but shouldn't it be generated automatically when i installed kernel again?23:01
gnarfacedoh, forgot grub when you installed the kernel23:01
norayri checked, the grub package was there23:01
norayrand some other grub packages.23:01
gnarfacehmm, did you run grub-install from within the chroot?23:01
norayrno, that i didn't do23:01
gnarfaceyou might have to23:02
norayrmaybe i need grub-mkconfig?23:02
gnarfacei don't think so23:02
gnarfacehowever some efi thing could be related23:02
gnarfacetry to run grub-install on to the first drive (not a partition of the drive) from within the chroot then reboot23:03
gnarfacei guess that's two reboots since you'll have to get back into the live image first23:03
eyalrozrwp: Well, the path shouldn't really matter, since I specified the executable with the full path; but maybe I should try it nonetheless. Do you know where I can "inject" path elements for applications started via the desktop environment launcher? In my case, cinnamon?23:03
gnarfacenorayr: make sure you bind mount /proc /sys /dev /dev/pts in the chroot (last one may not be needed for this)23:04
norayrthank you, yes yes i did that last time as well23:09
norayrhmmm, so apparently last time23:09
norayri mounted first partition to /mnt/boot23:09
norayrbut it contains some EFI directory23:09
norayrand symlinks didn't get generated because of that23:09
norayrbut the installed image on the second drive23:09
norayrhad /boot in /23:09
norayrand it contained grub directory, etc23:10
norayrso apparently that was a mistake to install kernel on the first partition23:10
norayrbtw this first partition has also two directories in EFI, debian and ubuntu23:10
norayrthis device came with ubuntu preinstalled, so that ubuntu directory is because of that. and i can see it from bios.23:10
gnarfaceyea something went wrong in there with regards to distro names, i'm sorry i don't ever remember the fix... fsmithred_?23:10
norayri wonder how to generate new, devuan directory. or i hope EFI/debian will boot devuan somehow.23:10
gnarfacesomeone around here knows23:11
gnarfacei don't, i don't trust efi and i've been avoiding it23:11
gnarfacemaybe you just need to copy or symlink EFI/debian to EFI/devuan?23:11
norayryeah, i would like to avoid it, but i have no idea how, this bios doesn't seem to allow that.23:11
norayrnow doing apt-get --reinstall install linux-image-5.10.0-19-amd6423:12
gnarfaceif i recall, the thing that went wrong is about just the literal string debian/devuan23:12
norayrwithout that partition mounted23:12
norayrhope the symlinks will be ok this time.23:12
gnarfacethere might be a optional grub package you need23:12
gnarfacegrub-efi or something like that23:12
onefangSome BIOSes are fussy about what directories you use in the EFI partition.23:13
norayrso debian directory contains: search.fs_uuid 42978f48-b7df-4ead-8b5e-c8bf1d4c75df root23:13
norayrset prefix=($root)'/boot/grub'23:13
norayrconfigfile $prefix/grub.cfg23:13
norayractually that was a grub.cfg config in debian directory. three lines only.23:13
rwpeyalroz, The ~/.bashrc equiv for X applications is ~/.xsessionrc but careful that .xsessionrc is /bin/sh syntax not /bin/bash syntax.23:14
rwpeyalroz, Changes there need one to log out and then log back in again so that /etc/X11/Xsession can source the ~/.xsessionrc file.23:14
norayri have grub-efi* packages installed23:14
eyalrozrwp: Yes, I realize I'll need to restart the X session. I wonder if root can inject changes into a running process' environment...23:15
gnarfacenorayr: i think it might work then23:21
norayri guess i indeed need to do grub-install.23:24
norayrbut doing it to first partition i guess is wrong.23:24
norayri don't know how to do it with efi. debian installer did the setup instead of me.23:24
gnarfaceyou don't just install it to the disk?23:25
norayri was getting empty grub> prompt. but then i entered bios, chosen debian, and ... i was getting devuan prompt!!!23:25
gnarfacelike /dev/sda instead of /dev/sda1 doesn't work?23:25
rwpeyalroz, Nope.  (Though I should never say never.  Linux acquires new behaviors unknown to me all of the time.)23:26
norayrmy guess was to install it to /dev/mmcblkp2, where is the /23:26
norayrand /boot23:26
norayrso... but it booted and i had no password, booting to livecd again, to set pw, i don't remember it. i was connecting via network with key.23:26
norayrand lightdm had autologin configured.23:26
norayrsorry for being so verbose.23:26
norayrok it works!23:33
norayrit booted!23:33
norayroh even xscreensaver started working!!!23:33
norayri just don't understand why  the directory 'debian' works. i did cp -a debian devuan there, but bios doesn't see it.23:34
gnarfacehmm, i don't know either but someone around here surely does23:34
gnarfaceglad it's working anyway23:34
norayrwhatever. it boots and it works. i got only the message in mate that some multipanel applet didn't start, and suggestion to remove it. probably mate-something-core doesn't bring it.23:34
norayrand i have no idea what kind of applet is it. probably i don't need it.23:35
norayrso glad it works now!23:35
norayrand thank you for suggesting to not reinstall, but repair.23:35
norayr(also ventoy boot manager on my usb didn't boot devuan installer, says it's not efi compliant or something)23:35
gnarfaceno problem... this is probably mentioned in the forums somewhere23:37

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