How do I get HPLIP onto my pc?

Asked by Duncan on 2017-03-28

I am not a tech whiz. I have Ubuntu 16.04 on my pc and am trying to get HP lip onto it. For the life of me I have been trying for 2 days now - going round and round in circles - it is just too complex - downloading and installing endless "dependencies" and still, it does not work. How on Earth can I get HP lip installed and working on my pc - bear in mind that I am not a tech whiz - however, I can open a terminal and type commands if they are clear. Thanks for your help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
Duncan
Solved:
2017-03-29
Last query:
2017-03-29
Last reply:
2017-03-29

sudo apt-get install hplip

Done

Duncan (dblack49) said : #2

Many thanks - but when I do that I get the message "can't find hplip" - or
words to that effect. Hmm, perhaps I'm looking in the wrong directory -
have you any idea how I can find out?
Thanks for your patience

On 28 March 2017 at 22:28, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo apt-get install hplip
>
> Done
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/hplip/+
> question/598931/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

What is the output of:

apt-cache policy hplip

Thanks

Duncan (dblack49) said : #4

Here you go:
==========================
hplip:
  Installed: (none)
  Candidate: 3.16.3+repack0-1
  Version table:
     3.16.3+repack0-1 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
duncan@duncan-IdeaCentre-K430:~$

========================================

MANY thanks for you ongoing help - MUCH appreciated!

Sincerely
Douglas

On 28 March 2017 at 23:23, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> apt-cache policy hplip
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

OK, what is the full output of:

sudo apt-get update; sudo apt-get install hplip

Thanks

Duncan (dblack49) said : #6

Thanks - here it is:

==========================
sudo apt-get update
[sudo] password for duncan:
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]

Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [102
kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64
Packages [498 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
[488 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64
Packages [448 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe i386
Packages [436 kB]
Fetched 2,177 kB in 1s (1,614 kB/s)
Reading package lists... Done
duncan@duncan-IdeaCentre-K430:~$ sudo apt-get install hplip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 hplip : Depends: cups (>= 1.1.20)
         Depends: printer-driver-hpcups (= 3.16.3+repack0-1) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
duncan@duncan-IdeaCentre-K430:~$

===========================
thanks
Douglas

On 29 March 2017 at 07:49, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> OK, what is the full output of:
>
> sudo apt-get update; sudo apt-get install hplip
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

Interesting. What is the output of:

apt-cache policy cups

Thanks

Duncan (dblack49) said : #8

Once again, thanks for your ongoing help - greatly appreciated; here it it:
=============================
cups:
  Installed: (none)
  Candidate: 2.1.3-4
  Version table:
     2.1.3-4ubuntu0.2 0
        100 /var/lib/dpkg/status
     2.1.3-4 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
==========================
D

On 29 March 2017 at 08:04, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Interesting. What is the output of:
>
> apt-cache policy cups
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

Bingo. You have had a cups version from somewhere else and it's throwing the packages out.

If you run:

sudo apt-get clean
sudo dpkg -P cups
sudo apt-get --reinstall install cups
clear
apt-cache policy cups

What is the output, please?

Duncan (dblack49) said : #10

once again, many thanks. Here it is:

===========================
cups:
  Installed: (none)
  Candidate: 2.1.3-4
  Version table:
     2.1.3-4 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

========================
D

On 29 March 2017 at 08:33, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Bingo. You have had a cups version from somewhere else and it's throwing
> the packages out.
>
> If you run:
>
> sudo apt-get clean
> sudo dpkg -P cups
> sudo apt-get --reinstall install cups
> clear
> apt-cache policy cups
>
> What is the output, please?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

Perfect. Now run:

sudo apt-get --reinstall install hplip

And it should install OK

Duncan (dblack49) said : #12

Many thanks:
========================
$ sudo apt-get --reinstall install hplip
[sudo] password for duncan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 hplip : Depends: cups (>= 1.1.20)
         Depends: printer-driver-hpcups (= 3.16.3+repack0-1) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.

==============================
D

On 29 March 2017 at 08:58, actionparsnip <
<email address hidden>> wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Perfect. Now run:
>
> sudo apt-get --reinstall install hplip
>
> And it should install OK
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/hplip/+
> question/598931/+confirm?answer_id=10
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> You received this question notification because you asked the question.
>

Duncan (dblack49) said : #13

Dear Parsnip

Just to let you know that I finally resolved the problem by:

==================================

1. Backing up my pc

2. Booting up a live Ubuntu 16.04 cd and selected the install option where
everything on the disk is wiped and then Ubuntu is re-installed - VERY
IMPORTANT to select ALL the additional software and the update with the
installation - I think the HPLIP stuff is amongst the "unsupported
software".

3. Reboot the pc and open a Terminal and write:

sudo apt-get install hplip (to install the app)

and

sudo apt-get install hplip-gui (to install the graphical-user-interface)

4. Reboot the pc and the HPLIP app (toolbox) will be found in the Dash
(top left of screen)

==================================

That's it !

Once again, many thanks for you time and help - REALLY appreciated.

sincerely
D
=============================
On 29 March 2017 at 09:09, Duncan <email address hidden>
wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Status: Answered => Open
>
> You are still having a problem:
> Many thanks:
> ========================
> $ sudo apt-get --reinstall install hplip
> [sudo] password for duncan:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies.
> hplip : Depends: cups (>= 1.1.20)
> Depends: printer-driver-hpcups (= 3.16.3+repack0-1) but it is not
> going to be installed
> E: Unable to correct problems, you have held broken packages.
>
> ==============================
> D
>
> On 29 March 2017 at 08:58, actionparsnip <
> <email address hidden>> wrote:
>
> > Your question #598931 on hplip in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
> >
> > Status: Open => Answered
> >
> > actionparsnip proposed the following answer:
> > Perfect. Now run:
> >
> > sudo apt-get --reinstall install hplip
> >
> > And it should install OK
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+source/hplip/+
> > question/598931/+confirm?answer_id=10
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Duncan (dblack49) said : #14

SOLUTION !
Managed to find the solution:

1. Backing up my pc

2. Booting up a live Ubuntu 16.04 cd and selected the install option where everything on the disk is wiped and then Ubuntu is re-installed - VERY IMPORTANT to select ALL the additional software and the update with the installation - I think the HPLIP stuff is amongst the "unsupported software".

3. Reboot the pc and open a Terminal and write:

sudo apt-get install hplip (to install the app)

and

sudo apt-get install hplip-gui (to install the graphical-user-interface)

4. Reboot the pc and the HPLIP app (toolbox) will be found in the Dash (top left of screen)

THATS IT !

Thanks to you all for your willing and expert help.
Sincerely
D

Dave Stroud (bigdavesr) said : #15

I would like to reopen this question. Am having the same problem on gnome 17.10. Have tried every thing listed above and even Googled it nothing is working.Have not tried to re install. Have filed a bug. It worked fine up until a couple days a go.The update removed it all. It will no longer install. Dependencies not met.,you have held broken packages. A work around would be nice.

17.10 isn't stable and isn't ready and isn't stable. I suggest you report a bug

Dave Stroud (bigdavesr) said : #17

#15 above. A bug report has been summited.I have stable systems installed.I just want to fix it if I can. I know that it should be fixed eventually. Was just hoping some one whose has the problem can suggest a fix.

Duncan (dblack49) said : #18

I managed to fix the issue but can't remember how. I seem to remember that
I backed up, wiped and then re-installed Ubuntu - a real hassle.
DB

On 25 July 2017 at 21:53, Dave Stroud <email address hidden>
wrote:

> Your question #598931 on hplip in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/hplip/+question/598931
>
> Dave Stroud posted a new comment:
> I would like to reopen this question. Am having the same problem on
> gnome 17.10. Have tried every thing listed above and even Googled it
> nothing is working.Have not tried to re install. Have filed a bug. It
> worked fine up until a couple days a go.The update removed it all. It
> will no longer install. Dependencies not met.,you have held broken
> packages. A work around would be nice.
>
> --
> You received this question notification because you asked the question.
>