Linux: warning: CUPSEXT could not be loaded. Please check HPLIP installation.

I‘m trying to install latest version of Hewlett-Packard’s Linux Imaging and Printing software (HPLIP) for my office jet printer. In order to install latest version of HPLIP I removed the hplip-gui, hplip, hplip-cups, hplip-data, hpijs, and hpijs-ppds Debian Linux packages However, I’m getting the following error:

ADVERTISEMENTS

Debian warning: CUPSEXT could not be loaded. Please check HPLIP installation.

How do I fix this error while installing hplip-3.12.9.run under Debian Linux 6.0.5 amd64 bit?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsHPLIP v3.12.9+
TimeN/A
This is a well known problem as installer need cupsext.so file which is installed at /usr/lib/pymodules/python2.6/cupsext.so or /usr/lib/python2.6/dist-packages/cupsext.so location. This file is part of HPLIP package version 3.10.6 under Debian Linux v6.0.5 (squeeze stable). So to fix this problem install the following packages:
$ sudo apt-get install hplip-gui hplip hplip-cups hplip-data hpijs hpijs-ppds
Once installed run HPLIP installer:
$ bash hplip-3.12.9.run
Select automatic installation mode and when prompted as follows select overwrite

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
HPLIP-3.10.6 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install, 'o'= Overwrite*, 'q'= Quit)?	: o

This will overwrite existing HPLIP with the latest version.

References:
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
4 comments… add one
  • nicolas Oct 1, 2012 @ 10:18

    Thanks a lot for this !
    3 hours of research and 5 minutes of manipulations…
    (sorry for mistakes…)

  • Jonathon Oct 8, 2012 @ 6:35

    Thank you! Being new to Linux/Ubuntu, I’m finding these sites all the more helpful for solving these problems. Cheers!

  • moaz refatver Oct 21, 2012 @ 10:52

    thank you very much ,, this website is awesome , helpful which always i find there the solutions
    thanks.

  • dani Jul 15, 2014 @ 5:30

    Unfortunately this did not resolved my problem I still encounter the same problem and i still could not print.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.