在机器重启时出现报错
[FAILED]Failed to listen on CUPS Scheduler.
See 'systemctl status cups.socket' for details
[FAILED]Failed to start CUPS Schedular.
See 'system status cups.path' for details
[FAILED]Failed to start CUPS Schedular.
在开机启动项的地方选择Ubuntu Advanced Option
然后选择recovery mode
接着选择root Drop to root shell prompt
终端输入
systemctl status cups.path
看着上面的情况,终端输入
systemctl start cups.patha
systemctl status cups.path
解决办法:
sudo apt-get install --reinstall printer-driver-hpcups
sudo apt-get install hplip-gui
运行上述两行时报错:
error while loading shared libraries:libavahi-common.so.3:cannot open shared object file:No such file or directory
需要运行以下:
sudo apt install --reinstall libavahi-common3
#因为后续安装又出现找不到libavahi-client.so.3
sudo apt install --reinstall libavahi-client3