Bug 51521

Summary: nut-server-2.8.2 зависит от systemd
Product: Sisyphus Reporter: Andrew Savchenko <bircoph>
Component: nut-serverAssignee: Michael Shigorin <mike>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: mike
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Andrew Savchenko 2024-09-21 18:20:28 MSK
nut-server-2.8.2 не устанавливается на системе с sysvinit из-за паразитной зависиомсти на /bin/systemctl в скриптах (nut-driver-enumerator.sh и upsdrvsvcctl). Если посмотреть в скрипты, то systemctl не является обязательным для их работы.

# apt-get --verbose-versions install nut-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   libnss-systemd (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
   systemd (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
   systemd-boot-efi (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
The following packages will be REMOVED:
   eudev (3.2.9-alt3:sisyphus+265838.300.3.2@1612575575)
   systemd-utils-standalone (1:255.11-alt1:sisyphus+356663.100.1.1@1725296616)
   sysvinit (3.00-alt2:sisyphus+300218.200.2.1@1652976073)
The following NEW packages will be installed:
   libnss-systemd (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
   nut-server (sisyphus+357368.100.1.1@1726140458)
   systemd (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
   systemd-boot-efi (255.11-alt1:sisyphus+356663.100.1.1@1725296616)
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  sysvinit
0 upgraded, 4 newly installed, 3 removed and 0 not upgraded.