[packagekit] Implementation of searchFiles in APT backend

Jean Hubbard jean_p57 at hotmail.com
Mon Oct 26 18:22:03 PDT 2009


Id be curious to hear what Michael Vogt has to say about APTcc and the work being done to PK about debconf which Daniel has spoken of.  Is that heading on the right track to make Ubuntu consider it as the default backend to USC? And what other questions or concerns he may have about it.











> Date: Sun, 25 Oct 2009 13:56:27 +0100
> From: matthias at nlinux.org
> To: packagekit at lists.freedesktop.org
> Subject: Re: [packagekit] Implementation of searchFiles in APT backend
> 
> On Sun, 25 Oct 2009 09:25:15 +0100, Sebastian Heinlein <sebi at glatzor.de>
> wrote:
> > On Fri, Oct 23, 2009 at 11:53:40PM +0200, Matthias Klumpp wrote:
> >> On Fri, 23 Oct 2009 16:22:26 +1300, Jean Hubbard  wrote:
> >> Wow! Last hour I tried the APTcc backend instead of the APT backend on
> my
> >> Ubuntu machine: Never thought that it could be so much faster!
> >> I haven't measured anything, but APTcc is so much faster than APT that I
> >> could remove nearly all threads I use and I would not see any
> difference!
> >> A standard installation of Songbird takes 10 minutes with Listaller
> using
> >> PackageKit with APT backend. If I switch to APTcc backend, it only needs
> >> 5
> >> minutes (which is far too much, I improve this at time).
> >> I will give APTcc a closer look...
> > 
> > May I ask which kind of transaction do you call? I am not familiar
> > with your project. Do you call a lot of SearchFiles and later a
> > InstallPackages?
> 
> I call a lot of SearchFiles (over 116 times in the sample test package),
> then often a Resolve (10 times in sample package) to check if packages are
> already installed, and the a InstallPackages (currently one for every
> package, but I will change this)
> The problem is that the app has to check which packages contain the
> libraries the to-be-installed application needs. So we have a lot of
> searchFiles calls, but the setup package can be installed on many recent
> distributions.
> It may be important that (on this early stage) I call searchFiles one after
> one. If i supmit the request parallel I'm sure this will be a lot faster.
>  Matthias
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20091027/34f52e9c/attachment-0003.htm>


More information about the PackageKit mailing list