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

Bug#618776: marked as done (searching for hold will match packages with that name)



Your message dated Sat, 6 Apr 2013 03:40:28 +0200
with message-id <20130406014028.GC27642@beskar.mdcc.cx>
and subject line Re: Bug#618776: searching for hold will match packages with that name
has caused the Debian Bug report #618776,
regarding searching for hold will match packages with that name
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
618776: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618776
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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'

(S)



--- End Message ---
--- Begin Message ---
Hi,

On Fri, Apr 05, 2013 at 01:58:20PM +0200, Julien Cristau wrote:
> 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.

I took the liberty to apply the patch ( "dpkg --get-selections | grep 'hold$'"
).  I feel grepping for 'hold$' yiels what one is looking for, grepping for
hold does not.

Closing this bug.  Feel free to undo the patch and/or reopen this bug.

Bye,

Joost

--- End Message ---

Reply to: