Public bug reported:

on current resolute, a fresh install doesn't progress.

sudo apt install nut

Installing:
  nut

Installing dependencies:
  libltdl7  libnutscan4  libupsclient7  nut-client  nut-server

Suggested packages:
  nut-monitor  nut-cgi  nut-i2c  nut-ipmi  nut-modbus  nut-snmp  nut-xml

Summary:
  Upgrading: 0, Installing: 6, Removing: 0, Not Upgrading: 0
  Download size: 2,254 kB
  Space needed: 12.3 MB / 139 GB available

Continue? [Y/n] 
Get:1 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 libltdl7 amd64 
2.5.4-9 [43.7 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 libnutscan4 amd64 
2.8.4+really-2 [147 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 libupsclient7 
amd64 2.8.4+really-2 [121 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 nut-client amd64 
2.8.4+really-2 [250 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 nut-server amd64 
2.8.4+really-2 [1,687 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu resolute/main amd64 nut all 
2.8.4+really-2 [5,454 B]
Fetched 2,254 kB in 1s (4,250 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database… 188672 files and directories currently installed.)
Preparing to unpack …/0-libltdl7_2.5.4-9_amd64.deb…
Unpacking libltdl7:amd64 (2.5.4-9)…
Selecting previously unselected package libnutscan4:amd64.
Preparing to unpack …/1-libnutscan4_2.8.4+really-2_amd64.deb…
Unpacking libnutscan4:amd64 (2.8.4+really-2)…
Selecting previously unselected package libupsclient7:amd64.
Preparing to unpack …/2-libupsclient7_2.8.4+really-2_amd64.deb…
Unpacking libupsclient7:amd64 (2.8.4+really-2)…
Selecting previously unselected package nut-client.
Preparing to unpack …/3-nut-client_2.8.4+really-2_amd64.deb…
Unpacking nut-client (2.8.4+really-2)…
Selecting previously unselected package nut-server.
Preparing to unpack …/4-nut-server_2.8.4+really-2_amd64.deb…
Unpacking nut-server (2.8.4+really-2)…
Selecting previously unselected package nut.
Preparing to unpack …/5-nut_2.8.4+really-2_all.deb…
Unpacking nut (2.8.4+really-2)…
Setting up libltdl7:amd64 (2.5.4-9)…
Setting up libupsclient7:amd64 (2.8.4+really-2)…
Setting up libnutscan4:amd64 (2.8.4+really-2)…
Setting up nut-client (2.8.4+really-2)…
Created symlink '/etc/systemd/system/upsmon.service' → 
'/usr/lib/systemd/system/nut-monitor.service'.
Created symlink '/etc/systemd/system/nut.target.wants/nut-monitor.service' → 
'/usr/lib/systemd/system/nut-monitor.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/nut.target' → 
'/usr/lib/systemd/system/nut.target'.
nut-logger.service is a disabled or a static unit, not starting it.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.
Setting up nut-server (2.8.4+really-2)…
Created symlink 
'/etc/systemd/system/nut.target.wants/nut-driver-enumerator.path' → 
'/usr/lib/systemd/system/nut-driver-enumerator.path'.
Created symlink 
'/etc/systemd/system/nut.target.wants/nut-driver-enumerator.service' → 
'/usr/lib/systemd/system/nut-driver-enumerator.service'.
Created symlink '/etc/systemd/system/nut.target.wants/nut-driver.target' → 
'/usr/lib/systemd/system/nut-driver.target'.
Created symlink '/etc/systemd/system/upsd.service' → 
'/usr/lib/systemd/system/nut-server.service'.
Created symlink '/etc/systemd/system/nut.target.wants/nut-server.service' → 
'/usr/lib/systemd/system/nut-server.service'.
nut-driver-enumerator-daemon-activator.path is a disabled or a static unit, not 
starting it.
nut-driver-enumerator-daemon-activator.service is a disabled or a static unit, 
not starting it.
nut-driver-enumerator-daemon.service is a disabled or a static unit, not 
starting it.
nut-udev-settle.service is a disabled or a static unit, not starting it.
[waiting]

what it seems to do:
jj         33381  0.0  0.0  17948 11260 pts/0    Ss   18:19   0:00          \_ 
-zsh
root       33393  0.0  0.0   9648  6000 pts/0    S+   18:19   0:00          |   
\_ sudo apt install nut
root       33399  0.0  0.0   9648  2200 pts/1    Ss   18:20   0:00          |   
    \_ sudo apt install nut
root       33400  0.2  0.5 107808 83112 pts/1    S+   18:20   0:00          |   
        \_ apt install nut
root       33587  0.0  0.0  12708  6788 pts/2    Ss+  18:20   0:00          |   
            \_ /usr/bin/dpkg --status-fd 21 --configure --pending
root       33588  0.0  0.0   2888  1936 pts/2    S+   18:20   0:00          |   
                \_ sh -c -- (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root       33589  0.0  0.0   2888   916 pts/2    S+   18:20   0:00          |   
                |   \_ sh -c -- (test -x /usr/lib/needrestart/dpkg-status && 
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
root       33590  0.0  0.0   2888  1940 pts/2    S+   18:20   0:00          |   
                |       \_ /bin/sh /usr/lib/needrestart/dpkg-status
root       33813  0.0  0.0   2888  1948 pts/2    S+   18:20   0:00          |   
                \_ /bin/sh -e /var/lib/dpkg/info/nut-server.postinst configure
root       34038  0.0  0.0  13352  8240 pts/2    S+   18:20   0:00          |   
                    \_ /usr/bin/perl /usr/bin/deb-systemd-invoke start 
nut-driver-enumerator-daemon-activator.path 
nut-driver-enumerator-daemon-activator.service 
nut-driver-enumerator-daemon.service nut-driver-enumerator.path 
nut-driver-enumerator.service nut-driver.target nut-server.service 
nut-udev-settle.service
root       34063  0.0  0.0  20268  8512 pts/2    S+   18:20   0:00          |   
                        \_ systemctl --quiet --system start 
nut-driver-enumerator.path nut-driver-enumerator.service nut-driver.target 
nut-server.service
root       34064  0.0  0.0  17140  7040 pts/2    S+   18:20   0:00          |   
                            \_ /usr/bin/systemd-tty-ask-password-agent --watch

root       34066  0.0  0.0   3020  2152 ?        Ss   18:20   0:00 /bin/sh 
/usr/libexec/nut-driver-enumerator.sh
root       34195  0.0  0.0   3020  1488 ?        S    18:23   0:00  \_ /bin/sh 
/usr/libexec/nut-driver-enumerator.sh
root       34663  0.0  0.0  16368  7788 ?        S    18:25   0:00      \_ 
timeout 90s /bin/systemctl restart nut-server
root       34664  0.0  0.0  20136  8168 ?        S    18:25   0:00          \_ 
/bin/systemctl restart nut-server

Mar 26 18:20:40 kischt systemd[1]: Starting nut-server.service - Network UPS 
Tools - power devices information server...
Mar 26 18:20:40 kischt nut-server[33806]: Network UPS Tools upsd 2.8.4 release
Mar 26 18:20:40 kischt nut-server[33806]: stat /etc/nut/upsd.conf: No such file 
or directory
Mar 26 18:20:40 kischt upsd[33806]: stat /etc/nut/upsd.conf: No such file or 
directory
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Main process exited, 
code=exited, status=1/FAILURE
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Failed with result 
'exit-code'.
Mar 26 18:20:40 kischt systemd[1]: Failed to start nut-server.service - Network 
UPS Tools - power devices information server.
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Scheduled restart job, 
restart counter is at 1.
Mar 26 18:20:40 kischt systemd[1]: Starting nut-server.service - Network UPS 
Tools - power devices information server...
Mar 26 18:20:40 kischt nut-server[33905]: Network UPS Tools upsd 2.8.4 release
Mar 26 18:20:40 kischt nut-server[33905]: listening on ::1 port 3493
Mar 26 18:20:40 kischt nut-server[33905]: listening on 127.0.0.1 port 3493
Mar 26 18:20:40 kischt upsd[33905]: listening on ::1 port 3493
Mar 26 18:20:40 kischt upsd[33905]: listening on 127.0.0.1 port 3493
Mar 26 18:20:40 kischt nut-server[33905]: Warning: no UPS definitions in 
ups.conf
Mar 26 18:20:40 kischt nut-server[33905]: Fatal error: at least one UPS must be 
defined in ups.conf
Mar 26 18:20:40 kischt upsd[33905]: Warning: no UPS definitions in ups.conf
Mar 26 18:20:40 kischt upsd[33905]: Fatal error: at least one UPS must be 
defined in ups.conf
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Main process exited, 
code=exited, status=1/FAILURE
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Failed with result 
'exit-code'.
Mar 26 18:20:40 kischt systemd[1]: Failed to start nut-server.service - Network 
UPS Tools - power devices information server.
Mar 26 18:20:40 kischt systemd[1]: nut-server.service: Scheduled restart job, 
restart counter is at 2.

until restart counter 5.

the apt install is still hanging currently at 18:28:00.

** Affects: nut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146478

Title:
  freeze for fresh nut install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/2146478/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to