Bug#189518: dpkg --compare-versions and epochs
On Fri, Apr 18, 2003 at 05:02:18PM +0200, Josip Rodin wrote:
> On Fri, Apr 18, 2003 at 10:32:49AM -0400, Paul Kimoto wrote:
>> # dpkg --compare-versions 1%3a0.0.1-1 gt 2002.10.12-2 ; echo $?
>> 1
> %3a is the HTML encoding for the colon character :)
>
> % dpkg --compare-versions 1:0.0.1-1 gt 2002.10.12-2 ; echo $?
> 0
>
> I suspect your problem is something else, with APT, because APT is the only
> thing that does this perverted encoding and occasionally displays it to the
> users.
Aha, I see. APT displays it to me in the filesystem:
$ cd /var/cache/apt/archives; ls hostap-source_*
hostap-source_1%3a0.0.1-1_all.deb hostap-source_2002.10.12-2_all.deb
Reply to: