FYI: More information from the PackageKit developer about the
GetDepends() and GetRequires() calls...
---------- Forwarded message ----------
From: Richard Hughes
1) I noticed that libzypp doesn't just return package dependencies, but also single libraries and files. Some of these libraries can be provided by multiple packages. Do any other PackageKit backends have to deal with that? ...and if so, what's the recommended thing to do? Just return pacakges?
Yes, just packages. The other stuff isn't important to PackageKit.
2) How does dependency resolution work in the GUI? For testing purposes, I wrote a fake Get Requires which returned three fake packages. I expected pk-application to prompt me about the other packages when I installed "lynx", but it didn't.
Sure, it just installed lynx and whatever else it needed. I don't see the need to ask the user to install openoffice-fonts, openoffice-clipart, openoffice-thesarus etc just because they want openoffice installed.
3) When GetDepends and GetRequires are called, they should return all packages regardless of their installed state, right?
Yes. Cheers, Richard. _______________________________________________ PackageKit mailing list PackageKit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/packagekit -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org