≡ Menu

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:

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?


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:
Share this tutorial on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 4 comments… add one }
  • nicolas October 1, 2012, 10:18 am

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

  • Jonathon October 8, 2012, 6:35 am

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

  • moaz refatver October 21, 2012, 10:52 am

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

  • dani July 15, 2014, 5:30 am

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

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , ,