<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>Daniel,<BR><BR>I just installed aptcc in Kubuntu Karmic and changed PackageKit.conf to<BR>#default=aptcc<BR>DefaultBackend=aptcc<BR><BR>Is that what it should look like?<BR><BR><BR>Thanks,<BR>Jean<BR><BR><BR><BR><BR>> Date: Wed, 28 Oct 2009 06:49:24 -0700<BR>> From: dantti85-pk@yahoo.com.br<BR>> To: packagekit@lists.freedesktop.org<BR>> Subject: Re: [packagekit] Implementation of searchFiles in APT backend<BR>> <BR>> > >> Not all the backends support '&' as it's newly introduced and optional<BR>> > >> in 0.5.x, so caveat emptor.<BR>> > > <BR>> > > The apt backend can now make use of apt-file if it is installed.<BR>> > > Unfortunately the apt-file regex support seems to not allow<BR>> > > alternation, e.g apt-file -x find "/usr/bin/xterm|/usr/bin/abiword"<BR>> > > doesn't work<BR>> > > <BR>> > > So searching for several files in one call isn't possible.<BR>> > Wow, thank you! At time I'm reading the backend code to understand how it<BR>> > works. (Because if I change something by myself I would damage more than I<BR>> > make good ;-P)<BR>> > Would it make sense to forward this apt-file behaviour to the apt-file<BR>> > developers?<BR>> No, it's not a bug nor a doesn't work, it's just not a perl regex experession.<BR>> apt-file -x search "(xterm|abiword)"<BR>> works perfectly, the problem here is that '/' are interpreted the wrong way<BR>> and i don't remember the right way to scape those, so<BR>> in aptcc i'll implement that using multiple calls to apt-file but it'll only use<BR>> apt-file if installed and if the INSTALLED filter is not set, since it's search<BR>> is too slow.<BR>> <BR>> Daniel.<BR>> <BR>> <BR>> <BR>> ____________________________________________________________________________________<BR>> Veja quais são os assuntos do momento no Yahoo! +Buscados<BR>> http://br.maisbuscados.yahoo.com<BR>> _______________________________________________<BR>> PackageKit mailing list<BR>> PackageKit@lists.freedesktop.org<BR>> http://lists.freedesktop.org/mailman/listinfo/packagekit<BR>                                            <br /><hr />Click here <a href='http://clk.atdmt.com/NMN/go/163036679/direct/01/' target='_new'>View photos of singles in your area. </a></body>
</html>