Red Hat Bugzilla – Bug 585601
printer autoconfig tries to install hpijs which is already installed
Last modified: 2011-05-18 06:09:09 EDT
Description of problem:
I just turned on my HP Photosmart C5580 All-In_one device for the first time
after installing fedora 13 Beta. It grinds for a while, then asks me if
I want to install hpijs. It thought hpijs was already installed, but to
humor it I said OK, then I got a Failed to install package error popup
with the details:
could not do simulate: The packages are already all installed
rpm -q does indeed show that I already have
on my system.
When I cancel the error popup, I get another popup about missing
If I then run s-c-p and try to add the printer manually, it detects
the printer and goes back to the asking to install hpijs dialog again.
This time I hit cancel up front and it searched for and found the already
After all that it seems to work OK :-).
Version-Release number of selected component (if applicable):
I only tried it once, but that was enough :-).
Steps to Reproduce:
Annoying trip to try and install already installed drivers.
Just install printer since driver is already there.
I have disabled many many insanely annoying startup apps in the gnome
session I am running. I don't know if it expects something to be there
that isn't there or what.
I think this is because there is an hplip package in updates-testing.
Reassigning to PackageKit, which is returning packages it shouldn't:
[tim@localhost ~]$ rpm -q hpijs
[tim@localhost ~]$ pkcon --filter="~installed;arch;newest" what-provides "hp;psc_950;"
Getting provides [=========================]
Available hpijs-1:3.10.2-8.fc13.x86_64 HP Printer Drivers
[tim@localhost ~]$ yum list hpijs
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Found 16 installed debuginfo package(s)
updates-testing/metalink | 23 kB 00:00
Enabling updates-testing-debuginfo: Fedora 13 - x86_64 - Test Updates Debug
Reading repository metadata in from local files
updates-testing-debuginfo/metalink | 18 kB 00:00
Enabling fedora-debuginfo: Fedora 13 - x86_64 - Debug
Reading repository metadata in from local files
hpijs.x86_64 1:3.10.2-11.fc13 @updates-testing
(In reply to comment #1)
> [tim@localhost ~]$ rpm -q hpijs
> [tim@localhost ~]$ pkcon --filter="~installed;arch;newest" what-provides
> Available hpijs-1:3.10.2-8.fc13.x86_64 HP Printer Drivers
I think I see what is happening. We're doing the installed filtering before we're doing the newest filtering. This is really tricky to get right, because tecnically the newest package in the repote repos (that isn't the current installed package) is -8. I guess we shouldn't show packages less than the current installed version if the package is already installed.
I'll take a look at this early next week.
This bug has been triaged
Fedora Bugzappers volunteer triage team
*** Bug 604730 has been marked as a duplicate of this bug. ***
I'm seeing this with an HP F4400. It won't install the printer because hpjis is already installed. The work around was to remove hpjis with Yumex and then let the system-config-printer reinstall it.
BTW on a related topic, installing the printer requires four authorizations, this is idiotic, one authorization should be enough.
(In reply to comment #5)
> BTW on a related topic, installing the printer requires four authorizations,
> this is idiotic, one authorization should be enough.
That's bug #596711.
Would be great to get this fixed for F-14 if possible.
Still occurs in Fedora 14.
Still occurring, very frustrating. I had foomatic-db-ppds-4.0-23.20101123.fc14.noarch installed and system-config-printer was trying to install an older version, and failing. Then I did a yum remove foomatic\*, and now s-c-p DOES want to install the latest version (the one I just removed!). And now it succeeds.
This is still happening in F-15. This makes it no easier, and certainly more confusing, than before we added any of the automatic driver bits. :-(
Created attachment 488774 [details]
patch for review
This patch makes things work for me. Could somebody please test it for printer installing, and if it works I'll push into PackageKit git master for testing. Thanks.
PackageKit-0.6.14-1.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing PackageKit-0.6.14-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
PackageKit-0.6.14-2.fc15 has been submitted as an update for Fedora 15.
PackageKit-0.6.14-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Works here. Thanks!