Re: Bug#695260: After upgrade from Lenny to Squeeze is no possible to configure lmodern.
Control: reassign -1 lmodern
Control: retitle -1 lmodern: maintainter script fails due to missing defoma hints file
On Wed, 2012-12-12 at 07:32:24 +0900, Norbert Preining wrote:
> reassign 695260 dpkg
> tags 695260 - moreinfo unreproducible
> retitle 695260 dpkg-maintscript-helper breaks when rm_conffile file is missing
> in our lmodern package we use dpkg-maintscript helper to remove the
> old lmodern.hints file (transition away from defoma). The code is
> generated by having debian/lmodern.maintscript containing:
> rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3
> rm_conffile /etc/texmf/updmap.d/10lmodern.cfg 2.004.1-3.1
> which generated in the postinst script:
> dpkg-maintscript-helper rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3 -- "$@"
> dpkg-maintscript-helper rm_conffile /etc/texmf/updmap.d/10lmodern.cfg 2.004.1-3.1 -- "$@"
> Now it seems that if out of whatever reason - in this current case it is
> hard to say why, but the admin might have removed the file which is an
> allowed procedure - the file is missing, the call to dpkg-maintscript-helper
> fails. I quote from the bug report we got:
dpkg-maintscript-helper should handle missing files gracefuly, also it
does not print that kind of error on a missing file either. But in any
case I don't see what would lead to that conclusion.
> > Configurazione di lmodern (2.004.1-3)...
> > /etc/defoma/hints/lmodern.hints: Unable to open, or empty.
> > dpkg: errore nell'elaborare lmodern (--configure):
> > il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
The failing version here is 2.004.1-3 which is just the one preceding
the switch away from defoma (in 2.004.1-3.1) and as such of the new
usage of dpkg-maintscript-helper, so that's another hint that this
cannot be it. My guess would be that another program called from the
maintscript (defome itself most probably) is failing, so a problem
that should probably be handled by a new fixed lmodern on upgrade.