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

Re: dpkg --compare-versions



On Wed, Jun 02, 1999 at 03:37:52AM -0500, Michael Merten wrote:
>    dpkg --compare-versions sharutils_1:4.2.10_i386.deb lt \
> 	sharutils_4.2.9.deb

Wrong syntax.

dpkg --compare-versions 1:4.2.10 lt 4.2.9

is correct.  --compare-versions compares versions, not file names.

-- 
%%% Antti-Juhani Kaijanaho % gaia@iki.fi % http://www.iki.fi/gaia/ %%%

   "... memory leaks are quite acceptable in many applications ..."
    (Bjarne Stroustrup, The Design and Evolution of C++, page 220)


Reply to: