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

by on September 29, 2012 · 3 comments· LAST UPDATED September 29, 2012

in ,

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?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsHPLIP v3.12.9+
Estimated completion 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:
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 nicolas October 1, 2012 at 10:18 am

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

Reply

2 Jonathon October 8, 2012 at 6:35 am

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

Reply

3 moaz refatver October 21, 2012 at 10:52 am

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

Reply

Leave a Comment

Tagged as: , , , , ,

Previous Faq:

Next Faq: