Re: Redis installation error(s) on Debian SID

2024-10-13 Thread debian-user
Karl Vogel wrote: > Removing the --quiet flag and using something like safesys() would: > > * let systemctl write something (hopefully an error message), > * show exactly what arguments are being passed to it, and > * show its exit value. Your safesys includes basically exactly the code

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Karl Vogel
On Sat, Oct 12, 2024 at 21:43:39 -0400, I mistakenly wrote: > See the ":" followed by two spaces? Unlike systemctl, well-behaved > programs set "errno" when they puke, and that setting is turned into > a more-or-less useful error message like "Permission denied". > "$!" would have held that messag

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread tomas
On Sat, Oct 12, 2024 at 10:23:00PM -0400, Greg Wooledge wrote: > On Sat, Oct 12, 2024 at 21:43:39 -0400, Karl Vogel wrote: > > >> In previous messages: > > > > > > system('systemctl', '--quiet', [...] , @start_units) == 0 > > > or die("Could not execute systemctl: $!"); > > > > > > Co

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Greg Wooledge
On Sat, Oct 12, 2024 at 21:43:39 -0400, Karl Vogel wrote: > >> In previous messages: > > > > system('systemctl', '--quiet', [...] , @start_units) == 0 > > or die("Could not execute systemctl: $!"); > > > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. > > S

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Karl Vogel
>> In previous messages: > > system('systemctl', '--quiet', [...] , @start_units) == 0 > or die("Could not execute systemctl: $!"); > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. See the ":" followed by two spaces? Unlike systemctl, well-behaved progr

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Thomas Schmitt
Hi, John Cassidy wrote: > > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line > > > 148. i wrote: > > system('systemctl', '--quiet', @instance_args, $action, @start_units) == > > 0 or die("Could not execute systemctl: $!"); > > https://sources.debian.org/src/init-system-helpe

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread debian-user
debian-u...@howorth.org.uk wrote: > "Thomas Schmitt" wrote: > > Hi, > > > > John Cassidy wrote: > > > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke > > > > line 148. > > > > Greg Wooledge wrote: > > > That's a very strange and specific error message. Is your > > > syste

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread debian-user
"Thomas Schmitt" wrote: > Hi, > > John Cassidy wrote: > > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line > > > 148. > > Greg Wooledge wrote: > > That's a very strange and specific error message. Is your systemctl > > command missing, or has incorrect permissions or someth

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Michael Kjörling
On 12 Oct 2024 11:42 +0200, from s...@jdcassidy.eu (John Cassidy): > trying to install Redis on Debian SID, the install is failing with the > following errors: > > apt install redis /snip/ > Setting up redis-server (5:7.0.15-2) ... > Created symlink '/etc/systemd/system/redis.service' → > '/usr/li

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Thomas Schmitt
Hi, John Cassidy wrote: > > Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. Greg Wooledge wrote: > That's a very strange and specific error message. Is your systemctl > command missing, or has incorrect permissions or something? I rather guess that it is due to the perl t

Re: Redis installation error(s) on Debian SID

2024-10-12 Thread Greg Wooledge
On Sat, Oct 12, 2024 at 11:42:22 +0200, John Cassidy wrote: > Setting up redis-server (5:7.0.15-2) ... > Created symlink '/etc/systemd/system/redis.service' → > '/usr/lib/systemd/system/redis-server.service'. > Created symlink > '/etc/systemd/system/multi-user.target.wants/redis-server.service' → >