CUPS wrongly detected as missing during automatic driver setup on UBUNTO

Asked by Ole Torp Lassen

I am running hplip-3.14.6.run on a 64-bit ubunto 14.04 system.
Installing fails because required CUPS dependency is registered as missing.
However, CUPS is installed on my system.

I am not a very seasoned Linux user and unaware how to proceed .

ole@HP-EliteBook:~/Desktop$ sh hplip-3.14.6.run
Creating directory hplip-3.14.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.14.6 Self Extracting Archive........................................................................................................................................................................................................................................................................................................................................................................................................................................................................

.............................................................................................................

HP Linux Imaging and Printing System (ver. 3.14.6)
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_Mon-29-Sep-2014_13:27:55.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) : a

Initializing. Please wait...

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 14.04.

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

ENTER USER PASSWORD
-------------------
sudo: unable to resolve host HP-EliteBook
Please enter the sudoer (ole)'s password:

INSTALLATION NOTES
------------------
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.

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)

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

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcups2'
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.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
goutam (goutamkk) said :
#1

Thank you for contacting us. We will surely help you with this regard.
Can you post the terminal output of the command "sudo apt-get install --assume-yes libcups2"

Revision history for this message
Ole Torp Lassen (otl) said :
#2

Hello, thanks for replying.
Here is the requested terminal output:

sudo apt-get install --assume-yes libcups2
sudo: unable to resolve host HP-EliteBook
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcups2 is already the newest version.
The following packages were automatically installed and are no longer
required:
   kde-l10n-engb linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
   linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
   master-pdf-editor-bin:i386 python3-dirspec
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 13 not to upgrade.
ole@HP-EliteBook:~$

On 09/30/2014 02:56 PM, goutam wrote:
> Your question #255137 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/255137
>
> Status: Open => Answered
>
> goutam proposed the following answer:
> Thank you for contacting us. We will surely help you with this regard.
> Can you post the terminal output of the command "sudo apt-get install --assume-yes libcups2"
>

--
___________________________
Ole Torp Lassen
MSc, PhD Computer Science

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
goutam (goutamkk) said :
#4

sorry for delay our response.
If the problem still persist please run command : "sudo apt-get install --assume-yes cups libcups2".

Revision history for this message
Ole Torp Lassen (otl) said :
#5

Hello, and thanks for getting back to me.

The result of running the requested command:

ole@HP-EliteBook:~$ sudo apt-get install --assume-yes cups libcups2
sudo: unable to resolve host HP-EliteBook
[sudo] password for ole:
Reading package lists... Done
Building dependency tree
Reading state information... Done
cups is already the newest version.
libcups2 is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 58 not to upgrade.
ole@HP-EliteBook:~$

Below, I list the HPLIP log as well:

ole@HP-EliteBook:~$ sh hplip-3.14.10.run

hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mHP Linux Imaging and Printing System (ver. 3.14.10)[0m
hplip-install[4300]: info: :[01mHPLIP Installer ver. 5.1[0m
hplip-install[4300]: info: :
hplip-install[4300]: info: :Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
hplip-install[4300]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hplip-install[4300]: info: :This is free software, and you are welcome to distribute it
hplip-install[4300]: info: :under certain conditions. See COPYING file for more details.
hplip-install[4300]: info: :
hplip-install[4300]: info: :Installer log saved in: [01mhplip-install_Mon-10-Nov-2014_12:28:17.log[0m
hplip-install[4300]: info: :
hplip-install[4300]: info: :
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mINSTALLATION MODE[0m
hplip-install[4300]: info: :[01m-----------------[0m
hplip-install[4300]: info: :Automatic mode will install the full HPLIP solution with the most common options.
hplip-install[4300]: info: :Custom mode allows you to choose installation options to fit specific requirements.
hplip-install[4300]: info: :
Initializing. Please wait...
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mINTRODUCTION[0m
hplip-install[4300]: info: :[01m------------[0m
hplip-install[4300]: info: :This installer will install HPLIP version 3.14.10 on your computer.
hplip-install[4300]: info: :Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mDISTRO/OS CONFIRMATION[0m
hplip-install[4300]: info: :[01m----------------------[0m
hplip-install[4300]: info: :Distro appears to be Ubuntu 14.04.

hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mENTER USER PASSWORD[0m
hplip-install[4300]: info: :[01m-------------------[0m
sudo: unable to resolve host HP-EliteBook
[sudo]
 for ole:

hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mINSTALLATION NOTES[0m
hplip-install[4300]: info: :[01m------------------[0m
hplip-install[4300]: 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[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mRUNNING PRE-INSTALL COMMANDS[0m
hplip-install[4300]: info: :[01m----------------------------[0m
hplip-install[4300]: info: :OK
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mINSTALL MISSING REQUIRED DEPENDENCIES[0m
hplip-install[4300]: info: :[01m-------------------------------------[0m
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)
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mCHECKING FOR NETWORK CONNECTION[0m
hplip-install[4300]: info: :[01m-------------------------------[0m
hplip-install[4300]: info: :Network connection present.
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mRUNNING PRE-PACKAGE COMMANDS[0m
hplip-install[4300]: info: :[01m----------------------------[0m
hplip-install[4300]: info: :sudo dpkg --configure -a (Pre-depend step 1)
hplip-install[4300]: info: :sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
hplip-install[4300]: info: :sudo apt-get update (Pre-depend step 3)
hplip-install[4300]: info: :OK
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mDEPENDENCY AND CONFLICT RESOLUTION[0m
hplip-install[4300]: info: :[01m----------------------------------[0m
hplip-install[4300]: info: :Running 'sudo apt-get install --assume-yes libcups2'
Please wait, this may take several minutes...
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mRUNNING POST-PACKAGE COMMANDS[0m
hplip-install[4300]: info: :[01m-----------------------------[0m
hplip-install[4300]: info: :OK
hplip-install[4300]: info: :
hplip-install[4300]: info: :
hplip-install[4300]: info: :[01mRE-CHECKING DEPENDENCIES[0m
hplip-install[4300]: info: :[01m------------------------[0m
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.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Ole Torp Lassen (otl) said :
#7

Hello again.
I haven't heard from you in a while. The problem still persists. Any news or recommendations at all?

best regards
Ole

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#8

Hi,

Can you try manual installation instructions?

=> Download and install the latest HPLIP release from
http://hplipopensource.com/hplip-web/install/manual/index.html

=> Reconfigure print queue using below commands.
       => hp-setup -r (remove all print queues)
      => su -c "hp-plugin"
             or
      => sudo hp-plugin (This will download right plugin)
       => hp-setup
=>Try printing now.

Can you help with this problem?

Provide an answer of your own, or ask Ole Torp Lassen for more information if necessary.

To post a message you must log in.