Bug#488463: apt-cache: regex compilation error
On Sun, Jun 29, 2008 at 02:01:31PM +0100, Adam D. Barratt wrote:
> Hi,
>
> On Sun, 2008-06-29 at 00:31 -0400, Joe Nahmias wrote:
> > I got the following error when trying to search for all the debug
> > packages:
> >
> > $ apt-cache search \*-dbg
> > E: Regex compilation error
>
> I suspect you want
>
> apt-cache search --names-only .*-dbg
>
> (Your query can be made to work by using \\*-dbg or "\*-dbg", but it
> won't give you any results, as there are no packages with names ending
> "*-dbg")
Yeah, what I ended up doing is:
apt-cache search -- -dbg
Silly me. Feel free to close this.
Reply to: