| thecdnhermit | so 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 |
|---|---|---|
| rrq | you may find libpython3.9=3.9.2-1+deb11u2 in chimaera-security | 05:37 |
| amarsh04 | gnarface, the current named init script has "PATH=/sbin:/bin:/usr/sbin:/usr/bin" | 07:41 |
| amarsh04 | what I found was that the absolute path for resolvconf had been removed in an earlier version of the named init script | 07:42 |
| amarsh04 | what 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 succeeded | 07:42 |
| amarsh04 | in 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 executable | 07:45 |
| onefang | What about the which command? | 08:04 |
| Xenguy | .oO( Which witch is which? ) | 08:17 |
| systemdlete | Xenguy, it's its which | 09:27 |
| Guest50 | Hi, 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 which | 12:15 |
| freem | which: shell built-in command | 12:15 |
| freem | :p | 12:15 |
| freem | and 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 message | 12:16 |
| Guest50 | is devuan using eudev or independent systemd udev package? | 15:31 |
| gnarface | Guest50: both are available in devuan | 15:31 |
| Guest50 | i tired looking for something related to it, but couldn't find. thanks for the info | 15:32 |
| Guest50 | gnarface ^^ | 15:32 |
| gnarface | no problem | 15:33 |
| Guest50 | isn't eudev stopped developement | 15:33 |
| Guest50 | hasn't* | 15:33 |
| gnarface | i haven't heard anything about that | 15:33 |
| gnarface | https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Eeudev%24&x=submit | 15:33 |
| gnarface | still present in every release | 15:34 |
| gnarface | Guest50: ^^ | 15:34 |
| gnarface | well, everyone except jessie i guess | 15:34 |
| gnarface | but close enough | 15:34 |
| Guest50 | okay got it, thanks again | 15:35 |
| Guest50 | i 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 |
| Guest257 | hey guys, have you encountered an issue while trying to install xorg from a vanilla Devuan (without DEs preinstalled)? | 21:41 |
| Guest257 | after "apt install xorg" I get a message "luit : Breaks: x11-utils (< 7.7+6) but 7.7+5 is to be installed" | 21:43 |
| henk | do you have a specific question? | 21:47 |
| Guest257 | I 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 |
| Guest257 | so my question is, how do I install Xorg on my fresh Daedalus netistall OS? | 21:49 |
| gnarface | Guest257: you shouldn't mix releases, this is a direct cause | 21:49 |
| gnarface | you should be able to force install the right versions of everything, after you fix your sources.list | 21:50 |
| gnarface | just downgrade everything to daedalus | 21:50 |
| gnarface | why did you decide to add packages from excalibur? | 21:51 |
| Guest257 | well I already commented out Excalibur repos, all I did was apt update after adding and executing apt install xorg | 21:51 |
| henk | Guest257: remove luit | 21:51 |
| Guest257 | ok 1 sec @henk | 21:52 |
| Guest257 | brb | 21:52 |
| Guest5698 | it's me again (Guest257) | 21:55 |
| Guest5698 | btw, how can I reserve a nickname for this server? | 21:55 |
| Guest5698 | removed luit package by apt remove luit | 21:56 |
| henk | check with nickserv: /query nickserv help register – or check the libera website | 21:56 |
| Guest5698 | k thanks | 21:58 |
| Guest5698 | so what's next | 21:58 |
| Guest5698 | I can reinstall my OS rn if I messed up smth completely | 21:58 |
| gnarface | Guest5698: you can specify a particular version of a package after the package name like package=version | 22:12 |
| gnarface | find all the excalibur packages you installed and downgrade them to the daedalus versions | 22:13 |
| gnarface | it might help to do them all on one command-line, as a single command | 22:13 |
| gnarface | you might have to also specify --allow-downgrade | 22:13 |
| gnarface | i think you might also be able to specify a release? like package/daedalus | 22:14 |
| gnarface | not sure about that | 22:14 |
| gnarface | see the apt-get man page for details | 22:14 |
| gnarface | it might be easier to reinstall everything, depends on how much of a mess you made | 22:15 |
| gnarface | if you know which packages you installed and it wasn't many, it might be easier to do this | 22:15 |
| gnarface | if it's a lot of packages but you also have a lot of bandwidth, it might be easier to reinstall | 22:16 |
| Guest5698 | so something like "apt install x11-utils=7.7+7" should work even without excalibur repos in sources file? | 22:16 |
| Guest5698 | but where will it retrieve such a version if not from an excalibur repo | 22:17 |
| henk | doesn’t seem to me like anything is "messed up completely" | 22:17 |
| gnarface | no, the point is to downgrade to stable | 22:17 |
| gnarface | you need to be on excalibur or daedalus, it is an untenable situation to have a mix of both | 22:18 |
| Guest5698 | ok, even if I downgrade to daedalus, what to do with xorg then | 22:18 |
| gnarface | it'll work fine then | 22:19 |
| gnarface | if you don't think so you can just upgrade to daedalus instead... | 22:19 |
| gnarface | er, upgrade to excalibur i mean | 22:19 |
| gnarface | just "apt-get dist-upgrade" | 22:19 |
| Guest5698 | I will yet again see unmet dependencies with that x11-utils package | 22:19 |
| henk | it’s working now, isn’t it? I thought the issue was resolved? | 22:19 |
| Guest5698 | no it's not | 22:20 |
| henk | I 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 |
| Guest5698 | how will downgrading installed packages to daedalus resolve this conflict | 22:21 |
| fsmithred | set priority of daedalus to 1001 | 22:21 |
| henk | Guest5698: so what’s the problem now? | 22:21 |
| henk | and if it’s not resolved but you still have the problem or a new problem: why didn’t you say so? o_O | 22:21 |
| Guest5698 | can you answer to my last question, please? I don't get it | 22:22 |
| gnarface | if you specify all the conflicting packages by version and your sources.list is right, it should work | 22:24 |
| gnarface | you didn't answer my question about why you were on daedalus but trying to install excalibur packages | 22:24 |
| Guest5698 | and 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 them | 22:24 |
| gnarface | then just reinstall if you want | 22:24 |
| gnarface | i'm not gonna do the work for you | 22:24 |
| gnarface | if it's not so borked you can't install aptitude, aptitude might do the work for you | 22:25 |
| Guest5698 | I 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+6 | 22:27 |
| fsmithred | to 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 upgrade | 22:27 |
| Guest5698 | daedalus branch has only x11-utils=7.7+5 | 22:28 |
| henk | I’m confused. what is really messed up currently? | 22:28 |
| fsmithred | luit in daedalus... | 22:29 |
| fsmithred | Breaks: x11-utils (<< 7.7+6) | 22:29 |
| fsmithred | Replaces: x11-utils (<< 7.7+6) | 22:29 |
| henk | yeah, 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 |
| fsmithred | if I try to install luit in my daedalus, it wants to remove xorg and a few other things | 22:31 |
| fsmithred | either they are incompatible or the deps are screwed up | 22:31 |
| Guest5698 | so you have this conflict too? | 22:31 |
| fsmithred | yes | 22:32 |
| henk | it’s in the packages, not in your system, so everyone has it … | 22:32 |
| fsmithred | and pulling x11-utils from excalibur is not a solution | 22:33 |
| fsmithred | gimme a minute or two and I'll see what happens in excalibur | 22:33 |
| henk | that’s why I recommended removing luit … since Guest5698 did not report back and only said "thanks" I assumed that resolved the issue … | 22:34 |
| Guest5698 | Again, 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 |
| henk | Guest5698: show the problem on a pastebin | 22:34 |
| henk | command and output | 22:34 |
| Guest5698 | i'm a noob at IRC client, dunno how to do it | 22:35 |
| Guest5698 | (I don't have any DEs also, pure terminal) | 22:36 |
| fsmithred | luit is already installed in my excalibur (along with xorg and x11-utils) | 22:37 |
| fsmithred | the version of luit in excal is the same as daedalus | 22:37 |
| fsmithred | and there's no luit in chimaera | 22:37 |
| henk | x11-utils: /usr/bin/luit | 22:37 |
| fsmithred | yeah, not its own package | 22:37 |
| henk | Guest5698: http://termbin.com/ using something like tmux or screen can help with copy&paste | 22:38 |
| henk | but if you do it well enough, you can also just explain what your problem is … | 22:38 |
| Guest5698 | maybe 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 server | 22:38 |
| fsmithred | why was there an attempt to install the luit package? | 22:40 |
| fsmithred | oh, maybe because the excal repo was active | 22:41 |
| Guest5698 | firstly 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 package | 22:41 |
| fsmithred | you don't need to install luit in daedalus because it's provided by another package (x11-utils) | 22:41 |
| Guest5698 | I didn't try to install luit directly | 22:42 |
| fsmithred | no, but it's a dependency of something from excalibur that got installed | 22:42 |
| Guest5698 | only "apt install xorg", not any other "apt install smth" | 22:42 |
| fsmithred | which xorg do you think it installed? | 22:43 |
| fsmithred | (hint: highest available version) | 22:43 |
| fsmithred | from excalibur | 22:43 |
| fsmithred | or tried to | 22:43 |
| fsmithred | make sense? | 22:44 |
| fsmithred | apt install xorg icewm | 22:44 |
| henk | how hard can it be to explain _what the issue is right now_? | 22:44 |
| fsmithred | should work | 22:44 |
| fsmithred | your system has multiple personality disorder | 22:45 |
| henk | it’s been an hour and you still haven’t told us what your current problem is … | 22:45 |
| fsmithred | I thought the problem was that xorg won't install | 22:46 |
| gnarface | i didn't have any problems with the x11-utils version on daedalus... | 22:47 |
| henk | that 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 |
| Guest5698 | fsmithred, 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 |
| Guest5698 | what version it has (if any). I also didn't find any command which will downgrade all xorg dependencies to daedalus, hope someone will provide it | 22:51 |
| Guest5698 | brb, gonna check again | 22:51 |
| n4dir | I'd probably purge the whole thing, then start from scratch. Re-installing should be even quicker. | 22:52 |
| Xenguy | Meanwhile 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 |
| Xenguy | I 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 passwords | 22:54 |
| Xenguy | I 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, heh | 22:55 |
| Xenguy | Oh, it's just called 'gnome-keyring' (but it does operated in daemon mode by default I believe) | 22:56 |
| Xenguy | I 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 |
| Guest883 | hey all, once again, still me | 22:58 |
| Xenguy | Guest883, Don't panic or anything, but it's best practice to run IRC as a user and not as root, just a friendly PSA | 22:58 |
| Guest883 | i'm sorry for being an ass, I was sure I tried apt install xorg after removing luit | 22:58 |
| Guest883 | but I didn't, and now it's installed. Thanks for help | 22:59 |
| Guest883 | before 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 mean | 23:00 |
| Guest883 | Xenguy, yeah you're right, forgot I'm connected to the Internet after a long time with a terminal :D | 23:01 |
| Guest883 | neck slap for me, twice | 23:02 |
| Xenguy | no worries : -) | 23:02 |
| Guest883 | I'm just wondering how removing luit helped resolve this conflict | 23:03 |
| n4dir | Xenguy: i don't really ssh anymore, but have ssh-agent in my .profile file. But i use startx | 23:05 |
| Xenguy | n4dir, So no 'gnome-keyring' installed I assume? | 23:06 |
| n4dir | i assume you might also autostart ssh-agent via Mate autostart. Or gnome-thing, if you prefer | 23:06 |
| n4dir | Xenguy: no, at least not used, as far i can tell | 23:06 |
| n4dir | Xenguy: i know for sure the ssh-stuff was done by ssh-agent | 23:06 |
| Xenguy | Yes, the 'gnome-keyring' (GK) is autostarted in this MATE DE | 23:07 |
| Xenguy | GK also leverages ssh-agent (or has one of its own) | 23:07 |
| n4dir | So, i assume as long that works it is a solution just as valid. I don't remember why i used ssh-agent | 23:07 |
| n4dir | want my entry in .profile, or you happy? | 23:08 |
| Xenguy | I *think* that GK may have its own ssh-agent, but it plays nice with the ssh-agent that comes with openssh apparently | 23:08 |
| Xenguy | n4dir, Let me check and see if I have ssh-agent in my .profile, sec | 23:08 |
| Guest883 | alright, guess I'll leave for now, thx for help once again | 23:09 |
| henk | Guest883: 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 |
| Guest883 | oh | 23:09 |
| n4dir | i 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 work | 23:09 |
| Xenguy | Not in my .profile, but I'm curious as to what that line is in yours | 23:10 |
| Xenguy | *to know | 23:10 |
| n4dir | http://0x0.st/8riM.txt | 23:10 |
| n4dir | more easy for me to quickly upload the whole .profile file | 23:11 |
| Guest883 | henk: ok, makes some sense for me. I'm still learning about repos | 23:11 |
| Xenguy | n4dir, What does 'eval' do (or what is the gist of that config) ? | 23:12 |
| Xenguy | Guest883, Don't mix them is the most important rule ; -) | 23:12 |
| n4dir | Xenguy: i feared you ask that. I got no idea, but the eval is needed. | 23:12 |
| n4dir | It is in .profile, so in X , it is in each and every terminal-emulator or tab | 23:13 |
| n4dir | it first pgreps so no second ssh-agent will get started, i i log in another TTY, i guess | 23:13 |
| Xenguy | $ type eval | 23:14 |
| Xenguy | eval is a shell builtin | 23:14 |
| n4dir | why not in .bashrc i wouldn't know, to be honest | 23:14 |
| n4dir | it sure doesn't work if i "startx" and then do it in a terminal-emulator. | 23:14 |
| n4dir | because you then open another tab or emulator, and it is not there. all: iirc | 23:14 |
| n4dir | for a DE i simply used the according autostart, not sure if ssh-agent or gnome-key, or what | 23: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 |
| Guest883 | Xenguy: 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 |
| n4dir | Xenguy: either someone here knows or you could ask in #bash why the (else considered "evil") eval makes sense here | 23:17 |
| n4dir | i sure didn't understand it back then, and now even less | 23:17 |
| Guest883 | hm, i guess apt install xorg should have installed only daedalus versions, so I don't need to worry now | 23:17 |
| henk | Guest883: to get rid of the "residual-config" you can probably 'purge' luit, but it probably doesn’t really matter. | 23:18 |
| henk | it just means that the package’s config files are still there. | 23:18 |
| fsmithred | Xenguy, I use ssh a lot. I do not use gnome-keyring | 23:18 |
| fsmithred | and I use ssh-agent on command-line if I'm hopping from one remote to another | 23:19 |
| Xenguy | fsmithred, You prefer 'ssh-agent' then? | 23:19 |
| Xenguy | Okay | 23:19 |
| fsmithred | not sure what preference you're referring to | 23:19 |
| fsmithred | or what alternatives | 23:19 |
| Xenguy | Well simply 'gnome-keyring' vs. 'ssh-agent' | 23:20 |
| fsmithred | I guess I don't really know what they do | 23:20 |
| henk | there is also gpg-agent. I use that one. | 23:20 |
| fsmithred | I use ssh-add to add an auth key | 23:20 |
| fsmithred | then I don't need to enter password when I log into remote | 23:21 |
| Xenguy | henk, GK seems to handle both SSH and GPG keys AFAICT | 23:21 |
| n4dir | i 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 |
| n4dir | for the next remote, i mean | 23:21 |
| Xenguy | fsmithred, Yeah that's how I used to do it, back when I was using SSH all the time. | 23:21 |
| Xenguy | fsmithred, I would set time limits on them too, like 2H or 3H | 23:21 |
| henk | Xenguy: ok | 23:22 |
| Xenguy | n4dir, 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 guess | 23:25 |
| Xenguy | Guest883, Not sure about your previous question to me | 23:25 |
| n4dir | Xenguy: yes, that is what it does. | 23:25 |
| n4dir | the eval is the question | 23:25 |
| Xenguy | Guest883, or not sure what the answer is | 23:25 |
| n4dir | i found keychain, don't understand it, but i also is to be put in profile (or .bash_profile, they use) | 23:26 |
| n4dir | regarding the problem: you ssh somewhere, then want to ssh to elswhere, but have you added ssh-keys available | 23:26 |
| Xenguy | n4dir, eval just executes a command it seems | 23:26 |
| n4dir | Xenguy: it didn't work without. Anyway, i already said more than i know | 23:27 |
| Xenguy | n4dir, keychain rings a bell also, hrm | 23:27 |
| henk | n4dir: ideally, you would use ProxyJump instead of agent forwarding. | 23:27 |
| n4dir | henk: perhaps. I never ssh'ed again after the first. Thanks | 23:28 |
| henk | but if you trust the first machine, both is fine. | 23:28 |
| Guest883 | Xenguy: 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 |
| Guest883 | man, if only all programs were statically compiled... | 23:29 |
| Xenguy | n4dir, 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 |
| Xenguy | bon appetit | 23:31 |
| n4dir | thanks | 23:31 |
| Xenguy | The 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 keys | 23:32 |
| Xenguy | 'ed25519' keys | 23:32 |
| Guest883 | alright, I've started my IceWM and all's working fine now. Bye all UwU | 23:47 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!