Bug 51521 - nut-server-2.8.2 зависит от systemd
Summary: nut-server-2.8.2 зависит от systemd
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: nut-server (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Michael Shigorin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-21 18:20 MSK by Andrew Savchenko
Modified: 2024-09-21 18:20 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.