libera/#devuan/ Sunday, 2023-09-10

gnarfaceif YKaelig comes back tell them they're definitely going to want nvidia-settings00:13
gnarfaceit gives you access to a few things that can't be controlled in the xorg.conf (and not all of them just things that it only can't do because of it's crippled partial Randr implementation)00:14
gnarface*its00:22
gnarfacekeep getting that wrong00:22
ibanjaWhere is php-8 in Chimaera?04:42
gnarfacecheck pkginfo.devuan.org04:49
gnarface(it might not be, or it might only be in backports, not sure)04:49
ibanjaI didn't see it in pkginfo.devuan.org. It seems strange that the last few releases have all been PHP704:55
gnarfacesearch for this (literally): ^php8.2$04:56
ibanjalooks like I have to upgrade to daedalus04:58
ibanjaThanks05:00
gnarfacenp05:05
XenguyNice little regex there gnarface05:31
XenguyHandy to know this stuff05:32
XenguyAzumaHazuki, Greetings, you should /join #devuan-offtopic if you have interest in chatting about intangibles, recommended05:34
XenguyHey I can't get away with it here05:34
AzumaHazuki?05:35
AzumaHazukiintangibles?05:35
XenguyIt's a deliberately vague term05:35
XenguyNo one wants to get sued really : -)05:35
XenguyBut anyway, I'm a fan as you know, and trying to stay not offtopic05:36
XenguyUnless I'm in #devuan-offtopic of course05:37
rrqif you run startx as non-root, using daedalus and ceres, you are invited to test the devuan/experimental build and send feedback to LeePen or rrq .. it's a version that is happy about VT switching (supported by either seatd or elogind), but we want more confirming tests.09:06
___usedGiven a library file on the system, somelib.so, how do I find / list all packages or binaries which are linked against it? Other than running a bash script on all binaries using ldd and grep.10:01
___usedThis would be "reverse dependency" I think10:03
rrqafaik only ldd can tell10:04
___usedAnd yet, packages depending on a lib declare the lib's package a dep...10:04
___usedPerfect example of overblown tool: dpkg. Should support about 5 actions for simple use. Supports about 50 instead, excepting for the 5 most needed ones.10:06
rrqyes a package builder for binary(-ies) is supposed to enlist the packages required for running the binary(-ies)10:06
___usedI am sure something can be cooked up to use the installed package information on the system instead of ldd.10:07
rrqsometimes ABIs have many alternative implementations10:09
___usedhttps://unix.stackexchange.com/questions/149805/how-to-find-the-packages-that-depend-on-a-certain-package-in-apt hmm10:11
___used`apt-cache rdepends libssh2-1` is the answer in my case.10:12
___usedOk, that also returns packages which are not installed. The list must be intersected with the installed package list.10:15
___used`aptitude why libssh2-1` is more terse and to the point10:21
u-amarsh04apt-cache should be called apt-thrash-the-disk10:53
ioffao2Hello, does this channel offer support for Ceres as well? I'm having problems with removing a package (old linux kernel)14:18
fsmithredioffao2, yes. Ask your question and if anyone knows an answer, they will tell you. Be patient - it could take some time.14:23
fsmithredif you have terminal output to post, please use paste.debian.net14:24
ioffao2thanks fsmithred. I'll paste it there. Last week or so grub-efi-amd64 (I think that was the full name) started erroring when I issued apt upgrades and apt started collecting more errors on top of it. First was grub, then the kernel itself wouldn't update14:28
ioffao2then I tried to remove an older version of the kernel (marked as autoremovable by apt) and now my update process is completely stuck. As in, dpkg tries to remove it first thing and breaks, freezing all the rest after it14:29
ioffao2This is a sample session https://paste.debian.net/plain/129150414:29
ioffao2I tried to install aptitude so to mark the old kernel not to be removed (so at least I would be able to proceed with updates) but I found out that any apt operations are now blocked by this. So now I can't think of anything else to do.14:32
rrqeveryone: if you run startx as non-root, using daedalus and ceres, you are invited to test the devuan/experimental build and send feedback to LeePen or rrq .. it's a version that is happy about VT switching (supported by either seatd or elogind), but we want more confirming tests.14:35
rrqedit first line of /etc/grub.d/25_bli and make it say "#!/bin/sh"14:40
rrqioffao2: ^^14:41
rrqor set a link /usr/bin/sh -> /bin/sh14:42
FilipZHi! I have a problem with a proper printer installation. I remember it working properly before, but for some reasons I don't know, it started malfunctioning, so I removed it through the system-config-printer, and then tried to add it again, after installing the driver from the vendor site. After doing it, and then trying to print a test page, I receive an error message that there was a problem processing document, though. The printer I a16:18
FilipZm trying to install is Samsung SCX-4200. Could you help me to make it work again?16:18
gnarfacemake sure cups is running then connect to http://localhost:631/16:21
* buZz looks wtf system-config-printer is16:21
buZzgee i even have it16:21
buZzsome CUPS gui?16:21
FilipZgnarface: cups is running. I have tried to add it through cups, and then to print the test page from it, but same happens. In the job description the "pages" value is "stopped "filter failed"". What does the "filter" mean here?16:24
gnarfaceyou don't just add the printer you have to set it as the default16:24
FilipZgnarface: Done. Same happens.16:25
gnarfacei don't know what the filter error means16:25
gnarfacemake sure the printer settings are right16:26
gnarfacedpi and tray and page size and stuff16:26
gnarfacemake sure you selected the right driver too, the default may be wrong16:26
FilipZThere is only this one for me.  I don't know whether the printer settings are right, but CUPS browser interface only gave me an option to choose one of the 2 quality settings and the paper size, so I set the paper to A4, and quality to the "normal" setting.16:30
gnarfaceis it the driver you installed?16:31
FilipZThere is more of it in the printer properties, when using system-config-printer16:31
gnarfacethere should be a lot of drivers16:31
gnarfacei haven't used system-config-printer16:31
FilipZYes, so I choose the one that was described as the Samsung SCX-4200 driver.16:31
FilipZI also separately tried to add it, by uploading its .ppd file, but the same happened.16:32
gnarfacedid their documentation say it was compatible with the release you're using (or the corresponding Debian one, anyway?)16:34
FilipZI don't know, but it worked some time ago.16:35
gnarfacelike, before upgrading you mean?16:35
FilipZI also previously installed the HPLIP Toolbox, which detected it earlier, but now it doesn't.16:36
gnarfacedid you see if their site had an upgraded version of the driver for the new debian release?16:38
FilipZgnarface: Yes, I think that some upgrade caused issues with it. Then the HPLIP Toolbox displayed some issues with it, and then after removing the printer, and adding it again, it(HPLIP Toolbox) doesn't detect it anymore. CUPS, and system-config-printer does detect it, though.16:38
FilipZgnarface: No. It still has the same driver since 2017.16:39
gnarfaceany errors in the logs?16:40
FilipZWhere exactly?16:40
gnarfaceprobably /var/log/daemon.log16:40
gnarfaceat setup time, print time, or cups startup time16:40
gnarfaceor maybe all of the above16:41
gnarfaceit's been years since i've had to use anything other than the local cups web interface16:41
gnarfacei remember using something else long ago, but that was back when we were printing with bare lp* tools16:42
al1r4dhello!16:45
FilipZI have used the "Printing troubleshooter", and saved its output. Would that be of any help?16:47
FilipZI just tried to access the localhost:631 CUPS interface, but for some reason I cannot access it now.16:49
al1r4dCheck log maybe? FilipZ16:50
FilipZI just copied the daemon.log contect since about last ~40 minutes. I remember trying to print a test page at 16:24, but there doesn't seem to be any related message. https://paste.debian.net/1291516/16:57
FilipZWould you like any other log file content?16:57
gnarfaceprobably not, unless something has cups in the name in there17:04
gnarfacetail -f /var/log/daemon.log |grep -i cups17:04
gnarfacezgrep -ni 'cups' /var/log/daemon.log*17:06
FilipZhttps://paste.debian.net/1291517/17:08
gnarfacei'm not seeing anything that looks useful17:09
fsmithredmake sure you're not trying to access https17:10
gnarfaceyou could try running the old release in a VM and give the printer to that...17:10
ioffao2hello, I did some digging around my updating problem and it seems that my problem stems from grub-mkconfig not finding a file /etc/grub.d/25_bli (which *does* exist in my system). This is what prevents grub from updating itself and adding the right kernel to boot, I think17:28
ioffao2Relevant output: https://paste.debian.net/1291519/ note how line 10 implies a file isn't found17:29
fsmithredioffao2, did you try the fix that rrq suggested?17:30
FilipZgnarface: Any other options? :|17:30
ioffao2but in my system that file exists, is executable and has a seemingly alright content17:30
ioffao2I didn't see that fix, sorry17:30
fsmithred<rrq> edit first line of /etc/grub.d/25_bli and make it say "#!/bin/sh"17:30
ioffao2and I rebooted and missed it out17:30
ioffao2ah touché17:30
ioffao2lemme apply it17:30
fsmithredyou're not the first one to hit that problem17:31
ioffao2I see. Well, that fixed it for linux-image, but now I'm getting a new one for openrc17:32
ioffao2says service openntpd is not executable17:32
ioffao2but at least I think the scariest part of it is past. Whew! Thanks17:32
ioffao2Output here https://paste.debian.net/1291521/ which is funny because apt states that openntpd is not even installed!17:34
fsmithredI don't know openrc. Do you know where to find the openntpd file to see if it's executable?17:56
fsmithredmaybe in /etc/init.d/ since openrc does use the init scripts by default17:57
ioffao2yes, that was the problem indeed! For some reason, the openntpd initscript didn't have the executable bit set. A quick chmod and now everything is flowing smoothly. Thanks fsmithred!19:07
fsmithred:)19:30
DFPHello. Can anyone recommend resources for learning about how init systems work? For systemd as well, I would be interested to compare it to the more traditional ones. I pretty much only know that init systems launch processes, somehow.22:44
DFPI know there is a MAN page for everything, but I find them generally rather verbose and dry. More for reference rather than learning the basics.22:47
DelTomixDFP: I don't know of a specific resource, except to say there is tons of material available via search. From your question I would suggest first learning SysVinit thoroughly - its not hard to understand, and knowing how it works gives you a frame of reference to what alternative init systems aim to do better or differently - since sysV was (for the vast majority) the context in which they were23:07
DelTomixdeveloped.23:07
DFPI see. Thanks for the pointer!23:08
DFPSo before SysV init, Unix just had '/etc/rc' that launched all the programs? Ah, the good old simple days. :D23:12
DelTomixyes and I'm sure even that has an origin story somewhere:)23:13
DFPSometimes I start thinking that I am ~40 years late to the party learning about POSIX. Must be good to have been there through all (or most) developments, or maybe not, considering having to learn all the changing things.23:17
DelTomixwe can at least be grateful that we have the resources to learn about it, and even work hands on with the products of the time and understand why they are still so relevant today. Since this is not Devuan specific its a great subject for #devuan-offtopic23:27

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