HP插件失败

use*_*510 8 hplip

我使用 Ubuntu 16.04 LTS 。HPLIP 3.16.3 附带了这个。我购买了一台新打印机 LaserJet Pro MFP M130nw,它至少需要 HPLIP 3.16.11。

\n

我从 HP Developer 网站下载了自动安装程序(.run 文件)Download HPLIP 3.20.5。然后运行自动安装程序。

\n

该过程进展顺利,直到 HP-PLUGIN 失败 - 请参阅下面的日志

\n
HP Linux Imaging and Printing System (ver. 3.20.5)\nPlugin Installer ver. 3.0\nCopyright (c) 2001-18 HP Development Company, LP\nThis software comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to distribute it\nunder certain conditions. See COPYING file for more details.\nPlug-in version: 3.20.5\nInstalled HPLIP version: 3.20.5\nNumber of files to install: 64\nPlugin installation failed\nerror: Python gobject/dbus may be not installed\nerror: Plug-in install failed.\nDone.\n
Run Code Online (Sandbox Code Playgroud)\n

新手问题 - 如何安装 \xe2\x80\x9cPython gobject/dbus \xe2\x80\x9c ?

\n

use*_*510 9

这对我有用。现在插件安装成功。

安装apparmor实用程序

sudo apt-get install apparmor-utils
Run Code Online (Sandbox Code Playgroud)

跑步

sudo aa-disable /usr/share/hplip/plugin.py
Run Code Online (Sandbox Code Playgroud)

以普通用户身份运行,而不是以 root 身份运行:

hp-plugin
Run Code Online (Sandbox Code Playgroud)