Ubuntu – HP-Plugin fail , HPLIP

hplip

I use Ubuntu 16.04 LTS . HPLIP 3.16.3 comes with this . I have bought a new printer LaserJet Pro MFP M130nw which requires a minimum of HPLIP 3.16.11.

I downloaded from the HP Developer website the Automatic Installer (.run file ) Download HPLIP 3.20.5 . and then ran the Automatic Installer .

The process went well until the HP-PLUGIN failed -see log below

HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Installer ver. 3.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Plug-in version: 3.20.5
Installed HPLIP version: 3.20.5
Number of files to install: 64
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.
Done.

A newbie question – how do I install “Python gobject/dbus “ ?

Best Answer

This worked for me . Now Plug-in installation successful .

Install apparmor utils

sudo apt-get install apparmor-utils

Run

sudo aa-disable /usr/share/hplip/plugin.py

Run as normal user, not as root:

hp-plugin
Related Question