Bug#670494: fixing this

2012-05-10 Thread Norbert Preining
On Fr, 11 Mai 2012, Andreas Beckmann wrote: > 'le-nl' is '<=' with a special case for the empty version "" to be later > than anything (for 'le'/'<=' it's earlier than anything, even '~', see > dpkg(1)) Ugg, true. Learned something new. Was glimpsing at the dpkg manual and saw only:

Bug#670494: fixing this

2012-05-10 Thread Andreas Beckmann
On 2012-05-11 03:49, Norbert Preining wrote: >> use 'le-nl' unless you want to run this on initial install ($2=""), too > > le-nl isn't that << ? 'le-nl' is '<=' with a special case for the empty version "" to be later than anything (for 'le'/'<=' it's earlier than anything, even '~', see dpkg(1)

Bug#670494: fixing this

2012-05-10 Thread Norbert Preining
On Fr, 11 Mai 2012, Andreas Beckmann wrote: > Package: ptex-bin; > Maintainer for ptex-bin is Masayuki Hatta (mhatta) ; > Source for ptex-bin is src:texlive-lang. Maybe a mixture of stable and unstable ... no idea. > BTS bug? Still considers the old maintainer as current? Yes, seems to be. I wa

Bug#670494: fixing this

2012-05-10 Thread Andreas Beckmann
On Friday, 11. May 2012 01:21:10 Norbert Preining wrote: > btw, why on earth did this bug not reach the debian-tex-maint ML > as the current maintainer of ptex-bin? It was reported against > Package: ptex-bin > Version: 2011.20120424-1 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=6

Bug#670494: fixing this

2012-05-10 Thread Norbert Preining
Hi Andreas, On Fr, 11 Mai 2012, Andreas Beckmann wrote: > preinst is probably too early to remove the diversions (the old package is > still installed so both orig_file (the version from ptex-bin) and > diverted_file (from whatever package) could exist in the file system. > But postinst should b

Bug#670494: fixing this

2012-05-10 Thread Andreas Beckmann
Hi Norbert, [don't forget to Cc: the -submitter] On Friday, 11. May 2012 01:21:10 Norbert Preining wrote: > I have made the following additions to the preinst of ptex-bin: preinst is probably too early to remove the diversions (the old package is still installed so both orig_file (the version f

Bug#670494: fixing this

2012-05-10 Thread Norbert Preining
Kohda-san, thanks for your quick answer. On Fr, 11 Mai 2012, Atsuhito Kohda wrote: > > rm -f /etc/texmf/texmf.d/30ptex* > > rm -f /etc/texmf/fmt.d/30ptex* > > rm -f /etc/texmf/texmf.d/20ptex* > > rm -f /etc/texmf/fmt.d/20ptex* > > Please don't remove 20ptex* because 20ptexjtex.cn

Bug#670494: fixing this

2012-05-10 Thread Atsuhito Kohda
Hi Norbert and all, On Fri, 11 May 2012 08:21:10 +0900, Norbert Preining wrote: > I have made the following additions to the preinst of ptex-bin: > case "$1" in > install|upgrade) > if dpkg --compare-versions "$2" le "2011.20120509-1" ; then > rm -f /etc/texmf/texmf.d/30ptex* > rm -f /e

Bug#670494: fixing this

2012-05-10 Thread Norbert Preining
Hi Andreas, hi all, btw, why on earth did this bug not reach the debian-tex-maint ML as the current maintainer of ptex-bin? It was reported against Package: ptex-bin Version: 2011.20120424-1 Anyway. Yes it is true, we have to remove the diversion and other stuff by the old ptex-bi