Bug#334658: lm.map not found while configuring tetex-bin 3

2005-10-19 Thread Florent Rougon
reassign 334658 lmodern
retitle 334658 lm.map not found while configuring tetex-bin 3
thanks

Hi,

Ralf Stubner <[EMAIL PROTECTED]> wrote:

> I think the problem is that lmodern creates "10lmodern.cfg" in preinst.

I agree; thanks for the analysis.

The problem should disappear in about 5 hours when lmodern 0.92-9 is
dinstalled (0.92-9 uses the new updmap scheme and therefore doesn't need
the preinst trick to install 10lmodern.cfg).

Everything gets in order as soon as that version is configured (since
this causes lm.map to be installed).

[ 0.92-7 cannot be configured because tetex-bin cannot itself be
  configured since the 10lmodern.cfg installed in preinst declares
  lm.map, which is absent as long as lmodern isn't configured... ]

For people who have the problem, I suggest:

# cd /tmp
# wget http://incoming.debian.org/lmodern_0.92-9_all.deb
# dpkg -i lmodern_0.92-9_all.deb
# rm -f /etc/texmf/dvips/lm.map.dpkg-new
# dpkg --configure -a

This should fix everything I am aware of, except maybe the possible mess
caused if you followed the 'updmap-sys --syncwithtrees' advice. I still
have to check exactly what this does.

> However, the behviour of 'updmap-sys --syncwithtrees' is not correct.
> Should I make a separate bug for this?

Yes, I think it is an annoyance for us.

Thanks,

-- 
Florent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334658: lm.map not found while configuring tetex-bin 3

2005-10-19 Thread Florent Rougon
Florent Rougon <[EMAIL PROTECTED]> wrote:

> This should fix everything I am aware of, except maybe the possible mess
> caused if you followed the 'updmap-sys --syncwithtrees' advice. I still
> have to check exactly what this does.

OK. I have checked now, and the only problem it seems to cause is the
creation of /usr/share/texmf/web2c/updmap.cfg, which unfortunately
shadows /var/lib/texmf/web2c/updmap.cfg when updmap-sys is run, as
pointed out by Ralf (thanks!).

It seems to me it would be a good idea to call
'rm -f /usr/share/texmf/web2c/updmap.cfg' maybe in tetex-bin's postinst,
somewhere before the updmap-sys run. Otherwise, I fear updmap-sys will
keep updating /usr/share/texmf/web2c/updmap.cfg instead of
/var/lib/texmf/web2c/updmap.cfg.

What do you think?

-- 
Florent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334658: lm.map not found while configuring tetex-bin 3

2005-10-19 Thread Florent Rougon
reassign 334658 lmodern
retitle 334658 lm.map not found while configuring tetex-bin 3
thanks

[ Re-sending this message, since it didn't make it to the debian
  servers, apparently. This time, I am using a different MTA and dropped
  the "é" from Jean-Charles's name in the headers. Grmmpf.
  Jean-Charles, did you receive the previous one, at least? ]

Hi,

Ralf Stubner <[EMAIL PROTECTED]> wrote:

> I think the problem is that lmodern creates "10lmodern.cfg" in preinst.

I agree; thanks for the analysis.

The problem should disappear in about 5 hours when lmodern 0.92-9 is
dinstalled (0.92-9 uses the new updmap scheme and therefore doesn't need
the preinst trick to install 10lmodern.cfg).

Everything gets in order as soon as that version is configured (since
this causes lm.map to be installed).

[ 0.92-7 cannot be configured because tetex-bin cannot itself be
  configured since the 10lmodern.cfg installed in preinst declares
  lm.map, which is absent as long as lmodern isn't configured... ]

For people who have the problem, I suggest:

# cd /tmp
# wget http://incoming.debian.org/lmodern_0.92-9_all.deb
# dpkg -i lmodern_0.92-9_all.deb
# rm -f /etc/texmf/dvips/lm.map.dpkg-new
# dpkg --configure -a

This should fix everything I am aware of, except maybe the possible mess
caused if you followed the 'updmap-sys --syncwithtrees' advice. I still
have to check exactly what this does.

> However, the behviour of 'updmap-sys --syncwithtrees' is not correct.
> Should I make a separate bug for this?

Yes, I think it is an annoyance for us.

Thanks,

-- 
Florent




Bug#334658: lm.map not found while configuring tetex-bin 3

2005-10-19 Thread Florent Rougon
[ Re-sending this message, since it didn't make it to the debian
  servers, apparently. This time, I am using a different MTA and dropped
  the "é" from Jean-Charles's name in the headers. Grmmpf.
  Jean-Charles, did you receive the previous one, at least? ]

Florent Rougon <[EMAIL PROTECTED]> wrote:

> This should fix everything I am aware of, except maybe the possible mess
> caused if you followed the 'updmap-sys --syncwithtrees' advice. I still
> have to check exactly what this does.

OK. I have checked now, and the only problem it seems to cause is the
creation of /usr/share/texmf/web2c/updmap.cfg, which unfortunately
shadows /var/lib/texmf/web2c/updmap.cfg when updmap-sys is run, as
pointed out by Ralf (thanks!).

It seems to me it would be a good idea to call
'rm -f /usr/share/texmf/web2c/updmap.cfg' maybe in tetex-bin's postinst,
somewhere before the updmap-sys run. Otherwise, I fear updmap-sys will
keep updating /usr/share/texmf/web2c/updmap.cfg instead of
/var/lib/texmf/web2c/updmap.cfg.

What do you think?

-- 
Florent




Bug#334658: lm.map not found while configuring tetex-bin 3

2005-10-20 Thread Florent Rougon
Hi,

In case that wasn't clear, people who encountered this problem should:

  1. # rm -f /usr/share/texmf/web2c/updmap.cfg
 if they followed the bad advice of running
 'updmap-sys --syncwithtrees' (anyway, that file shouldn't exist
 with Debian teTeX 3).

  2. Upgrade their lmodern package to the version in sid (0.92-9) and
 configure whatever isn't configured yet, starting with lmodern.
 (if your package manager doesn't configure lmodern first, no
 problem; as soon as it does that, the rest will follow; just repeat
 the configuration process if necessary)

-- 
Florent



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334747: updmap-sys --syncwithtrees (was: Bug#334658: lm.map not found while configuring tetex-bin 3)

2005-10-19 Thread Ralf Stubner
[moving this to #334747 where I think it belongs.

On Wed, Oct 19, 2005 at 17:12 +0200, Florent Rougon wrote:
> Florent Rougon <[EMAIL PROTECTED]> wrote:
> 
> > This should fix everything I am aware of, except maybe the possible mess
> > caused if you followed the 'updmap-sys --syncwithtrees' advice. I still
> > have to check exactly what this does.
> 
> OK. I have checked now, and the only problem it seems to cause is the
> creation of /usr/share/texmf/web2c/updmap.cfg, which unfortunately
> shadows /var/lib/texmf/web2c/updmap.cfg when updmap-sys is run, as
> pointed out by Ralf (thanks!).
> 
> It seems to me it would be a good idea to call
> 'rm -f /usr/share/texmf/web2c/updmap.cfg' maybe in tetex-bin's postinst,
> somewhere before the updmap-sys run. Otherwise, I fear updmap-sys will
> keep updating /usr/share/texmf/web2c/updmap.cfg instead of
> /var/lib/texmf/web2c/updmap.cfg.
> 
> What do you think?

The way I see it right now, both 'updmap-sys --syncwithtrees' and
'updmap-sys --edit' create '/usr/share/texmf/web2c/updmap.cfg'.
Especially the latter is quite likely to be used at some point by a
local admin who hasn't read the Debian specific docs. I don't think that
removing '/usr/share/texmf/web2c/updmap.cfg' during tetex-bin's
configuration would be enough.

cheerio
ralf



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]