Created attachment 1014645 [details] python example to use dbus packagekit api Description of problem: When executed attached python program, I get a popup at right upper corner which says "Additional Packages Required" and when clicked on button "Find in Software", gnome-software is opened with error message that packages not found. See the next attachment. Version-Release number of selected component (if applicable): gnome-packagekit-3.16.0-1.fc22.x86_64 PackageKit-1.0.6-1.fc22.x86_64 gnome-software-3.16.0-1.fc22.x86_64 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: why can't gnome-software install packages? Any specific reason to invoke gnome-software instead of old gnome-packagekit way of installing packages? Expected results: packages should get installed. Additional info:
gnome-software is probably not showing them because the packages in question don't have appdata.
Created attachment 1014664 [details] gnome-software error message This message points to a link https://fedoraproject.org/wiki/PackageKit_Items_Not_Found#Missing_Package but the packages hunspell-mr and hunspell-hi are already present in the repository.
Few things I have observed. Please help to understand them. 1) If appdata is necessary to work that code then its sad to see now every package is forced to have appdata installed. Can gnome-software ignore this thing and continue installing packages? If not I wish someone should write a automated script to read spec files and have only needed data to be written for their appdata files. 2) The packages I am trying are already present in repository and the link to which gnome-software is linking does not have that information that packages can also not be installed due to appdata file missing. Please if its necessary update that wiki link. 3) What happened to org.freedesktop.PackageKit.Modify interface? I see its moved to gnome-software now and renamed to org.freedesktop.PackageKit.Modify2. This will make people using that interface to have their scripts/code failed now. 4) The other thing I saw if those scripts/code continue using org.freedesktop.PackageKit.Modify interface and have mixed environment installed e.g. KDE where apper will get installed then apper takes control to install packages using org.freedesktop.PackageKit.Modify interface. Will apper be moved to use org.freedesktop.PackageKit.Modify2 interface? Will there not be any unified packagekit interface to install packages across any Desktop environment?
Forgot one last point 5) Will there be any documentation like sample example code available that shows how to modify attached code in initial comment to use new org.freedesktop.PackageKit.Modify2 interface?
(In reply to Parag from comment #3) > Few things I have observed. Please help to understand them. > > 1) If appdata is necessary to work that code then its sad to see now every > package is forced to have appdata installed. Can gnome-software ignore this > thing and continue installing packages? If not I wish someone should write a > automated script to read spec files and have only needed data to be written > for their appdata files. I talked to hughsie earlier today and we agreed that it makes sense to show packages that don't have appdata when using the org.freedesktop.PackageKit.Modify / Modify2 interfaces. Give me a bit and I'll make this work :) > 2) The packages I am trying are already present in repository and the link > to which gnome-software is linking does not have that information that > packages can also not be installed due to appdata file missing. Please if > its necessary update that wiki link. Fixing 1 fixes this too. > 3) What happened to org.freedesktop.PackageKit.Modify interface? I see its > moved to gnome-software now and renamed to > org.freedesktop.PackageKit.Modify2. This will make people using that > interface to have their scripts/code failed now. gnome-software currently supports both the old and new interfaces, and is probably going to do so for a while. If you need to support both KDE and GNOME, it probably makes sense to keep on using Modify for now, until Apper switches over to support the new interface as well. > 4) The other thing I saw if those scripts/code continue using > org.freedesktop.PackageKit.Modify interface and have mixed environment > installed e.g. KDE where apper will get installed then apper takes control > to install packages using org.freedesktop.PackageKit.Modify interface. > > Will apper be moved to use org.freedesktop.PackageKit.Modify2 interface? We haven't talked to Apper people yet because we wanted to make sure we got the new, updated interface right first. But yes, it will be updated at some point :) > Will there not be any unified packagekit interface to install packages > across any Desktop environment? org.freedesktop.PackageKit.Modify should work fine in both GNOME and KDE.
Applications like system-config-language and ibus-typing-booster input method setup for dictionary packages installation are using org.freedesktop.PackageKit.Modify interface in GNOME for package installation are stopped working as gnome-software is blocking package installation. Proposing this as F22FinalBlocker. Please fix gnome-software to allow installation of packages like dictionaries, hyphenation rules, translations packages.
Proposed as a Blocker for 22-final by Fedora user pnemade using the blocker tracking app because: Applications like system-config-language and ibus-typing-booster input method setup for dictionary packages installation are using org.freedesktop.PackageKit.Modify interface in GNOME for package installation are stopped working as gnome-software is blocking package installation. Proposing this as F22FinalBlocker. Please fix gnome-software to allow installation of packages like dictionaries, hyphenation rules, translations packages.
You need to mention a specific blocker criterion this violates or it won't be accepted as a blocker. (That said, it needs to be fixed; thanks for working on it Kalev!)
Sorry I am not much aware about blocker criterion but I thought let's not have F22 GA release where some Fedora applications unable to install packages using PackageKit interface provided by gnome-software. Good to have gnome-software fixed which will then allow any package to be installed using PackageKit api. I will look into blocker criteria but QA people can decide if this is a blocker or not as per their release requirements. Thanks all.
Discussed at the 2015-04-28 blocker review meeting.[1] Voted as RejectedBlocker. This is certainly a significant bug that should be treated with priority, but it does not seem to be worth blocking the release for. It could be satisfactorily fixed with a post-release update if it cannot be fixed before release. If a fix appears after the Final freeze we would be willing to consider freeze exception status. [1]: http://meetbot.fedoraproject.org/fedora-blocker-review/2015-04-28/
Thanks QA team for discussing this bug in blocker review meeting. I have left now with only option to wait for gnome-software to be patched to allow to install any application. If we will not see any fix by F22 GA then I am willing to add this to https://fedoraproject.org/wiki/Common_F22_bugs#GNOME_issues
http://koji.fedoraproject.org/koji/buildinfo?buildID=636083 should have the fixes, if you want to give it a try.
Thanks Kalev. But I was looking for a solution where previous way was working fine for me. I will give a list of packages and they will get installed directly either with a common dialog box asking for "confirmation to install packages" or no dialog box at all. I see that now I need to install each and every package individually even after passing list of packages. Is there any good way with PackageKit api to install all the given packages with progressbar?
Not at the moment, no. But I think we'll have to revisit this next cycle (GNOME 3.18 / F23) and figure out how to make it possible how to install all packages in one click. And add a progress bar! :)
adwaita-icon-theme-3.16.2.1-1.fc22,aisleriot-3.16.2-1.fc22,bijiben-3.16.2-1.fc22,clutter-1.22.2-1.fc22,control-center-3.16.2-1.fc22,empathy-3.12.10-2.fc22,eog-3.16.2-1.fc22,epiphany-3.16.1-1.fc22,evince-3.16.0-2.fc22,evolution-3.16.2.1-1.fc22,evolution-data-server-3.16.2-2.fc22,evolution-ews-3.16.2-1.fc22,evolution-mapi-3.16.2-1.fc22,file-roller-3.16.2-1.fc22,four-in-a-row-3.16.2-1.fc22,gcr-3.16.0-1.fc22,gdk-pixbuf2-2.31.4-1.fc22,geocode-glib-3.16.2-1.fc22,glib2-2.44.1-1.fc22,gnome-boxes-3.16.2-1.fc22,gnome-calendar-3.16.2-1.fc22,gnome-characters-3.16.2-1.fc22,gnome-chess-3.16.2-1.fc22,gnome-desktop3-3.16.2-1.fc22,gnome-devel-docs-3.16.2-1.fc22,gnome-dictionary-3.16.2-1.fc22,gnome-disk-utility-3.16.1-1.fc22,gnome-documents-3.16.2-1.fc22,gnome-font-viewer-3.16.2-1.fc22,gnome-getting-started-docs-3.16.2-1.fc22,gnome-initial-setup-3.16.2-1.fc22,gnome-logs-3.16.2-1.fc22,gnome-mahjongg-3.16.1-1.fc22,gnome-maps-3.16.2-1.fc22,gnome-online-accounts-3.16.2-1.fc22,gnome-online-miners-3.14.3-1.fc22,gnome-photos-3.16.2-1.fc22,gnome-power-manager-3.16.1-2.fc22,gnome-screenshot-3.16.2-1.fc22,gnome-settings-daemon-3.16.2-1.fc22,gnome-software-3.16.2-1.fc22,gnome-terminal-3.16.2-1.fc22,gnome-themes-standard-3.16.2-1.fc22,gnome-tweak-tool-3.16.2-1.fc22,gtk-doc-1.22-1.fc22,gtk2-2.24.28-1.fc22,gtk3-3.16.3-1.fc22,gucharmap-3.16.2-1.fc22,gupnp-0.20.14-1.fc22,gupnp-tools-0.8.10-1.fc22,nautilus-3.16.2-1.fc22,orca-3.16.2-1.fc22,quadrapassel-3.16.1-1.fc22,rygel-0.26.1-1.fc22,seahorse-3.16.0-1.fc22,simple-scan-3.16.2-1.fc22,sushi-3.16.0-1.fc22,tali-3.16.1-1.fc22,vinagre-3.16.1-1.fc22,vte291-0.40.2-1.fc22,yelp-3.16.1-1.fc22,zenity-3.16.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/adwaita-icon-theme-3.16.2.1-1.fc22,aisleriot-3.16.2-1.fc22,bijiben-3.16.2-1.fc22,clutter-1.22.2-1.fc22,control-center-3.16.2-1.fc22,empathy-3.12.10-2.fc22,eog-3.16.2-1.fc22,epiphany-3.16.1-1.fc22,evince-3.16.0-2.fc22,evolution-3.16.2.1-1.fc22,evolution-data-server-3.16.2-2.fc22,evolution-ews-3.16.2-1.fc22,evolution-mapi-3.16.2-1.fc22,file-roller-3.16.2-1.fc22,four-in-a-row-3.16.2-1.fc22,gcr-3.16.0-1.fc22,gdk-pixbuf2-2.31.4-1.fc22,geocode-glib-3.16.2-1.fc22,glib2-2.44.1-1.fc22,gnome-boxes-3.16.2-1.fc22,gnome-calendar-3.16.2-1.fc22,gnome-characters-3.16.2-1.fc22,gnome-chess-3.16.2-1.fc22,gnome-desktop3-3.16.2-1.fc22,gnome-devel-docs-3.16.2-1.fc22,gnome-dictionary-3.16.2-1.fc22,gnome-disk-utility-3.16.1-1.fc22,gnome-documents-3.16.2-1.fc22,gnome-font-viewer-3.16.2-1.fc22,gnome-getting-started-docs-3.16.2-1.fc22,gnome-initial-setup-3.16.2-1.fc22,gnome-logs-3.16.2-1.fc22,gnome-mahjongg-3.16.1-1.fc22,gnome-maps-3.16.2-1.fc22,gnome-online-accounts-3.16.2-1.fc22,gnome-online-miners-3.14.3-1.fc22,gnome-photos-3.16.2-1.fc22,gnome-power-manager-3.16.1-2.fc22,gnome-screenshot-3.16.2-1.fc22,gnome-settings-daemon-3.16.2-1.fc22,gnome-software-3.16.2-1.fc22,gnome-terminal-3.16.2-1.fc22,gnome-themes-standard-3.16.2-1.fc22,gnome-tweak-tool-3.16.2-1.fc22,gtk-doc-1.22-1.fc22,gtk2-2.24.28-1.fc22,gtk3-3.16.3-1.fc22,gucharmap-3.16.2-1.fc22,gupnp-0.20.14-1.fc22,gupnp-tools-0.8.10-1.fc22,nautilus-3.16.2-1.fc22,orca-3.16.2-1.fc22,quadrapassel-3.16.1-1.fc22,rygel-0.26.1-1.fc22,seahorse-3.16.0-1.fc22,simple-scan-3.16.2-1.fc22,sushi-3.16.0-1.fc22,tali-3.16.1-1.fc22,vinagre-3.16.1-1.fc22,vte291-0.40.2-1.fc22,yelp-3.16.1-1.fc22,zenity-3.16.0-1.fc22
The gnome-software-3.16.2-1.fc22 build has enabled package installation without appdata using Packagekit API. I confirm gnome-software-3.16.2-1.fc22 has fixed the reported problem here I would like to request Gnome megaupdate be considered for FreezeException. Thanks.
Discussed at the 2015-05-14 blocker review meeting.[1] The fix for this bug is included in the 3.16.2 'megaupdate' that has already been granted FE status as a whole, so we do not currently need to vote on this one. [1] http://meetbot.fedoraproject.org/fedora-blocker-review/2015-05-14
Dropping the proposal for now, if we find for some reason we need to split this from the mega-update, we can re-propose.
Package adwaita-icon-theme-3.16.2.1-1.fc22, aisleriot-3.16.2-1.fc22, bijiben-3.16.2-1.fc22, clutter-1.22.2-1.fc22, control-center-3.16.2-1.fc22, empathy-3.12.10-2.fc22, eog-3.16.2-1.fc22, epiphany-3.16.1-1.fc22, evince-3.16.0-2.fc22, evolution-3.16.2.1-1.fc22, evolution-data-server-3.16.2-2.fc22, evolution-ews-3.16.2-1.fc22, evolution-mapi-3.16.2-1.fc22, file-roller-3.16.2-1.fc22, four-in-a-row-3.16.2-1.fc22, gcr-3.16.0-1.fc22, gdk-pixbuf2-2.31.4-1.fc22, geocode-glib-3.16.2-1.fc22, glib2-2.44.1-1.fc22, gnome-boxes-3.16.2-1.fc22, gnome-calendar-3.16.2-1.fc22, gnome-characters-3.16.2-1.fc22, gnome-chess-3.16.2-1.fc22, gnome-desktop3-3.16.2-1.fc22, gnome-devel-docs-3.16.2-1.fc22, gnome-dictionary-3.16.2-1.fc22, gnome-disk-utility-3.16.1-1.fc22, gnome-documents-3.16.2-1.fc22, gnome-font-viewer-3.16.2-1.fc22, gnome-getting-started-docs-3.16.2-1.fc22, gnome-initial-setup-3.16.2-1.fc22, gnome-logs-3.16.2-1.fc22, gnome-mahjongg-3.16.1-1.fc22, gnome-maps-3.16.2-1.fc22, gnome-online-accounts-3.16.2-1.fc22, gnome-online-miners-3.14.3-1.fc22, gnome-photos-3.16.2-1.fc22, gnome-power-manager-3.16.1-2.fc22, gnome-screenshot-3.16.2-1.fc22, gnome-settings-daemon-3.16.2-1.fc22, gnome-software-3.16.2-1.fc22, gnome-terminal-3.16.2-1.fc22, gnome-themes-standard-3.16.2-1.fc22, gnome-tweak-tool-3.16.2-1.fc22, gtk-doc-1.22-1.fc22, gtk2-2.24.28-1.fc22, gtk3-3.16.3-1.fc22, gucharmap-3.16.2-1.fc22, gupnp-0.20.14-1.fc22, gupnp-tools-0.8.10-1.fc22, nautilus-3.16.2-1.fc22, orca-3.16.2-1.fc22, quadrapassel-3.16.1-1.fc22, rygel-0.26.1-1.fc22, seahorse-3.16.0-1.fc22, simple-scan-3.16.2-1.fc22, sushi-3.16.0-1.fc22, tali-3.16.1-1.fc22, vinagre-3.16.1-1.fc22, vte291-0.40.2-1.fc22, yelp-3.16.1-1.fc22, zenity-3.16.0-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing adwaita-icon-theme-3.16.2.1-1.fc22 aisleriot-3.16.2-1.fc22 bijiben-3.16.2-1.fc22 clutter-1.22.2-1.fc22 control-center-3.16.2-1.fc22 empathy-3.12.10-2.fc22 eog-3.16.2-1.fc22 epiphany-3.16.1-1.fc22 evince-3.16.0-2.fc22 evolution-3.16.2.1-1.fc22 evolution-data-server-3.16.2-2.fc22 evolution-ews-3.16.2-1.fc22 evolution-mapi-3.16.2-1.fc22 file-roller-3.16.2-1.fc22 four-in-a-row-3.16.2-1.fc22 gcr-3.16.0-1.fc22 gdk-pixbuf2-2.31.4-1.fc22 geocode-glib-3.16.2-1.fc22 glib2-2.44.1-1.fc22 gnome-boxes-3.16.2-1.fc22 gnome-calendar-3.16.2-1.fc22 gnome-characters-3.16.2-1.fc22 gnome-chess-3.16.2-1.fc22 gnome-desktop3-3.16.2-1.fc22 gnome-devel-docs-3.16.2-1.fc22 gnome-dictionary-3.16.2-1.fc22 gnome-disk-utility-3.16.1-1.fc22 gnome-documents-3.16.2-1.fc22 gnome-font-viewer-3.16.2-1.fc22 gnome-getting-started-docs-3.16.2-1.fc22 gnome-initial-setup-3.16.2-1.fc22 gnome-logs-3.16.2-1.fc22 gnome-mahjongg-3.16.1-1.fc22 gnome-maps-3.16.2-1.fc22 gnome-online-accounts-3.16.2-1.fc22 gnome-online-miners-3.14.3-1.fc22 gnome-photos-3.16.2-1.fc22 gnome-power-manager-3.16.1-2.fc22 gnome-screenshot-3.16.2-1.fc22 gnome-settings-daemon-3.16.2-1.fc22 gnome-software-3.16.2-1.fc22 gnome-terminal-3.16.2-1.fc22 gnome-themes-standard-3.16.2-1.fc22 gnome-tweak-tool-3.16.2-1.fc22 gtk-doc-1.22-1.fc22 gtk2-2.24.28-1.fc22 gtk3-3.16.3-1.fc22 gucharmap-3.16.2-1.fc22 gupnp-0.20.14-1.fc22 gupnp-tools-0.8.10-1.fc22 nautilus-3.16.2-1.fc22 orca-3.16.2-1.fc22 quadrapassel-3.16.1-1.fc22 rygel-0.26.1-1.fc22 seahorse-3.16.0-1.fc22 simple-scan-3.16.2-1.fc22 sushi-3.16.0-1.fc22 tali-3.16.1-1.fc22 vinagre-3.16.1-1.fc22 vte291-0.40.2-1.fc22 yelp-3.16.1-1.fc22 zenity-3.16.0-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8219/adwaita-icon-theme-3.16.2.1-1.fc22,aisleriot-3.16.2-1.fc22,bijiben-3.16.2-1.fc22,clutter-1.22.2-1.fc22,control-center-3.16.2-1.fc22,empathy-3.12.10-2.fc22,eog-3.16.2-1.fc22,epiphany-3.16.1-1.fc22,evince-3.16.0-2.fc22,evolution-3.16.2.1-1.fc22,evolution-data-server-3.16.2-2.fc22,evolution-ews-3.16.2-1.fc22,evolution-mapi-3.16.2-1.fc22,file-roller-3.16.2-1.fc22,four-in-a-row-3.16.2-1.fc22,gcr-3.16.0-1.fc22,gdk-pixbuf2-2.31.4-1.fc22,geocode-glib-3.16.2-1.fc22,glib2-2.44.1-1.fc22,gnome-boxes-3.16.2-1.fc22,gnome-calendar-3.16.2-1.fc22,gnome-characters-3.16.2-1.fc22,gnome-chess-3.16.2-1.fc22,gnome-desktop3-3.16.2-1.fc22,gnome-devel-docs-3.16.2-1.fc22,gnome-dictionary-3.16.2-1.fc22,gnome-disk-utility-3.16.1-1.fc22,gnome-documents-3.16.2-1.fc22,gnome-font-viewer-3.16.2-1.fc22,gnome-getting-started-docs-3.16.2-1.fc22,gnome-initial-setup-3.16.2-1.fc22,gnome-logs-3.16.2-1.fc22,gnome-mahjongg-3.16.1-1.fc22,gnome-maps-3.16.2-1.fc22,gnome-online-accounts-3.16.2-1.fc22,gnome-online-miners-3.14.3-1.fc22,gnome-photos-3.16.2-1.fc22,gnome-power-manager-3.16.1-2.fc22,gnome-screenshot-3.16.2-1.fc22,gnome-settings-daemon-3.16.2-1.fc22,gnome-software-3.16.2-1.fc22,gnome-terminal-3.16.2-1.fc22,gnome-themes-standard-3.16.2-1.fc22,gnome-tweak-tool-3.16.2-1.fc22,gtk-doc-1.22-1.fc22,gtk2-2.24.28-1.fc22,gtk3-3.16.3-1.fc22,gucharmap-3.16.2-1.fc22,gupnp-0.20.14-1.fc22,gupnp-tools-0.8.10-1.fc22,nautilus-3.16.2-1.fc22,orca-3.16.2-1.fc22,quadrapassel-3.16.1-1.fc22,rygel-0.26.1-1.fc22,seahorse-3.16.0-1.fc22,simple-scan-3.16.2-1.fc22,sushi-3.16.0-1.fc22,tali-3.16.1-1.fc22,vinagre-3.16.1-1.fc22,vte291-0.40.2-1.fc22,yelp-3.16.1-1.fc22,zenity-3.16.0-1.fc22 then log in and leave karma (feedback).
adwaita-icon-theme-3.16.2.1-1.fc22, aisleriot-3.16.2-1.fc22, bijiben-3.16.2-1.fc22, clutter-1.22.2-1.fc22, control-center-3.16.2-1.fc22, empathy-3.12.10-2.fc22, eog-3.16.2-1.fc22, epiphany-3.16.1-1.fc22, evince-3.16.0-2.fc22, evolution-3.16.2.1-1.fc22, evolution-data-server-3.16.2-2.fc22, evolution-ews-3.16.2-1.fc22, evolution-mapi-3.16.2-1.fc22, file-roller-3.16.2-1.fc22, four-in-a-row-3.16.2-1.fc22, gcr-3.16.0-1.fc22, gdk-pixbuf2-2.31.4-1.fc22, geocode-glib-3.16.2-1.fc22, glib2-2.44.1-1.fc22, gnome-boxes-3.16.2-1.fc22, gnome-calendar-3.16.2-1.fc22, gnome-characters-3.16.2-1.fc22, gnome-chess-3.16.2-1.fc22, gnome-desktop3-3.16.2-1.fc22, gnome-devel-docs-3.16.2-1.fc22, gnome-dictionary-3.16.2-1.fc22, gnome-disk-utility-3.16.1-1.fc22, gnome-documents-3.16.2-1.fc22, gnome-font-viewer-3.16.2-1.fc22, gnome-getting-started-docs-3.16.2-1.fc22, gnome-initial-setup-3.16.2-1.fc22, gnome-logs-3.16.2-1.fc22, gnome-mahjongg-3.16.1-1.fc22, gnome-maps-3.16.2-1.fc22, gnome-online-accounts-3.16.2-1.fc22, gnome-online-miners-3.14.3-1.fc22, gnome-photos-3.16.2-1.fc22, gnome-power-manager-3.16.1-2.fc22, gnome-screenshot-3.16.2-1.fc22, gnome-settings-daemon-3.16.2-1.fc22, gnome-software-3.16.2-1.fc22, gnome-terminal-3.16.2-1.fc22, gnome-themes-standard-3.16.2-1.fc22, gnome-tweak-tool-3.16.2-1.fc22, gtk-doc-1.22-1.fc22, gtk2-2.24.28-1.fc22, gtk3-3.16.3-1.fc22, gucharmap-3.16.2-1.fc22, gupnp-0.20.14-1.fc22, gupnp-tools-0.8.10-1.fc22, nautilus-3.16.2-1.fc22, orca-3.16.2-1.fc22, quadrapassel-3.16.1-1.fc22, rygel-0.26.1-1.fc22, seahorse-3.16.0-1.fc22, simple-scan-3.16.2-1.fc22, sushi-3.16.0-1.fc22, tali-3.16.1-1.fc22, vinagre-3.16.1-1.fc22, vte291-0.40.2-1.fc22, yelp-3.16.1-1.fc22, zenity-3.16.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.