Bugzilla – Bug 735864
PackageKit zypp backend: doesn't properly support printer driver search
Last modified: 2013-02-11 20:00:08 UTC
the zypp backend's what_provides() function apparently lacks support for proper mapping of searches for type PK_PROVIDES_ENUM_POSTSCRIPT_DRIVER (and others). For printers the backend needs to add "postscriptdriver(" for example. How to test: - run gnome - rpm -q --provides gutenprint - rpm -e gutenprint - plug in some printer that matches one of the provides => the automatism (or if that doesn't work use sytem-config-printer manually) should automatically suggest to install gutenprint
... only works for ppds that have 1284DeviceID
Let me understand how this works... If the backends get called with PK_PROVIDES_ENUM_POSTSCRIPT_DRIVER and the string would be "epson;stylus_photo_rx630;" ? And I need to build "postscriptdriver(epson;stylus_photo_rx630;)" from there?
yes AFAICT. see the yum backend.
We will implement this in a rewrite of the backend we are preparing. Added a link in our backlog to this bug.
Johannes, can you get me a /var/log/pk_backend_zypp after doing that what Ludwig describes? I assume it's easier for you to do that instead of carrying a printer around so I can USB plug ;)
Fortunately I have one at home: No ID match for device usb://Brother/HL-2030%20series: MFG:Brother;MDL:HL-2030 series;CMD:PJL,HBP; No ID match for device usb://Brother/HL-2030%20series: MFG:Brother;MDL:HL-2030 series;CMD:PJL,HBP;
this translates into postscriptdriver(brother;hl-2030_series;) But we only have those in the packages: postscriptdriver(brother;brother_hl-1450_series;) postscriptdriver(brother;brother_hl-1470n_series;) postscriptdriver(brother;brother_hl-2460_series;) postscriptdriver(brother;brother_hl-5050_series;) postscriptdriver(brother;brother_hl-5070n_series;) postscriptdriver(brother;brother_hl-5150d_series;) postscriptdriver(brother;brother_hl-5170dn_series;) postscriptdriver(brother;brother_hl-7050_series;) postscriptdriver(brother;hl-1050_series;) postscriptdriver(brother;hl-1070_series;) postscriptdriver(brother;hl-1240_series;) postscriptdriver(brother;hl-1250_series;) postscriptdriver(brother;hl-1430_series;) postscriptdriver(brother;hl-1440_series;) postscriptdriver(brother;hl-5040_series;) postscriptdriver(brother;hl-5140_series;)
so PK backend does the translation into provides now (stealing from zif backend), but I as have no printer that is "supported", I can't test the installation coolo@xanthippe#zypp>pkcon what-provides "brother;brother_hl-1450_series;" Anbieter werden abgerufen [=========================] Warten in Warteschlange [=========================] Starten [=========================] Abfragen [=========================] Verfügbar gutenprint-5.2.9-2.1.i586 Printer drivers for CUPS from the Gutenprint project Verfügbar gutenprint-5.2.9-2.1.x86_64 Printer drivers for CUPS from the Gutenprint project
so the provider is there, but it won't help as we will hit the same double provide bug as with gstreamer. *** This bug has been marked as a duplicate of bug 800858 ***
This is an autogenerated message for OBS integration: This bug (735864) was mentioned in https://build.opensuse.org/request/show/155147 Factory / PackageKit