[packagekit] Questions about Get Depends and Get Requires

Richard Hughes hughsient at gmail.com
Tue Dec 11 00:00:27 PST 2007


On Thu, 2007-12-06 at 08:02 -0700, Boyd Timothy wrote:
> 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.




More information about the PackageKit mailing list