libera/#devuan/ Friday, 2023-10-13

n4diri use runit. bluetoothd is running, but i got no idea how it is started08:25
n4dirit isn't to be found with "sv status bluetoothd"08:26
n4dirnot in the according /etc directories for runit / runsvdir08:26
n4dirand if i do "locate bluetoothd", all i get is the binary at /usr/sbin/bluetoothd and same for /usr/libexec08:26
n4dirand the manpage, duh08:27
n4diri can "pkill bluetoothd", but i'd rather like to understand runit a bit more08:27
n4dirprobably the worst time to ask, early in europe, middle of the night in the US08:28
gnarfacei just don't know. if it was sysvinit it'd be started by /etc/init.d/bluetooth08:28
gnarfaceis it possible your runit configuration is relying on the same script? openrc tends to do that a lot.08:28
n4diri have to admit that i can't say much about runit. I read the page at voidlinux docs and i think arch08:29
gnarfaceonly other thing i can think of is look for it to be started by the session manager maybe, the way pulseaudio is these days08:29
n4dirit seems all clear, but if i look at the directories mentioned there, there isn't much on my system08:29
n4dirsome getty's, ssh, a bit more, but for example no bluetoothd08:30
gnarfaceyea, chances are that like openrc, debian has done something different from everyone else08:30
gnarfaceso you need to find debian-specific runit docs08:30
n4dirgnarface: the sessioin manager is something like gdm, right? I just use startx08:30
gnarfaceyea, like gdm.08:30
n4dirah, good point, i will search the debian wiki.08:30
n4diri started blueman-manager, and it asked me if i wanted to autostart bluetoothd08:31
n4diri said yes.08:31
n4dirbut now i can't undo that. lo08:31
gnarfaceheh08:31
n4dirit ain't a real problem. It is merely i want to understand runit a bit more08:31
gnarfacewell if you figure it out, let me know. runit questions like this have been popping up a lot lately.08:31
n4diroh, that is good. I prefer reading in channels and forums, not reading docs. Yes, it is stupid, but it is how it is08:32
n4dirgnarface: are you good with bluetooth? A rather easy question (bluetooth speakers)08:32
gnarfaceno, i'm really not. i remember some basic hci tool use, but generally stopped trying to make it work back around kernel 3.1 when they broke the driver for my only bluetooth dongle. since then they've made pulseaudio a requirement so i just haven't bothered.08:34
n4dirwell, ok, thanks08:34
n4diri guess i will just go for the headphones08:34
gnarfacesomeone else around here might know stuff though, stick around.08:35
n4dirjust to describe: i want to play sound on the laptop, and hear it from the youtube speakers08:35
n4dirall docs i found tell me to start bluetooth, then for example use "blueman-manager"08:35
onefangMaybe bluetooth is being started by pulseaudio?08:35
n4dirthen go to the device and handle the connection from there08:36
n4dirbut the speakers, of course, can't connect08:36
n4dironefang: i just removed pulseaudio, in a wild fury. bluetooth still starts08:36
gnarfacehmm, as of daedalus maybe it's possible to use it without pulseaudio again, i just haven't actually tried it but some package names look promising; bluez-alsa-utils08:36
onefangI don't use either, so that was just a wild guess.08:36
n4dirwell, a few libs are still installed, onefang08:36
n4dironefang: not that bad a guess08:37
* n4dir now rememberd that he installed pstree to check if that has some info. It hasn't08:38
onefangpstree shows you what is running, in a tree diagram so you can see what started what.08:48
n4diryeah, but it doesn't contain bluetooth at all08:50
n4dirdamnit, i was wrong. It does, but it has no "parent"08:50
n4dirthere is "runit", then "at-spi-something" then another at-spi, and the bluetooth08:51
kaizenhi there, i just installed a fresh version of devuan daedalus with cinnamon desktop.... Running smoothly but my software and updates fails to work properly. Keeps asking me to insert a usb or dvd as opposed to updating via the repository. Can anyone assist?08:53
n4dirkaizen: look at the file /etc/apt/sources.list08:54
n4diras root, or with sudo. It should contain a line about a "CD"08:55
kaizenshould i copy that into the terminal?08:55
n4dircomment that line08:55
n4dirkaizen: you are able to use a terminal editor like nano?08:55
n4dirwell, it is straight forward, you should get it sorted08:55
n4dirin general you would do "nano /etc/apt/sources.list"08:56
kaizenCame back with permission denied in the terminal.... Any other suggestions?08:57
n4diri use su and work as root, you might use sudo, i think it would be just "sudo nano /etc/apt/sources.list"08:57
kaizenI have the menu up.... What next? There are lots of options available08:58
n4dirthe line starts with "deb cdrom"08:59
n4diryou  got that line? Either put a comment "#" in front of it, or remove it08:59
n4dirto exit Nano you have to type an uppercase X, then say "yes, write to buffer", then hit enter to confirm it will rewrite09:00
n4dira bit confusing to explain, but it should work09:01
kaizenI have the following options.... says GNU Nano 7.2 Heplp Exit Write Out Read File Where is Replace Cut Paste Execute Justify Location Go to Line09:01
n4dirlet me look at nano.09:01
kaizenThank you for your help....09:01
n4diryeah, do the uppercase X09:02
onefangThought it was control-X or something?  Coz you might want to actually type letters.09:02
kaizenDo i type it up where the cursor is?09:02
n4dirat the bottom it will ask if you want to safe to buffer. use uppercase Y, hhit enter09:03
n4dironefang: is right09:03
n4dirthen it will ask if you want to use /etc/apt/sources.list. Just hit enter to confirm09:03
n4dirkaizen: yes, you write where the cursor is09:03
kaizenI have an upper case X up the top. What next?09:04
kaizenStep by step....09:04
n4dirDamn. Sorry. you don't type the uppercase X in the file09:04
n4dirstep by step:09:04
n4dir1) you open the file with "sudo nano /etc/apt/sources.list"09:05
kaizenI am typing it in the terminal09:05
n4dir2) you navigate to the line with "deb cdrom"09:05
n4dir3) you put a "#" character in front of it09:05
n4dir4)09:05
kaizenI have done that. Its open in the terminal with all the options i listed below09:05
n4dirsorry: 4) you hit ctrl and x09:05
n4dir5) you enter a Y to confirm to save to the buffer09:06
n4dir6) you hit enter to confirm to write the buffer to the existing file (/etc/apt/sources.list)09:06
n4dirthats it09:06
onefangYes, but coz n4dir got it wrong about the capital X, you now have astray capital-X in the file that needs deleting.09:06
n4dirwell: i hope09:06
kaizenUnder GNU Nano 7.2 /etc/aptsources.list, there is nothing but a large blank space....09:06
n4dirit is /etc/apt/sources.list09:07
n4dirif it was me first of all i'd make a backup of the file09:07
kaizenI have the title at the top and a bunch of options down at the bottom of the terminal.... no option to select cd rom or anything09:07
n4dirif you made the same typo you made here: "/etc/aptsources.list" instead of "/etc/apt/sources.list", then that is the reason09:09
kaizenLets change gears. If i open synaptic, i get the following error09:09
kaizenThe repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.09:09
n4dirif the file doesn't exist, the editor creates a new (and hence empty) file for you09:09
kaizenThe repository 'cdrom://[Devuan GNU/Linux 5.0.1 daedalus amd64 - desktop 20230914] daedalus Release' does not have a Release file.09:09
n4dirwell: disable it09:10
n4dirhowever you do that in synaptic. It should be intuitive09:10
gnarfacekaizen: here's a working example /etc/apt/sources.list file: https://paste.debian.net/1294897/09:10
n4dirthe "cdrom" entry, just to be clear09:10
n4dirgnarface: perhaps it is more easy for him to wget that working file and put it in place09:12
kaizenIts stating there are network problems but my internet is stable and operational obviously....09:12
gnarfacekaizen: it might be a red herring. it might just assume there's a problem with the network because your sources.list is wrong.09:13
n4dirbeen ages i used synaptic, but i think it should change the content of the sources.list file anyway, if changes are mad09:14
kaizenI appreciate that gnarface. Could you walk me through how to remedy it...09:14
gnarfacekaizen: i just pasted you an example. replace the contents of your /etc/apt/sources.list with that, or replace the whole file with it, it doesn't matter which. either way you have to learn how to do this to work on any part of the system.09:14
gnarfacekaizen: (then run "apt-get update"09:15
gnarface)09:15
kaizenBack to the terminal....09:15
gnarfacesynaptic uses the same config file. until you fix this it won't work either.09:16
n4dirwell, it does work for apt-get. You get a warning it can't "use" that entry, but it would work09:17
kaizenI just typed in that exact command.... /etc/apt/sources.list in the terminal and "permission denied"09:17
n4dirwith sudo09:17
n4dirand make sure synaptic is closed09:18
gnarfacekaizen: and fyi this situation you're in is usually is avoided if you complete the network setup during the install09:18
kaizenif i put sudo in front of it, lists "commanbd not found"09:18
onefang /etc/apt/sources.list is not a command, it's a file you have to edit, and you have to be root to edit it.  Which sudo and su in front of commands do for you.09:19
gnarfacedo you not know how to log in as root?09:19
onefangnano is an editor.09:19
kaizenI am a root user09:19
gnarfaceif you are, then "nano /etc/apt/sources.list" should open the file and let you edit it09:19
gnarfaceif you're not, then you'll get permission denied when you try to save it09:20
kaizenI appreciate that gnarface.... This is my 7th install today.... The last 2 worked and i did the network update via the devuan repository in the last one with the same outcome....09:20
gnarfacewell, persistence will pay off. i nuked my first 8 installs before i figured out what i was doing.09:21
gnarfacebbl09:21
n4diri assume it was the same for me09:21
kaizenI just typed it in the reminal and it says no such file or directory09:22
n4dircopy the full command you used to here09:22
n4dirplease09:22
kaizenIts running incredibly smoothly. Just need to sort of a few minor issues09:22
n4dirit sure is a minor issue09:22
onefangI do my installs via a script I wrote.  For newer Devuan versions I update that script, then run it several times in a VM while I tweak the updated stuff.09:23
kaizenI have typed in the following....09:24
kaizenSeems like its not working....09:26
kaizen"etc/apt.sources.list"09:26
kaizenwith nano at the front and sudo before that09:27
n4dircopy the full command to here09:27
n4diror copy this command to your terminal while being root:09:27
n4dirnano /etc/apt/sources.list09:28
kaizenI paste it here but it wont share it.... Not sure why. Maybe it needs the italics09:28
kaizenWhen i type in sudo apt-get update, i receive the following back09:29
n4dirthis way or that way you have to type it correctly. Not just parts of what you read here09:29
kaizenIgn:1 cdrom://[Devuan GNU/Linux 5.0.1 daedalus amd64 - desktop 20230914] daedalus InRelease09:29
kaizenErr:2 cdrom://[Devuan GNU/Linux 5.0.1 daedalus amd64 - desktop 20230914] daedalus Release09:29
kaizen  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs09:29
kaizenHit:3 https://repo.protonvpn.com/debian stable InRelease09:29
kaizenReading package lists... Done09:29
kaizenE: The repository 'cdrom://[Devuan GNU/Linux 5.0.1 daedalus amd64 - desktop 20230914] daedalus Release' does not have a Release file.09:29
kaizenN: Updating from such a repository can't be done securely, and is therefore disabled by default.09:29
kaizenN: See apt-secure(8) manpage for repository creation and user configuration details.09:29
n4dirthe CD is still in the whatever-you-call-that-tray ?09:30
n4dirif so remove it09:30
kaizenno dc. I installed via a usb....09:31
kaizencd09:31
n4dirok09:31
kaizenWhat is apt-secure?09:31
kaizenI will try the command again09:31
kaizenIt worked gentlemen....09:32
kaizenI have a cd rom listed in nano....09:32
kaizenWhats next?09:33
n4direither remove that line or put a "#" character in front of it09:33
kaizendeb cdrom: )Devuan etc09:33
n4diryup09:33
kaizenPut the # in front of cdrom? or deb?09:34
n4dirat the very beginning of that line09:34
kaizenDone09:34
kaizenNext step09:34
n4dir"ctrl x"09:35
n4dirthen "Y"09:36
n4dirthen just hit enter09:36
n4dirthen apt-get update, if using sudo, sudo in front of it09:36
kaizenIn the terminal it says Error Writing etc/apt/sources.list Permission denied09:37
kaizenDid exactly as you asked09:38
n4dirthen i wouldn't know why09:39
n4dirsynaptics still being open might be a problem. I guess09:39
kaizenMe neither,,,, hehe'09:39
kaizenSynaptic is long closed09:39
n4diryou closed nano again?09:40
kaizenNo its still open....09:41
kaizenCant close due to the error09:41
kaizensudo rm /etc/apt/sources.list.d/*09:41
kaizenWould this be an option?09:41
n4dirhit "ctl x", then say "N" to close it09:41
n4diruse the command again: with sudo09:42
kaizenwill do.... Thx for patience.09:42
kaizenworked this time09:43
kaizenDo you want me to open synaptic?09:43
kaizencdrom has been removed09:43
n4dirno, but mainly because i got no clue about synaptic.09:43
n4dirif you feel more comfortable with it, try it09:43
n4dircdrom is removed?09:43
n4dirthen do "sudo apt-get update"09:44
n4dirthe error hopefully is gone09:44
kaizencdrom is removed....09:46
kaizensynaptic workd. did the update09:46
n4dirwell: great09:46
kaizensoftware and updates application still not functioning....09:46
n4dirnot so great :-)09:47
kaizeni cant access all of the different repositories that are available....09:47
n4dirlet me quickly install synaptic09:47
kaizensynaptic works fine.....09:47
n4dirdid you hit on the "Reload" symbol at the top left of synaptic?09:48
kaizenThere is an application called "software" and another called software & updates" in cinnamon..... One partially works (no repos though), the other won't even open09:48
kaizenReload in syuaptic works. Did it09:49
kaizenThese are the ones i want to access to i can download "different software apps" not found solely in synaptic09:50
n4dirjust stick to synaptic then, in case you prefer a gui tool?09:50
n4dirah. Well, i don't know anything about those other gui package managers you tell about09:51
kaizenDo you know where i can download a user manual for devuan? Can't seem to find one anywhere?09:51
kaizenReally appreciate your assist on this one n4dir...09:51
n4diri don't know about one and usually just refer to the debian manuals09:52
n4dirmost of them can be installed too09:52
n4dirno problem. It just isn't as easy to explain as it might seem09:52
kaizenSynaptic just installed proton vpn for me but i can't find the icon to open it anywhere on my system... Any ideas09:54
gnarfacei've never used it so i don't know, but i seem to recall stuff like that before used to add itself to the network-manager panel09:58
kaizenIts a shame as its wonderfully stable but not much good to me if i cant install basic software09:59
kaizenFair enough gnarface.... I'll try back again tomorrow..... And thanks for your assist....10:00
al1r4dhello 🙌18:26
ballsxdhello guys, i have something weird happening to my pc23:37
ballsxdso every so often (4 - 8 days) my pc will randomly freeze. the hardware will still be on but my screen is frozen and my mouse and keyboard dont give any input23:37
ballsxdmy screen remains frozen on what it was displaying. im running devuan 6, could this be some unstable os moment or is there something wrong with my hardware?23:38
D-HUNDballsxd: are you able to ssh into that frozen system?23:44
ballsxdi am not. all services running seem to just stop23:45
D-HUNDif so, it might be software related (x-server, GPU driver)23:45
ballsxdthats what im thinking. the issue has only happend 3 times so far all 3 of which i wasnt home23:46
ballsxdso its hard for me to troubleshoot it. i have found no kernel/syslogs either23:46
D-HUNDin that case I'd go hunting for hardware failures. memtest, check internal power conectors, check PS for blown capasitors etc.23:46
ballsxdi did a few days ago when i doubled my ram, but i saw nothing out of the ordinary23:47
ballsxdi did upgrade my power supply earlier this year, but nothing crazy happend up until like 3 weeks ago23:48
D-HUNDhow many passes of memtest? did such a freeze occur before the RAM upgrade?23:50
rwpI as well would suspect a hardware failure.  With memory being first suspect.  Motherboard+CPU being second suspect.23:50
ballsxdhavent run a memtest, just checked the hardware. it happend before but also after the ram upgrade23:50
rwpYou said you doubled the ram recently?  The problem did not exist before that time?23:50
rwpWhen this happens to me I tend to disconnect and reconnect every possible connector.  PCI cards too.  To make sure everything has been scrubbed a little.23:51
ballsxdim gonna perform a memtest first to rule that out23:55
D-HUNDlet it run for the night, several passes23:55
ballsxdill report back tomorrow, thanks for the recommendation23:56
D-HUNDhave success!23:57

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