matsu@dell ~> sudo apt install apcupsd
Reading package lists... Done
Reading state information... Done
The following additional packages will be installed:
The following NEW packages will be installed:
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 532 kB of archives.
After this operation, 1,743 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.riken.jp/Linux/ubuntu focal/universe amd64 apcupsd-doc all 3.14.14-3build1 [328 kB]
Get:2 http://ftp.riken.jp/Linux/ubuntu focal/universe amd64 apcupsd amd64 3.14.14-3build1 [204 kB]
Fetched 532 kB in 3s (212 kB/s)
Selecting previously unselected package apcupsd-doc.
(Reading database ... 256476 files and directories currently installed.)
Preparing to unpack .../apcupsd-doc_3.14.14-3build1_all.deb ...
Unpacking apcupsd-doc (3.14.14-3build1) ...
Selecting previously unselected package apcupsd.
Preparing to unpack .../apcupsd_3.14.14-3build1_amd64.deb ...
Unpacking apcupsd (3.14.14-3build1) ...
Setting up apcupsd (3.14.14-3build1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/apcupsd.service → /lib/systemd/system/apcupsd.service.
Setting up apcupsd-doc (3.14.14-3build1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.6) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
23 files changed, 816 insertions(+)
create mode 100755 apcupsd/apccontrol
create mode 100644 apcupsd/apcupsd.conf
create mode 100755 apcupsd/changeme
create mode 100755 apcupsd/commfailure
create mode 100755 apcupsd/commok
create mode 100644 apcupsd/hosts.conf
create mode 100755 apcupsd/killpower
create mode 100644 apcupsd/multimon.conf
create mode 100755 apcupsd/offbattery
create mode 100755 apcupsd/onbattery
create mode 100755 apcupsd/ups-monitor
create mode 100644 default/apcupsd
create mode 100755 init.d/apcupsd
create mode 120000 init.d/ups-monitor
create mode 120000 rc0.d/K01apcupsd
create mode 120000 rc1.d/K01apcupsd
create mode 120000 rc2.d/S01apcupsd
create mode 120000 rc3.d/S01apcupsd
create mode 120000 rc4.d/S01apcupsd
create mode 120000 rc5.d/S01apcupsd
create mode 120000 rc6.d/K01apcupsd
create mode 120000 systemd/system/multi-user.target.wants/apcupsd.service