Bug#679042: Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Norbert Preining
On Mo, 25 Jun 2012, Anders Kaseorg wrote: > (This is because [ -n ] is interpreted as the [ STRING ] form of test, not > the [ -n STRING ] form of test.) Ugg, indeed. Anyway, I am uploading this minute a changed version not using neither -n/-z, but le-nl ;-) texlive-base (2012.20120611-3) unsta

Bug#679042: Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Anders Kaseorg
On Tue, 26 Jun 2012, Norbert Preining wrote: > On Mo, 25 Jun 2012, Anders Kaseorg wrote: > > I still think the logic here is not what was intended. Because of the > > underquoting, [ -n $old_version ] _always_ returns true, so that the > > No, it returns true only if an old version is set, that

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Norbert Preining
clone 674022 -1 retitle -1 empty dirs are not removed on upgrade due to logic error severity -1 important thanks On Mo, 25 Jun 2012, Anders Kaseorg wrote: > I still think the logic here is not what was intended. Because of the > underquoting, [ -n $old_version ] _always_ returns true, so that th

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Anders Kaseorg
close 674022 texlive-base/2012.20120529-1 thanks I thought I had produced the bug, but I was wrong about which version of texlive-base I had produced it with. Apologies for the confusion. I still think the logic here is not what was intended. Because of the underquoting, [ -n $old_version ] _

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Norbert Preining
On Mo, 25 Jun 2012, Anders Kaseorg wrote: > The end of the postinst still contains both an underquoting bug and a > logic mistake, causing the same error message from the original bug > description. Why? First of all if [ -n ] ; then echo true else

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-06-25 Thread Anders Kaseorg
found 674022 texlive-base/2012.20120529-1 thanks The end of the postinst still contains both an underquoting bug and a logic mistake, causing the same error message from the original bug description. --- postinst2012-06-25 04:05:26.193684796 -0400 +++ postinst2012-06-25 04:06:05.0906450

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-05-22 Thread Norbert Preining
On Di, 22 Mai 2012, Daniele Tricoli wrote: > On Tuesday 22 May 2012 19:50:58 Hilmar Preuße wrote: > > hille@sid:~ $ echo $old_version > > > > hille@sid:~ $ dpkg --compare-versions $old_version le 2011.20120322-1 > > dpkg: error: --compare-versions takes three arguments: > > > > I always used

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-05-22 Thread Daniele Tricoli
On Tuesday 22 May 2012 19:50:58 Hilmar Preuße wrote: > hille@sid:~ $ echo $old_version > > hille@sid:~ $ dpkg --compare-versions $old_version le 2011.20120322-1 > dpkg: error: --compare-versions takes three arguments: > I always used dpkg --compare-versions with strings: $ dpkg --compare-versi

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-05-22 Thread Hilmar Preuße
On 22.05.12 Andreas Henriksson (andr...@fatal.se) wrote: Hi Andreas, > Package: texlive-base > Version: 2012.20120516-1 > Severity: important > > Dear Maintainer, > >* What led up to the situation? > > I was using (up to date) cowbuilder to build the iproute package, when I > noticed the e

Bug#674022: dpkg: error: --compare-versions takes three arguments:

2012-05-22 Thread Andreas Henriksson
Package: texlive-base Version: 2012.20120516-1 Severity: important Dear Maintainer, * What led up to the situation? I was using (up to date) cowbuilder to build the iproute package, when I noticed the error message which I thought might be a good idea to report. * What exactly did you do