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 wonder if it’s wise to advise our users to run such commands as root given it’s not necessary, but that’s another issue. Regards David
Index: en/upgrading.dbk =================================================================== --- en/upgrading.dbk (révision 9649) +++ en/upgrading.dbk (copie de travail) @@ -361,7 +361,7 @@ <command>apt-get</command>, you should use </para> <screen> -# dpkg --get-selections | grep hold +# dpkg --get-selections | grep 'hold$' </screen> <para> If you changed and recompiled a package locally, and didn't rename it or put an
Attachment:
signature.asc
Description: Digital signature