[packagekit] Implementation of searchFiles in APT backend
jean_p57 at hotmail.com
Wed Oct 28 08:27:52 PDT 2009
I just installed aptcc in Kubuntu Karmic and changed PackageKit.conf to
Is that what it should look like?
> Date: Wed, 28 Oct 2009 06:49:24 -0700
> From: dantti85-pk at yahoo.com.br
> To: packagekit at lists.freedesktop.org
> Subject: Re: [packagekit] Implementation of searchFiles in APT backend
> > >> Not all the backends support '&' as it's newly introduced and optional
> > >> in 0.5.x, so caveat emptor.
> > >
> > > The apt backend can now make use of apt-file if it is installed.
> > > Unfortunately the apt-file regex support seems to not allow
> > > alternation, e.g apt-file -x find "/usr/bin/xterm|/usr/bin/abiword"
> > > doesn't work
> > >
> > > So searching for several files in one call isn't possible.
> > Wow, thank you! At time I'm reading the backend code to understand how it
> > works. (Because if I change something by myself I would damage more than I
> > make good ;-P)
> > Would it make sense to forward this apt-file behaviour to the apt-file
> > developers?
> No, it's not a bug nor a doesn't work, it's just not a perl regex experession.
> apt-file -x search "(xterm|abiword)"
> works perfectly, the problem here is that '/' are interpreted the wrong way
> and i don't remember the right way to scape those, so
> in aptcc i'll implement that using multiple calls to apt-file but it'll only use
> apt-file if installed and if the INSTALLED filter is not set, since it's search
> is too slow.
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
View photos of singles in your area. Click here
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PackageKit