[Bug 747193] New: PackageKit cannot resolve non-installed packages
https://bugzilla.novell.com/show_bug.cgi?id=747193 https://bugzilla.novell.com/show_bug.cgi?id=747193#c0 Summary: PackageKit cannot resolve non-installed packages Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: vuntz@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- We're working on integrating the software center in openSUSE. And it seems there are some issues with PackageKit. The first one is that apparently, PackageKit cannot resolve package names for packages that are not installed. I'm attaching a test python script to show this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c1
--- Comment #1 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c2
--- Comment #2 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c3
--- Comment #3 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c4
--- Comment #4 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c5
--- Comment #5 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c6
--- Comment #6 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c7
--- Comment #7 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c8
--- Comment #8 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c9
--- Comment #9 from Vincent Untz
Created an attachment (id=476437) --> (http://bugzilla.novell.com/attachment.cgi?id=476437) [details] Build pool on resolve
This fixes the issue for me.
We might need a similar fix in backend_get_update_detail_thread(). I see the pool isn't built there, and if it turns out to be the fist function called, it will fail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c10
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c11
--- Comment #11 from Vincent Untz
Created an attachment (id=476312) --> (http://bugzilla.novell.com/attachment.cgi?id=476312) [details] Small fix, not completely related
While working on this, I noticed that we raise a "package not found" error on resolve. Looking at the zif backend (which is likely a good reference, since Richard is working on it ;-)), it's not done there. And I don't think it's needed.
For reference, we really want something like this, otherwise resolve just fails when trying to resolve 10 names when 1 of them doesn't exist. And I think failing is wrong in that case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c12
--- Comment #12 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c13
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c14
--- Comment #14 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=747193
https://bugzilla.novell.com/show_bug.cgi?id=747193#c15
Duncan Mac-Vicar
participants (1)
-
bugzilla_noreply@novell.com