[packagekit] Implementation of searchFiles in APT backend

Jean Hubbard jean_p57 at hotmail.com
Wed Oct 28 08:27:52 PDT 2009



Daniel,

I just installed aptcc in Kubuntu Karmic and changed PackageKit.conf to
#default=aptcc
DefaultBackend=aptcc

Is that what it should look like?


Thanks,
Jean




> 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.
> 
> Daniel.
> 
> 
> 
>       ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
 		 	   		  
_________________________________________________________________
View photos of singles in your area. Click here 
http://clk.atdmt.com/NMN/go/163036679/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20091029/7afc5456/attachment-0004.htm>


More information about the PackageKit mailing list