大网数据广告活动
服务器运维问答

Apt asks me "Which services should be restarted?", but won't accept my answer

· 52CE 我爱测

Restarting services... Daemons using outdated libraries -------------------------------- 1. containerd.service 4. fail2ban.service 7. networkd-dispatcher.service 10. systemd-logind.service 13. unattended-upgrades.service 2. dbus.…

问题原文

原帖链接 · Alex · CC BY-SA 4.0

Restarting services...
Daemons using outdated libraries
--------------------------------

  1. containerd.service  4. fail2ban.service      7. networkd-dispatcher.service  10. systemd-logind.service  13. unattended-upgrades.service
  2. dbus.service        5. iscsid.service        8. polkit.service               11. systemd-manager         14. [email omitted]
  3. docker.service      6. ModemManager.service  9. rpcbind.service              12. udisks2.service         15. none of the above

(Enter the items or ranges you want to select, separated by spaces.)

Which services should be restarted?

I tried to answer according to the instructions, but none of these worked:

  • 1-15
  • 1 15
  • 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • all
  • y

已采纳解答

原帖链接 · HBruijn · CC BY-SA 4.0

The option for none of the above probably can't be combined with or included in a range of the specific services you want to restart, as those are mutually exclusive.

Valid input to select all options to select all would then be:

  • 1-14

  • 1 2 3 4 5 6 7 8 9 10 11 12 13 14

As you already commented: there should be an option 16. all as well.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2023-09-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。