libera/#devuan/ Saturday, 2024-12-21

thecdnhermitso i'm running devuan 5 (fully updated), i've added weechat's debian repo for bookworm, installed weechat/weechat-curses/etc and am using weechat. i want to use a python script, so go to install weechat-python, but run into the error: "weechat-python : Depends: libpython3.9 (>= 3.9.1) but it is not installable". however, "python3.11/stable,now 3.11.2-6+deb12u4 amd64" is installed. any thoughts?05:32
rrqyou may find libpython3.9=3.9.2-1+deb11u2 in chimaera-security05:37
amarsh04gnarface, the current named init script has "PATH=/sbin:/bin:/usr/sbin:/usr/bin"07:41
amarsh04what I found was that the absolute path for resolvconf had been removed in an earlier version of the named init script07:42
amarsh04what also threw me was that I tried invoking the script from /etc/init.d and as there was a resolvconf script in that directory, the "[ -x resolvconf ]" test succeeded07:42
amarsh04in general there is no standard command to test if there is a particular executable file in the $PATH, so one either needs to create a shell function (or get one from stackexchange) or simply use an absolute path name for an executable both in a test for its existance and in running the executable07:45
onefangWhat about the which command?08:04
Xenguy.oO( Which witch is which? )08:17
systemdleteXenguy, it's its which09:27
Guest50Hi, what device file manager does devuan use, that last i heard, eudev has ceased development.I tried searching for that, but couldn't find it anywhere.12:08
freem[08:17:13] <Xenguy> .oO( Which witch is which? )12:15
freem% which which12:15
freemwhich: shell built-in command12:15
freem:p12:15
freemand yes, that's the tool I use in scripts to verify all dependencies of my scripts are present, before doing anything, and to give a meaningful error message12:16
Guest50is devuan using eudev or independent systemd udev package?15:31
gnarfaceGuest50: both are available in devuan15:31
Guest50i tired looking for something related to it, but couldn't find. thanks for the info15:32
Guest50gnarface ^^15:32
gnarfaceno problem15:33
Guest50isn't eudev stopped developement15:33
Guest50hasn't*15:33
gnarfacei haven't heard anything about that15:33
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Eeudev%24&x=submit15:33
gnarfacestill present in every release15:34
gnarfaceGuest50: ^^15:34
gnarfacewell, everyone except jessie i guess15:34
gnarfacebut close enough15:34
Guest50okay got it, thanks again15:35
Guest50i am coming from gentoo, and i thought i'll install devuan. Looks like https://github.com/eudev-project/eudev is still under development.15:36
Guest257hey guys, have you encountered an issue while trying to install xorg from a vanilla Devuan (without DEs preinstalled)?21:41
Guest257after "apt install xorg" I get a message "luit : Breaks: x11-utils (< 7.7+6) but 7.7+5 is to be installed"21:43
henkdo you have a specific question?21:47
Guest257I have a default sources.list, done "apt update" several times. I also added excalibur main repo to sources.list (as there is a 7.7+7 version of x11-utils), but then got another error like "dpkg: error processing archive /var/cache/apt/archives/base-files_13.6devuan1_amd64.deb (--unpack): new base-files package pre-installation script subprocess returned error exit status 1"21:47
Guest257(hope I wrote this correctly as I was looking at the photo I made, not a precise log)21:48
Guest257so my question is, how do I install Xorg on my fresh Daedalus netistall OS?21:49
gnarfaceGuest257: you shouldn't mix releases, this is a direct cause21:49
gnarfaceyou should be able to force install the right versions of everything, after you fix your sources.list21:50
gnarfacejust downgrade everything to daedalus21:50
gnarfacewhy did you decide to add packages from excalibur?21:51
Guest257well I already commented out Excalibur repos, all I did was apt update after adding and executing apt install xorg21:51
henkGuest257: remove luit21:51
Guest257ok 1 sec @henk21:52
Guest257brb21:52
Guest5698it's me again (Guest257)21:55
Guest5698btw, how can I reserve a nickname for this server?21:55
Guest5698removed luit package by apt remove luit21:56
henkcheck with nickserv: /query nickserv help register – or check the libera website21:56
Guest5698k thanks21:58
Guest5698so what's next21:58
Guest5698I can reinstall my OS rn if I messed up smth completely21:58
gnarfaceGuest5698: you can specify a particular version of a package after the package name like package=version22:12
gnarfacefind all the excalibur packages you installed and downgrade them to the daedalus versions22:13
gnarfaceit might help to do them all on one command-line, as a single command22:13
gnarfaceyou might have to also specify --allow-downgrade22:13
gnarfacei think you might also be able to specify a release? like package/daedalus22:14
gnarfacenot sure about that22:14
gnarfacesee the apt-get man page for details22:14
gnarfaceit might be easier to reinstall everything, depends on how much of a mess you made22:15
gnarfaceif you know which packages you installed and it wasn't many, it might be easier to do this22:15
gnarfaceif it's a lot of packages but you also have a lot of bandwidth, it might be easier to reinstall22:16
Guest5698so something like "apt install x11-utils=7.7+7" should work even without excalibur repos in sources file?22:16
Guest5698but where will it retrieve such a version if not from an excalibur repo22:17
henkdoesn’t seem to me like anything is "messed up completely"22:17
gnarfaceno, the point is to downgrade to stable22:17
gnarfaceyou need to be on excalibur or daedalus, it is an untenable situation to have a mix of both22:18
Guest5698ok, even if I downgrade to daedalus, what to do with xorg then22:18
gnarfaceit'll work fine then22:19
gnarfaceif you don't think so you can just upgrade to daedalus instead...22:19
gnarfaceer, upgrade to excalibur i mean22:19
gnarfacejust "apt-get dist-upgrade"22:19
Guest5698I will yet again see unmet dependencies with that x11-utils package22:19
henkit’s working now, isn’t it? I thought the issue was resolved?22:19
Guest5698no it's not22:20
henkI don’t really understand the dependency situation with luit and x11-utils. AFAICT it’s a strange situation that x11-utils 7.7.5 and luit are both in stable …22:21
Guest5698how will downgrading installed packages to daedalus resolve this conflict22:21
fsmithredset priority of daedalus to 100122:21
henkGuest5698: so what’s the problem now?22:21
henkand if it’s not resolved but you still have the problem or a new problem: why didn’t you say so? o_O22:21
Guest5698can you answer to my last question, please? I don't get it22:22
gnarfaceif you specify all the conflicting packages by version and your sources.list is right, it should work22:24
gnarfaceyou didn't answer my question about why you were on daedalus but trying to install excalibur packages22:24
Guest5698and I don't know any command which will downgrade these installed xorg dependencies, manually doing so will take a long time as there were a ton of them22:24
gnarfacethen just reinstall if you want22:24
gnarfacei'm not gonna do the work for you22:24
gnarfaceif it's not so borked you can't install aptitude, aptitude might do the work for you22:25
Guest5698I told why I included excalibur packages to sources -- it's because there was a 7.7+7 version of x11-utils, and luit from xorg breaks if x11-utils is less than 7.7+622:27
fsmithredto answer your last question - downgrading to daedalus would get rid of the excalibur packages that screwed up your daedalus install, or conversely, upgrading to excalibur would get rid of the daedalus packages that messed up your excalibur upgrade22:27
Guest5698daedalus branch has only x11-utils=7.7+522:28
henkI’m confused. what is really messed up currently?22:28
fsmithredluit in daedalus...22:29
fsmithredBreaks: x11-utils (<< 7.7+6)22:29
fsmithredReplaces: x11-utils (<< 7.7+6)22:29
henkyeah, but on Guest5698’s system, I mean … they are not really telling us what kind of problem they are having, are they? so why assume their system is messed up?22:30
fsmithredif I try to install luit in my daedalus, it wants to remove xorg and a few other things22:31
fsmithredeither they are incompatible or the deps are screwed up22:31
Guest5698so you have this conflict too?22:31
fsmithredyes22:32
henkit’s in the packages, not in your system, so everyone has it …22:32
fsmithredand pulling x11-utils from excalibur is not a solution22:33
fsmithredgimme a minute or two and I'll see what happens in excalibur22:33
henkthat’s why I recommended removing luit … since Guest5698 did not report back and only said "thanks" I assumed that resolved the issue …22:34
Guest5698Again, the problem is that right after installing Daedalus I can't even install xorg because of an outdated version of x11-utils in vanilla repos. Maybe I need to contact with the maintainers (debian-x at lists dot debian dot org)22:34
henkGuest5698: show the problem on a pastebin22:34
henkcommand and output22:34
Guest5698i'm a noob at IRC client, dunno how to do it22:35
Guest5698(I don't have any DEs also, pure terminal)22:36
fsmithredluit is already installed in my excalibur (along with xorg and x11-utils)22:37
fsmithredthe version of luit in excal is the same as daedalus22:37
fsmithredand there's no luit in chimaera22:37
henkx11-utils: /usr/bin/luit22:37
fsmithredyeah, not its own package22:37
henkGuest5698: http://termbin.com/ using something like tmux or screen can help with copy&paste22:38
henkbut if you do it well enough, you can also just explain what your problem is …22:38
Guest5698maybe I started from the wrong step, I've read that I need an X server and WM, but WMs depend on X server and it should be installed first via xorg, is that correct? Maybe there are other packages which provide an X server22:38
fsmithredwhy was there an attempt to install the luit package?22:40
fsmithredoh, maybe because the excal repo was active22:41
Guest5698firstly I tried installing icewm right away, but "icewm" command produced an output like no X server or sth like that, so I guessed I need an xorg package22:41
fsmithredyou don't need to install luit in daedalus because it's provided by another package (x11-utils)22:41
Guest5698I didn't try to install luit directly22:42
fsmithredno, but it's a dependency of something from excalibur that got installed22:42
Guest5698only "apt install xorg", not any other "apt install smth"22:42
fsmithredwhich xorg do you think it installed?22:43
fsmithred(hint: highest available version)22:43
fsmithredfrom excalibur22:43
fsmithredor tried to22:43
fsmithredmake sense?22:44
fsmithredapt install xorg icewm22:44
henkhow hard can it be to explain _what the issue is right now_?22:44
fsmithredshould work22:44
fsmithredyour system has multiple personality disorder22:45
henkit’s been an hour and you still haven’t told us what your current problem is …22:45
fsmithredI thought the problem was that xorg won't install22:46
gnarfacei didn't have any problems with the x11-utils version on daedalus...22:47
henkthat was the initial problem. removing luit was my advice how to fix the problem they have shown. but they didn’t report back whether that helped or changed anything … since then, I have no idea what the status is.22:48
Guest5698fsmithred, I'm not even sure if xorg was installed after I added excalibur repos. I did "apt install xorg", it installed many packages and right before the end I got "dpkg: error processing archive /var/cache/apt/archives/base-files_13.6devuan1_amd64.deb (--unpack): new base-files package pre-installation script subprocess returned error exit status 1". I can quit for a sec and check via "apt list xorg"22:51
Guest5698what version it has (if any). I also didn't find any command which will downgrade all xorg dependencies to daedalus, hope someone will provide it22:51
Guest5698brb, gonna check again22:51
n4dirI'd probably purge the whole thing, then start from scratch. Re-installing should be even quicker.22:52
XenguyMeanwhile I have been playing with SSH again after years and years of not bothering to use it (strange and hard to believe I know  : -)22:53
XenguyI used to have aliases set up for 'ssh-agent', but years later it seems there's this thing called gnome-keyring-daemon (if I got that right) that just seems to automagically handle SSH passwords22:54
XenguyI was wondering what it was that was remembering my password(s) for me, and had to do some research to figure out what software was responsible, heh22:55
XenguyOh, it's just called 'gnome-keyring' (but it does operated in daemon mode by default I believe)22:56
XenguyI assume that my DE defaulted to installing this software for me, but I'm curious to know if those who do not run MATE also have that package installed for them by default?22:57
Guest883hey all, once again, still me22:58
XenguyGuest883, Don't panic or anything, but it's best practice to run IRC as a user and not as root, just a friendly PSA22:58
Guest883i'm sorry for being an ass, I was sure I tried apt install xorg after removing luit22:58
Guest883but I didn't, and now it's installed. Thanks for help22:59
Guest883before insatlling I checked apt list xorg and apt list luit, first was not installed and the second was with [residual-config] in the end, whatever it may mean23:00
Guest883Xenguy, yeah you're right, forgot I'm connected to the Internet after a long time with a terminal :D23:01
Guest883neck slap for me, twice23:02
Xenguyno worries : -)23:02
Guest883I'm just wondering how removing luit helped resolve this conflict23:03
n4dirXenguy: i don't really ssh anymore, but have ssh-agent in my .profile file. But i use startx23:05
Xenguyn4dir, So no 'gnome-keyring' installed I assume?23:06
n4diri assume you might also autostart ssh-agent via Mate autostart. Or gnome-thing, if you prefer23:06
n4dirXenguy: no, at least not used, as far i can tell23:06
n4dirXenguy: i know for sure the ssh-stuff was done by ssh-agent23:06
XenguyYes, the 'gnome-keyring' (GK) is autostarted in this MATE DE23:07
XenguyGK also leverages ssh-agent (or has one of its own)23:07
n4dirSo, i assume as long that works it is a solution just as valid. I don't remember why i used ssh-agent23:07
n4dirwant my entry in .profile, or you happy?23:08
XenguyI *think* that GK may have its own ssh-agent, but it plays nice with the ssh-agent that comes with openssh apparently23:08
Xenguyn4dir, Let me check and see if I have ssh-agent in my .profile, sec23:08
Guest883alright, guess I'll leave for now, thx for help once again23:09
henkGuest883: luit breaks x11-utils. so as long as luit is installed, x11-utils cannot be. removing luit made x11-utils installable, allowing everything that depends on x11-utils to be installed as well.23:09
Guest883oh23:09
n4diri think if a display-manager is involved, it is not .profile which is the right file. I don't know a lot about how display-managers work23:09
XenguyNot in my .profile, but I'm curious as to what that line is in yours23:10
Xenguy*to know23:10
n4dirhttp://0x0.st/8riM.txt23:10
n4dirmore easy for me to quickly upload the whole .profile file23:11
Guest883henk: ok, makes some sense for me. I'm still learning about repos23:11
Xenguyn4dir, What does 'eval' do (or what is the gist of that config) ?23:12
XenguyGuest883, Don't mix them is the most important rule ; -)23:12
n4dirXenguy: i feared you ask that. I got no idea, but the eval is needed.23:12
n4dirIt is in .profile, so in X , it is in each and every terminal-emulator or tab23:13
n4dirit first pgreps so no second ssh-agent will get started, i i log in another TTY, i guess23:13
Xenguy$ type eval23:14
Xenguyeval is a shell builtin23:14
n4dirwhy not in .bashrc i wouldn't know, to be honest23:14
n4dirit sure doesn't work if i "startx" and then do it in a terminal-emulator.23:14
n4dirbecause you then open another tab or emulator, and it is not there. all: iirc23:14
n4dirfor a DE i simply used the according autostart, not sure if ssh-agent or gnome-key, or what23:15
Xenguy"Bash Eval: eval is a built-in command in the Bash shell that executes a string as a Bash command. It takes a string as an argument, parses it as a Bash command, and then executes the resulting command."23:16
Guest883Xenguy: yeah noted xd. Is it right tho that xorg dependencies were not installed if "apt list xorg" didn't have [installed] in the end? So that I don't need to downgrade all of xorg deps manually... Luit was listed as [residual-config] btw (after apt remove luit and before apt install xorg)23:16
n4dirXenguy: either someone here knows or you could ask in #bash why the (else considered "evil") eval makes sense here23:17
n4diri sure didn't understand it back then, and now even less23:17
Guest883hm, i guess apt install xorg should have installed only daedalus versions, so I don't need to worry now23:17
henkGuest883: to get rid of the "residual-config" you can probably 'purge' luit, but it probably doesn’t really matter.23:18
henkit just means that the package’s config files are still there.23:18
fsmithredXenguy, I use ssh a lot. I do not use gnome-keyring23:18
fsmithredand I use ssh-agent on command-line if I'm hopping from one remote to another23:19
Xenguyfsmithred, You prefer 'ssh-agent' then?23:19
XenguyOkay23:19
fsmithrednot sure what preference you're referring to23:19
fsmithredor what alternatives23:19
XenguyWell simply 'gnome-keyring' vs. 'ssh-agent'23:20
fsmithredI guess I don't really know what they do23:20
henkthere is also gpg-agent. I use that one.23:20
fsmithredI use ssh-add to add an auth key23:20
fsmithredthen I don't need to enter password when I log into remote23:21
Xenguyhenk, GK seems to handle both SSH and GPG keys AFAICT23:21
n4diri thought you could somewow just forward whatever you have in ssh-agent if you remote, and then have it at remote available too?23:21
n4dirfor the next remote, i mean23:21
Xenguyfsmithred, Yeah that's how I used to do it, back when I was using SSH all the time.23:21
Xenguyfsmithred, I would set time limits on them too, like 2H or 3H23:21
henkXenguy: ok23:22
Xenguyn4dir, AFAICT that .profile config checks for a 'ssh-agent' process, and if it doesn't find one, then runs 'ssh-agent'.  Anyone feel free to correct me if I'm wrong, that's just my best guess23:25
XenguyGuest883, Not sure about your previous question to me23:25
n4dirXenguy: yes, that is what it does.23:25
n4dirthe eval is the question23:25
XenguyGuest883, or not sure what the answer is23:25
n4diri found keychain, don't understand it, but i also is to be put in profile (or .bash_profile, they use)23:26
n4dirregarding the problem: you ssh somewhere, then want to ssh to elswhere, but have you added ssh-keys available23:26
Xenguyn4dir, eval just executes a command it seems23:26
n4dirXenguy: it didn't work without. Anyway, i already said more than i know23:27
Xenguyn4dir, keychain rings a bell also, hrm23:27
henkn4dir: ideally, you would use ProxyJump instead of agent forwarding.23:27
n4dirhenk: perhaps. I never ssh'ed again after the first. Thanks23:28
henkbut if you trust the first machine, both is fine.23:28
Guest883Xenguy: I meant whether should I worry about xorg dependencies now. But I guess my latest apt install xorg installed only daedalus versions (or substituted excalibur versions for daedalus, it any were installed before)23:28
Guest883man, if only all programs were statically compiled...23:29
Xenguyn4dir, Thanks for reminding me about 'keychain', else I probably wouldn't have remembered it.  From the description it looks like it has similar functionality to GK (but I expect it handles only SSH, and not GPG, keys)23:30
n4dir:-) am away a bit, at least from keyoard (breakfast and such)23:30
Xenguybon appetit23:31
n4dirthanks23:31
XenguyThe other thing that has changed over the years is that RSA keys, while still used, seem to be deprecated in favor of some newer variety of keys23:32
Xenguy'ed25519' keys23:32
Guest883alright, I've started my IceWM and all's working fine now. Bye all UwU23:47

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