On Thu, 16 Nov 2023 01:39:32 +0000
"Russell L. Harris" <russ...@rlharris.org> wrote:

> I installed approx in a Debian 12 system, but when I attempt to
> restart it the error message appears "Unit approx.service not loaded."

Please show us a complete copy and paste of the transaction, from the
initial prompt and the command you entered, through to the following
prompt, inclusive.

Then, similarly for "systemctl status approx".

You may need to run "systemctl daemon-reload".

> 
> The approx man page (dated May 2011) says that approx is invoked by
> inetd, but I think that in Debian 12 approx is invoked by systemctl or
> systemd.

Correct, unless you've done a systemdectomy. It will be controlled by
systemd. systemctl is a user tool for managing systemd.

> 
> synaptic indicates that systemctl is available, but not installed.

systemctl for use with systemd is provided by the systemd package. The
systemctl package conflicts with systemd. The systemctl package says, in
part,

    Description: daemonless "systemctl" command to manage services
    without systemd "systemctl" is a replacement command to control
    system daemons without systemd. "systemctl" is useful in
    application containers where systemd is not available to start/stop
    services.

So if you have systemd installed, you don't want the systemctl package.

> 
> RLH
> 



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to