Bug 585601
Summary: | printer autoconfig tries to install hpijs which is already installed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom Horsley <horsley1953> | ||||
Component: | PackageKit | Assignee: | Richard Hughes <rhughes> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | bjrosen, evinco, jonathan, jpopelka, rh, rhughes, richard, smparrish, twaugh | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | PackageKit-0.6.14-2.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-05-09 04:09:26 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Tom Horsley
2010-04-24 23:50:36 UTC
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 hpijs-3.10.2-11.fc13.x86_64 [tim@localhost ~]$ pkcon --filter="~installed;arch;newest" what-provides "hp;psc_950;" Getting provides [=========================] Starting [=========================] Querying [=========================] 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 Installed Packages hpijs.x86_64 1:3.10.2-11.fc13 @updates-testing (In reply to comment #1) > [tim@localhost ~]$ rpm -q hpijs > hpijs-3.10.2-11.fc13.x86_64 > [tim@localhost ~]$ pkcon --filter="~installed;arch;newest" what-provides > "hp;psc_950;" > 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. Richard. This bug has been triaged -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers *** 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. https://admin.fedoraproject.org/updates/PackageKit-0.6.14-1.fc15 Package PackageKit-0.6.14-1.fc15: * 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: https://admin.fedoraproject.org/updates/PackageKit-0.6.14-1.fc15 then log in and leave karma (feedback). PackageKit-0.6.14-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/PackageKit-0.6.14-2.fc15 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! |