Bug#624726: marked as done (latex-cjk-japanese-wadalab.preinst: misuses dpkg --compare-versions)
Your message dated Mon, 14 May 2012 17:51:50 -0500
with message-id <20120514225150.GA9635@burratino>
and subject line Re: latex-cjk-japanese-wadalab.preinst: misuses dpkg --compare-versions
has caused the Debian Bug report #624726,
regarding latex-cjk-japanese-wadalab.preinst: misuses dpkg --compare-versions
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
624726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624726
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: latex-cjk-japanese-wadalab.preinst: misuses dpkg --compare-versions
- From: Jonathan Nieder <jrnieder@gmail.com>
- Date: Sat, 30 Apr 2011 18:49:06 -0500
- Message-id: <20110430234906.GA26918@elie>
Package: latex-cjk-japanese-wadalab
Version: 0.20050817-15
Severity: minor
Justification: cosmetic
When installing latex-cjk-japanese-wadalab:
| (Reading database ... 152050 files and directories currently installed.)
| Preparing to replace latex-cjk-japanese-wadalab 0.20050817-15 (using .../latex-cjk-japanese-wadalab_0.20050817-15_all.deb) ...
| dpkg: error: version 'latex-cjk-japanese-wadalab_0.20050817-14' has bad syntax: version number does not start with digit
| Unpacking replacement latex-cjk-japanese-wadalab ...
| Setting up latex-cjk-japanese-wadalab (0.20050817-15) ...
| Running mktexlsr. This may take some time... done.
| Processing triggers for fontconfig ...
| Processing triggers for tex-common ...
| Running updmap-sys. This may take some time... done.
| Running mktexlsr /var/lib/texmf ... done.
I suspect future dpkg versions will change the conditions when that error
is emitted, but anyway, in this example it is pointing to a real bug:
"dpkg --compare-versions" wants a version number, which in this case would
be 0.20050817-14 rather than that longer string.
Perhaps this would be worth a lintian check? Cc-ing the lintian
maintainers just in case.
The fix might be as simple as changing
if dpkg --compare-versions "$2" le "latex-cjk-japanese-wadalab_0.20050817-14"; then
to
if dpkg --compare-versions "$2" le "0.20050817-14"; then
or removing the conffile removal code in preinst altogether (who is
upgrading from such old versions?).
Thanks for keeping Debian working well in Japanese.
Regards,
Jonathan
--- End Message ---
--- Begin Message ---
- To: Danai SAE-HAN (韓達耐) <danai.saehan@gmail.com>
- Cc: 624726-done@bugs.debian.org
- Subject: Re: latex-cjk-japanese-wadalab.preinst: misuses dpkg --compare-versions
- From: Jonathan Nieder <jrnieder@gmail.com>
- Date: Mon, 14 May 2012 17:51:50 -0500
- Message-id: <20120514225150.GA9635@burratino>
- In-reply-to: <BANLkTing29fZ9r_Hy8yM-JAVkG-r5QjJRg@mail.gmail.com>
- References: <20110430234906.GA26918@elie> <BANLkTing29fZ9r_Hy8yM-JAVkG-r5QjJRg@mail.gmail.com>
Version: 0.20050817-16
Danai SAE-HAN (韓達耐) wrote:
> Thank you for your bug report! It has been a while since I last
> checked this package with the current Debian release.
> I will have a look at it this week.
Thank you. I think this was fixed by r5264 (use maintscript to
remove both old updmap.d files, 2012-03-22).
--- End Message ---
Reply to: