记录一次cups服务更新
本文最后更新于 1461 天前,其中的信息可能已经有所发展或是发生改变。
( 35/101) 正在更新 cups                                                                     [#####################################################] 100%
警告:/etc/cups/cupsd.conf 已被安装为 /etc/cups/cupsd.conf.pacnew
>>> Cups systemd socket and service files have been
>>> renamed by upstream decision. Please make sure
>>> to disable/reenable the services to your need.
>>> hint: "pacman -Ql cups | grep systemd" and
>>> "ls -lR /etc/systemd/ | grep cups" 

Screenshot_20201121_223633.png

Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish
kylin@super ~> pacman -Ql cups | grep systemd
cups /usr/lib/systemd/
cups /usr/lib/systemd/system/
cups /usr/lib/systemd/system/cups-lpd.socket
cups /usr/lib/systemd/system/cups-lpd@.service
cups /usr/lib/systemd/system/cups.path
cups /usr/lib/systemd/system/cups.service
cups /usr/lib/systemd/system/cups.socket
kylin@super ~> ls -lR /etc/systemd/ | grep cups
lrwxrwxrwx 1 root root 45  9月 20 19:54 org.cups.cupsd.socket -> /usr/lib/systemd/system/org.cups.cupsd.socket
kylin@super ~> systemctl disable org.cups.cupsd
Failed to disable unit: Unit file org.cups.cupsd.service does not exist.
kylin@super ~ [1]> systemctl disable org.cups.cupsd.socket
Removed /etc/systemd/system/sockets.target.wants/org.cups.cupsd.socket.
kylin@super ~> systemctl enable cups.socket
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
kylin@super ~> 
上一篇
下一篇