[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618776: searching for hold will match packages with that name



On Sat, Mar 30, 2013 at 15:08:47 -0400, David Prévot wrote:

> On Mon, Mar 21, 2011 at 08:16:08PM +0200, Andrei Popescu wrote:
> > On Ma, 22 mar 11, 00:37:35, Osamu Aoki wrote:
> > > On Fri, Mar 18, 2011 at 12:23:42PM +0000, Owen Dunn wrote:
> > > > Package: release-notes
> > > > 
> > > > Chapter 4 of the squeeze release notes asks one to search for holds
> > > > by typing:
> > > > 
> > > > dpkg --get-selections | grep hold
> > > > 
> > > > This will erroneously match any packages whose names contain the
> > > > string `hold'
> > > 
> > > dpkg --get-selections | grep 'hold$'
> > > 
> > > I guess this should fix it although it complicates things.
> > > 
> > > It is a question of addressing very corner case or keep it simple.
> > 
> > $ apt-cache search -n hold
> > holdingnuts-server - poker server
> > holdingnuts - poker client
> > 
> > (I have lenny, squeeze, wheezy and sid in sources.list)
> > 
> > but those two packages are not present in lenny. Maybe postpone this 
> > issue for wheezey?
> 
> That would mean now then. Please find attached a straightforward patch
> for this issue. Thanks in advance for your reviews, rewrites, remarks or
> simple acknowledgments.
> 
I wouldn't bother, tbh.  It still complicates things, and still has
dubious practical benefit.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: