fsmithred | onefang, cpulimit -e rsync -l "$limit" (where $limit is a percentage of cpu. 100% per core, so it can be more than 100 if you have more than one core.) | 02:35 |
---|---|---|
fsmithred | and that command can be run before rsync starts, and it will wait. | 02:36 |
strato | After upgrading to chimaera I got a problem with proftp, it's stuck. It will not run, and I cant remove the package, any suggestion ? | 11:52 |
joerg | I'd *guess*(!) that a further update to Daedalus is not hurting anyway | 11:56 |
strato | I cant run apt-get, proftp is blocking more of that action | 11:58 |
fsmithred_ | can you post the error messages to paste.debian.net? | 11:58 |
rrq | it needs a systemctl program | 11:59 |
strato | It's in danish, and is about dependensies problem | 11:59 |
strato | I gues, if there is a way to force the packages out, I could install it from scratc, but is there a way to force a package out? | 12:01 |
rrq | an empty, executable file "/bin/systemctl" is enough for purging it | 12:02 |
debdog | strato: run LANG=C apt-get ... to get an english output | 12:03 |
strato | I never try this before, but it looks like this: http://paste.debian.net/1289437/ | 12:07 |
fsmithred_ | apt install systemctl | 12:09 |
fsmithred_ | no shit, really. | 12:09 |
fsmithred_ | daemonless "systemctl" command to manage services without systemd | 12:10 |
fsmithred_ | "systemctl" is a replacement command to control system daemons without | 12:10 |
fsmithred_ | systemd. | 12:10 |
joerg | so aiui what rrq suggests is `sudo touch /bin/systemctl; sudo chmod +x /bin/systemctl` | 12:41 |
strato | Same result | 12:48 |
fsmithred | is there a dpkg process that's stuck? Maybe you can kill it? | 12:51 |
strato | ps -e | grep dpkg: Nothings hanging | 12:53 |
fsmithred | or apt-get if that's what you were using | 12:54 |
rrq | need to purge: libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core | 12:54 |
strato | Same result with ps -e | grep apt | 12:55 |
strato | rrq, Could be, ill try | 12:55 |
joerg | "sh: 1: <progname>: not found" rings a bell _maybe_. I seem to recall I seen this when the shebang was broken? | 12:56 |
joerg | the " 1: " makes me rise an eyebrow | 12:56 |
rrq | once purged, you can remove /bin/systemctl and install systemctl and proftpd-core again | 12:57 |
joerg | the >>#!/bin/sh<< vs >>#! /bin/sh<< ? | 12:58 |
* joerg heads out for more coffee | 12:58 | |
strato | rrq: To be on the safe site, I would like to start by purging proftp, the sea if I am going the right way | 13:01 |
strato | I dont quit get systemctl in this contens | 13:01 |
strato | (sorry about the spelling) | 13:02 |
rrq | the purging runs that script for the purpose of stopping proftpd | 13:02 |
rrq | since it's not running, and empty, executable file is sufficient | 13:02 |
rrq | such a file is an epty script that just succeeds | 13:02 |
rrq | ... and empty => ... an empty | 13:03 |
joerg | so to be verbose, you suggest to create amn empty and executable /bin/systemctl, then try to apt-get purge proftp ? | 13:07 |
rrq | yes... except that proftpd actually means those packages I mentioned | 13:07 |
strato | need to purg seems to do the job, there seem to be more to do, but now I ran run apt-get upgrade without problem | 13:08 |
joerg | could we turn that into a shell oneliner? | 13:08 |
joerg | ;-) | 13:08 |
strato | This worked: apt-get purge libhiredis0.14 libmemcached11 libmemcachedutil2 proftpd-core | 13:08 |
rrq | good. now you can remove that epty file and install systemctl, and then go for proftpd (-core) again | 13:09 |
rrq | epty => empty | 13:09 |
strato | You mean remove /bin/systemctl ? | 13:09 |
rrq | yes | 13:10 |
strato | And then apt-get install systemctl ? | 13:10 |
rrq | yes then you get "th real" /bin/systemctl (or /usr/bin/systemctl perhaps) | 13:11 |
strato | apt-get install proftpd-core and now it works :) Thanks | 13:15 |
rrq | great | 13:17 |
onefang | Just got home after being out all day. fsmithred I have 64 cores. B-) | 13:28 |
onefang | Though that does mean I haven't been home to listen to the music and see if the previous cache increase for VLC worked. | 13:29 |
onefang | And now I'm off to bed. G'night. | 14:10 |
nathaniel87 | hello can someone confirm that chimaera has security updates up until 2026 ? | 15:38 |
gnarface | nathaniel87: generally it's gonna get the same updates as debian | 15:41 |
nathaniel87 | ok so I don't have to update to daedalus if I want to get security updates right ? | 15:42 |
nathaniel87 | according to this https://www.debian.org/News/2021/20210814 it should be supported for the next 5 years | 15:44 |
nathaniel87 | thanks | 15:44 |
q3 | Hi all . I would be grateful for advice. Please tell me to reboot the PC without superuser privileges? | 16:56 |
debdog | q3: the most low-level approach would be adding the suid bit to /sbin/halt | 17:00 |
debdog | but depending on your setup, display and window manager, there're probably better ways | 17:01 |
debdog | can you describe your setup, please?! | 17:02 |
debdog | (also, the suid bit option might cause security issues) | 17:02 |
q3 | Thank you for your answer . I forgot to say that I use DWM and I need a command so that I can shut down the pc or reboot.. | 17:03 |
debdog | are you using a display manager? | 17:05 |
debdog | is elogind installed or policy-something? which devuan verison? | 17:08 |
debdog | *version | 17:08 |
q3 | yes you are right i use display manager and my version is this Chimaera | 17:10 |
debdog | which one? | 17:11 |
q3 | sorry i told you wrong i dont use display manager , startx in bash | 17:12 |
debdog | ok, that's how do it, too, with the suid bit for halt. then I've just added entries for halt and reboot to my window manager's menu. if you prefer a "more secure" option you'll need some managing thingy like elogind or policy-kit | 17:16 |
debdog | but that's not my domain, you'll have to wait for someone with more knowledge. might take some time, sometimes it's rather quite in here. | 17:17 |
fsmithred | In cases like that I set up sudo for shutdown/reboot commands, usually without password | 17:19 |
q3 | thanks a lot for the advice | 17:19 |
gnarface | q3: worth noting that if you're using nvidia official drivers, they still require Xorg to be setuid root (i think) so your window manager's regular buttons should work in that case (if furnished) | 17:30 |
gnarface | but i guess you probably wouldn't have asked if that was the case... | 17:33 |
* Xenguy wonders what is wrong with becoming root and typing 'reboot' or 'shutdown' ? | 17:44 | |
debdog | too laborious for a very basic and simple command....?! | 17:45 |
Xenguy | Laborious?! | 17:52 |
Xenguy | One should always have at least 1 root terminal open in any session *anyway* | 17:53 |
golinux | I have button in an XFCE panel that gives me all those options just a click away | 17:53 |
Xenguy | The first thing I do after I reboot is open a root terminal on VT6, problem solved | 17:53 |
Xenguy | This is the (*nix) way | 17:54 |
ManinTheSandbox | o// | 19:09 |
ManinTheSandbox | Is there anyway I can organize automatic updates for chimarea, its for an lxc container | 19:09 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!