[packagekit] Keep trace of dilectly installed packages
Mounir Lamouri
mounir.lamouri at gmail.com
Fri Jun 5 02:35:49 PDT 2009
On Fri, Jun 5, 2009 at 11:16 AM, Richard Hughes<hughsient at gmail.com> wrote:
> On Fri, Jun 5, 2009 at 9:40 AM, Mounir Lamouri<mounir.lamouri at gmail.com> wrote:
>> I think this feature is not difficult to add to PackageKit. When
>> clicking to install a package, this package should be keeped to be
>> added as the installed packages and others as dependencies. We only
>> need to make a good specification.
>
> I think this spec is already used in PackageKit, let me explain why:
>
> user: Install abiword
> application: GetDepends(abiword, ~installed)
> PK: abiword-libs, expat
> application: "To install abiword, you have to install abiword-libs and
> expat too"
> user: clicks okay
> application: InstallPackages(abiword)
> PK: installs abiword, and automatically downloads and installs
> abiword-libs and expat
>
> So only the key application (what the user wants) is passed to
> InstallPackages. This is the one you would add to the world list. The
> other deps would just be downloaded, built and installed, without
> being added to the world list. The other deps don't get passed to
> InstallPackages.
>
> Does this make sense?
I'm surprised. I know I had to test gnome-packagekit before sending
this request but I was quite sure packagekit will install every dep
and then install the desired package.
So, get-depends is essentialy to _see_ depends before installing them...
That's great.
And now, before bothering anyone I'm going to install gnome-packagekit.
Thanks for the clarifications.
Mounir
More information about the PackageKit
mailing list