CUPS Print driver installation error

On 13.1 KDE 32-bit IBM A31p laptop machine trying to install the HP LaserJet Printer driver for my 2200dn model and I get the following error:

charles@linux-d6an:~/Documents> sh hplip-3.14.1.run
Creating directory hplip-3.14.1
Verifying archive integrity... All good.
Uncompressing HPLIP 3.14.1 Self Extracting Archive.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.14.1)
HPLIP Installer ver. 5.1

Copyright (c) 2001-13 Hewlett-Packard 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.

Installer log saved in: hplip-install_Sat-15-Feb-2014_08:28:51.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
 

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : 

Initializing. Please wait...


INTRODUCTION
------------
This installer will install HPLIP version 3.14.1 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
 

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be SUSE Linux 13.1.

Is "SUSE Linux 13.1" your correct distro/OS and version (y=yes*, n=no, q=quit) ? 


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 
 

INSTALLATION NOTES
------------------
Please be sure to disable the CD repositories in YaST and after installation you must log out and back in to become a member of the lp and sys group to enable printing.

Please read the installation notes. Press <enter> to continue or 'q' to quit: 


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: cups (CUPS - Common Unix Printing System)


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 1 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: This installer cannot install 'reportlab' for your distro/OS and/or version.
 

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "zypper refresh" (Pre-depend step 1)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups"'
Please wait, this may take several minutes...
Running 'su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-client"'
Please wait, this may take several minutes...
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
charles@linux-d6an:~/Documents> 


Can anyone offer guidance with this? I’ve tried to manually install CUPS and this is what I see:

http://paste.opensuse.org/31478519

and I don’t know what is wrong with the installation. Thanks!

hplip is included in the distro and should even be installed by default.
So don’t try to install it manually, have a look in YaST->Software Management.

I have no idea why that hplip installer doesn’t find the installed cups though.
But that doesn’t matter anyway if you install hplip using the openSUSE packages.

The pasted image was of my YaST->Software Management screen showing CUPS installed. I was merely trying to update the driver to the newest version available. Funny thing is that the package installed on my other desktop machine (and a previous installation on my A31p installed) but this time the installation keeps erroring out. FYI.

Well, the error message doesn’t really say what it was looking for. cups is indeed installed, you couldn’t print without it anyway.
Did you have an internet connection? The installer runs zypper, that could fail if not.
You should remove the openSUSE package before installing manually though. Maybe this alone would help? (otherwise the manual installation could be overwritten again if there is an update for openSUSE)
Maybe the installers log would tell more: ~/Documents/hplip-3.14.1/hplip-install_Sat-15-Feb-2014_08:28:51.log in your case.
Maybe try the “custom” installation mode (enter ‘c’ at the first question), this might give more interesting output.

But personally, I would just keep using openSUSE’s 3.13.10.

According to the homepage, 3.14 only has these changes:

Significant Changes:

  • Added digital signature validation in HPLIP upgrade feature
    Issues fixed:
  • CVE-2013-6427: hplip: insecure auto update feature
  • CVE-2013-6402: hplip: insecure temporary file handling in pkit.py

The auto update feature is disabled in openSUSE’s package anyway, as you get the updates via the standard package updater. Therefore this update makes no sense on openSUSE.

And 3.13.11 did not bring an change regarding your printer as well.

Well, I was finally able to get the package installed by configuring a printer on the system apparently using the 3.13.10 package that was installed as per my pasted image. That allowed the newer driver to install and finish where I am now printing with it. I am confounded why it is that I am hit with these errors like I am, with some many things, but I look on it as a learning experience. And, so, I’m happy to say that I’ve worked through this one. I must be learning something. :slight_smile:

Hm, so maybe the installer can only detect cups if a printer queue is already set up?
That would be strange though (I would even call it a bug), since how would you set up the printer queue if you need hplip installed to do that?

Anyway, the openSUSE packages obviously don’t have that problem, because they don’t use the standard hplip installer.
And I say it again, I’d prefer to stay with those… :wink:
But I don’t have a printer for that I would need hplip anyway, so I have uninstalled it.