I upgraded my laptop to Ubuntu 16.10 and I cant't print.
I tried to reinstall HPLIP (3.16.9 replacing 3.16.7) but it failed.
What to do?
see the content of the .log file bellow:
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mHP Linux Imaging and Printing System (ver. 3.16.9)[0m
hplip-install[30309]: info: :[01mHPLIP Installer ver. 5.1[0m
hplip-install[30309]: info: :
hplip-install[30309]: info: :Copyright (c) 2001-15 HP Development Company, LP
hplip-install[30309]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hplip-install[30309]: info: :This is free software, and you are welcome to distribute it
hplip-install[30309]: info: :under certain conditions. See COPYING file for more details.
hplip-install[30309]: info: :
hplip-install[30309]: info: :Installer log saved in: [01mhplip-install_Thu-20-Oct-2016_10:37:12.log[0m
hplip-install[30309]: info: :
hplip-install[30309]: info: :
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: ubuntu-16.10 version is not supported, so all dependencies may not be installed. However trying to install using ubuntu-16.04 version packages.
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mINSTALLATION MODE[0m
hplip-install[30309]: info: :[01m-----------------[0m
hplip-install[30309]: info: :Automatic mode will install the full HPLIP solution with the most common options.
hplip-install[30309]: info: :Custom mode allows you to choose installation options to fit specific requirements.
hplip-install[30309]: info: :
Initializing. Please wait...
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mINTRODUCTION[0m
hplip-install[30309]: info: :[01m------------[0m
hplip-install[30309]: info: :This installer will install HPLIP version 3.16.9 on your computer.
hplip-install[30309]: info: :Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mDISTRO/OS CONFIRMATION[0m
hplip-install[30309]: info: :[01m----------------------[0m
hplip-install[30309]: info: :Distro appears to be Ubuntu 16.10.
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mENTER USER PASSWORD[0m
hplip-install[30309]: info: :[01m-------------------[0m
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mINSTALLATION NOTES[0m
hplip-install[30309]: info: :[01m------------------[0m
hplip-install[30309]: info: :Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mSECURITY PACKAGES[0m
hplip-install[30309]: info: :[01m-----------------[0m
hplip-install[30309]: info: :AppArmor is installed.
hplip-install[30309]: info: :AppArmor protects the application from external intrusion attempts making the application secure
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mRUNNING PRE-INSTALL COMMANDS[0m
hplip-install[30309]: info: :[01m----------------------------[0m
hplip-install[30309]: info: :OK
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mPRE-BUILD COMMANDS[0m
hplip-install[30309]: info: :[01m------------------[0m
hplip-install[30309]: info: :OK
hplip-install[30309]: info: :
hplip-install[30309]: info: :
hplip-install[30309]: info: :[01mBUILD AND INSTALL[0m
hplip-install[30309]: info: :[01m-----------------[0m
hplip-install[30309]: info: :Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
hplip-install[30309]: info: :Command completed successfully.
hplip-install[30309]: info: :
hplip-install[30309]: info: :Running 'make clean'
Please wait, this may take several minutes...
hplip-install[30309]: info: :Command completed successfully.
hplip-install[30309]: info: :
hplip-install[30309]: info: :Running 'make'
Please wait, this may take several minutes...
error: 'make' command failed with status code 2