LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-17-2015, 11:14 AM   #1
nkstanton
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
Fedora 22 can't install plugin for hp p1606dn


I recently installed fedora 22 and am unable to configure my networked printer, an hp p1606dn. When I run the command:

hp-setup -i

choose net, then give the root password to install the plugin and choose d to download the plugin, I get the error message:

error: /root/.hplip/hplip-3.15.2-plugin.run file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.

How can I get around this error and install the printer? The printer was working under Fedora 20.
 
Old 06-18-2015, 01:28 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i would start with the web interface
http://localhost:631/
and set up the printer there

and how did you install hplip

Code:
su -
dnf search hp*

Quote:
The printer was working under Fedora 20.
??
is this a inplace upgrade from 20 to 22 ?

if so i would expect about 1/2 of everything not to work well

you really need a clean new install

Last edited by John VV; 06-18-2015 at 01:30 AM.
 
Old 06-18-2015, 05:07 PM   #3
nkstanton
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
This was a clean new install, not an upgrade.

The web interface
http://localhost:631/
shows two drivers,

HP LaserJet Professional p1606dn hpijs, 3.15.2, requires proprietary plugin
HP LaserJet Professional p1606dn hpcups, 3.15.2, requires proprietary plugin

In the past, I have used hp-setup, which calls hp-plugin, to set the printer up, or just hp-plugin to get the proprietary plugin.

I used

sudo dnf install hplip

to install hplip. The result of

sudo dnf search hp*

is:

hpijs.x86_64 : HP Printer Drivers
hpl-doc.noarch : HPL documentation
hplip-libs.x86_64 : HPLIP libraries
hplip-libs.i686 : HPLIP libraries
hpl-common.noarch : HPL common files
hplip-gui.x86_64 : HPLIP graphical tools
hpl-mpich.x86_64 : HPL compiled against mpich
hplip-compat-libs.x86_64 : HPLIP Python 2 modules
hpl-openmpi.x86_64 : HPL compiled against openmpi
hplip.x86_64 : HP Linux Imaging and Printing Project
hppc-templateprocessor.noarch : HPPC Template Processor
hppc.noarch : High Performance Primitive Collections for Java
hping3.x86_64 : TCP/IP stack auditing and much more
hplip-common.x86_64 : Files needed by the HPLIP printer and scanner drivers
hplip-common.i686 : Files needed by the HPLIP printer and scanner drivers
hppc-javadoc.noarch : Javadoc for HPPC

hpijs is installed when hplip is. The x86_64 versions of hplip* are all installed. The other things listed don't seem to be related to hp printers.

In the past, I have used hp-setup, which calls hp-plugin, to set the printer up, or just hp-plugin to get the proprietary plugin.
 
Old 06-18-2015, 07:39 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
A quick search on the error message found several hits - some even for Fedora.
Check out this bugzilla entry.
 
Old 06-19-2015, 03:52 PM   #5
nkstanton
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you. I can't install that at the moment because there's a problem with the updates-testing repo - I get the error message:

Error: Failed to synchronize cache for repo 'updates-testing' from 'https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f22&arch=x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I found out there's an opensource foo2zjs driver. In case someone else needs to know how to do this, here's what I did. I installed the package with the command:

sudo dnf install foo2zjs

The package included several drivers for older printers which can be used but don't support duplex. I then downloaded and unpacked the latest version, found the driver and copied it to the directory where foo2zjs puts drivers:

wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
tar zxf foo2zjs.tar.gz
sudo cp foo2zjs/PPD/HP-LaserJet_Pro_P1606dn.ppd /usr/share/cups/model

I then used cups (localhost:631) to install the printer with that driver.
 
Old 06-19-2015, 06:20 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
updates-testing repo
i take it you DO NOT !!! know that that is for TESTING new and VERY UNSTABLE updates
updates that ARE NOT READY FOR THE GENERAL PUBLIC and NEED!!!!! testing

so you WILL!!!! have "problems"

unless you MUST!!!! use a rpm from there to fix a mission CRITICAL bug

DO NOT USE!!!!

the repos you normally DO NOT!!!! use
-testing and "rawhide"
these you just do not use


what others are turned on

can you please post the output of this
( dnf should be the same as yum )
Code:
su -
dnf repolist all
yup
http://linuxmanpages.net/manpages/fe...an8/dnf.8.html
 
Old 06-20-2015, 02:52 PM   #7
nkstanton
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
The problem with updates-testing repo has been fixed. The command in the last comment (comment 24) of the bugzilla entry (Bug 1196237) mentioned in the reply from syq00 does not work because the version of hplip mentioned there but a newer one is, so I successfully gave the command:

# su -c 'yum update --enablerepo=updates-testing hplip-3.15.6-1.fc22'

and then was able to use hp-setup to install the printer with the hp plugin.

The output of

su -
dnf repolist all

lists all the repos, showing the testing and rawhide repos disabled. The command for installing hplip enabled the testing repo only for installing that package.

I thank all of you for your help.
 
  


Reply



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
HP Laserjet P1606DN installation problem kit0605 Linux - Newbie 5 04-29-2014 06:25 AM
how to install java plugin in fedora linux in mozilla firefox its urgent plz venkatesh51 Fedora 1 04-07-2014 01:22 AM
How do I install adobe flash player 10 plugin in fedora 10? sravi7 Linux - Newbie 1 04-05-2009 07:41 AM
Make Install xmms-plugin install fail - deb sarge Khepri Linux - Software 2 02-18-2006 10:05 PM
Fedora 3 Install: RH Linux 3rd party Plugin Questions etruiii Linux - Newbie 8 05-11-2005 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:24 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