LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2017, 03:59 AM   #1
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Rep: Reputation: Disabled
hplip 3.17.4 install


Because I'm having troubles getting good black print on my HP Officejet 6830 and tried to install the hplip update, did several hp checks and disconnect the printer from PC, all without avail. See attached log and message in terminal.
Have ubuntu 16.04. Synaptic only comes up with hplip 3.16.11 repack, with Synaptic installed several missing dependicies.Can somebody help ?
many thanks,
miramarcos
 
Old 05-08-2017, 03:22 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,848

Rep: Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383
See this to start maybe. http://hplipopensource.com/hplip-web/downloads.html
 
Old 05-08-2017, 04:35 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Does your apt sources.list have the -updates line? xenial-updates

FILE: /etc/apt/sources.list
Code:
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe
What I was missing to grab a different thing in terms of deps for a game was the -updates variant.
 
Old 05-09-2017, 04:10 AM   #4
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Original Poster
Rep: Reputation: Disabled
thanks, but I still cannot install with command in terminal, cd~/Desktop sh hplip-3.17.4.run or hplip-3.17.4.tar.gz, nor replace the old one hplip 3.16.11 with update. What is meant with ''To run the installer manually, after extracting the tarball, cd into the 3.17.4_py2.5 directory'' and run hplip-install. where can I find this directory 3.17.4_py2.5 ?
miramarcos

Last edited by miramarcos; 05-09-2017 at 04:12 AM. Reason: do not find directory
 
Old 05-09-2017, 05:33 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,498
Blog Entries: 16

Rep: Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261
Quote:
Originally Posted by miramarcos View Post
thanks, but I still cannot install with command in terminal, cd~/Desktop sh hplip-3.17.4.run or hplip-3.17.4.tar.gz, nor replace the old one hplip 3.16.11 with update. What is meant with ''To run the installer manually, after extracting the tarball, cd into the 3.17.4_py2.5 directory'' and run hplip-install. where can I find this directory 3.17.4_py2.5 ?
miramarcos
I hope you didn't type "cd ~/Desktop sh hplip-3.17.4.run" as a single command! These are two separate commands that must be run in succession. First cd to the correct directory. Then run the installation script. Also it's bad practice to use a specialised folder like Desktop for building code; move the script into your top-level home directory, ~, and do it there.

If that doesn't work, and you have to install from a source tarball, the procedure is first to unpack it by using tar -xf tarball-name.tar.gz. It will unpack to a directory. cd into that directory, then cd to the specified 3.17.4_py2.5 sub-directory.
 
Old 05-09-2017, 11:07 AM   #6
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Original Poster
Rep: Reputation: Disabled
thanks Hazel, before I do that, hope you can advise me further. So I have moved hplip-3.17.4.tar.gz to Home. Then I command in terminal 'cd~/Home/hplip-3.17.4.tar.gz ? What happens then, do I have to wait till it is found and then typ 'sh hplip-3.17.4.run ?
Sorry, I'm at a loss
miramarcos
 
Old 05-09-2017, 12:57 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Are you following the install instruction from where you got the installer? Probably on the website where you got it, or in a file README or INSTALL as a part of the contents of the thing you are fiddling with. But you should be doing this type of install as a LAST RESORT these days. What the distro provides is normally good enough, baring extremely new hardware, or extremely old distro.

https://cups.org

There are administrative steps to setup a printer. The user needs to be in the lp group to use the printer, and lpadmin to setup and configure the printer (under debian). With a web interface via http://localhost:631 to setup the printer or examine it's status (according to the OS).
 
Old 05-10-2017, 01:29 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,498
Blog Entries: 16

Rep: Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261Reputation: 3261
I've had some annoying experiences with hplip. HP provide a lot of python-based installation and configuration software but it has never worked on any of my systems. A manual source build works fine, but it takes a bit of trial and error to find out what options have to be disabled to make it go to completion. I wouldn't recommend that for a novice.

Better to use a distro that comes with a built-in hplip package.
 
Old 05-10-2017, 04:45 AM   #9
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Original Poster
Rep: Reputation: Disabled
hplip troubles HP officejet Pro 6830

Hi all helpers, managed to get some missing dependencies, only the one python3.4-dev not, Synaptic also doesn't have it and just went along the very long list of python3 packages to no avail. Also cannot get the driver plug-in. By the way, before the upgrade of Libre Office - guess some weeks ago - never had any trouble printing, maybe there is a connection ?
Any more help is appreciated,
miramarcos
 
Old 05-17-2017, 09:39 AM   #10
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Original Poster
Rep: Reputation: Disabled
Question printer still not working

Dear Jefro, Shadow 7
From Ubuntu-forum I learned to get hplip hplip-gui with terminal, autoremoved several packages no longer necessary, but when try to install according to the instructions on HPLIP Imaging and Printing, I get the following message E: Unable to locate package python3.4-dev. Also did apt-get update.
E: Couldn't find any package by glob 'python3.4-dev'
E: Couldn't find any package by regex 'python3.4-dev'
and still do not get the necessary plugin driver.
See attached pdf
Sincerely hope anyone has a solution or any suggestion what I can do more,
miramarcos
Attached Files
File Type: pdf terminal 2.pdf (24.5 KB, 27 views)
 
Old 05-17-2017, 10:10 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
It could have a different version number, since the version number is part of the package name.

$ apt-cache search --names-only python | grep -i dev

As long as the version number is >=, you should be okay-ish.
 
Old 05-22-2017, 05:24 AM   #12
miramarcos
Member
 
Registered: Oct 2011
Posts: 128

Original Poster
Rep: Reputation: Disabled
missing pythongobject/dbus

Shadow 7, have done this and got a long list, but don't know what to do with it. See attached copy of result.
miramarcos
Attached Files
File Type: pdf terminal python.pdf (113.0 KB, 472 views)
 
Old 05-22-2017, 02:54 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
You can shorten that list by adding additional greps.

$ sudo apt-get install python3-all

would be a good start.

$ sudo apt-get install python3-dev

If you had added the $( | grep -i dev ) to the command to "shorten" the list.

$ apt-cache show python3-dev

Just to be sure it's version 3.4 or greater.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to install HPLIP ostene Linux - Newbie 12 10-04-2016 08:02 AM
hplip install centos 6.8 roncat CentOS 2 05-28-2016 08:57 PM
[SOLVED] Cannot install hplip on Debian makeyourself Linux - Software 1 10-08-2015 09:22 AM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration