On Sun, Aug 15, 2004 at 11:41:32PM +0200, Hilmar Preusse wrote:
On 15.08.04 Andreas Gredler ([email protected]) wrote:
Hi,
I'm writing you this personal mail because I don't want to discuss
everything on the bug list(Long bug reports are hard to read, IMO)
What should I look for in /etc/texmf? VARTEXMF is not set there and/usr/bin/fmtutil
I do not understand why I should look for it there. That file isn't
sourced in the postinst script. Am I missing something?
# if no cnf_file from command-line, look it up with kpsewhich:
test -z "$cnf_file" && cnf_file=`kpsewhich --format='web2c files' $cnf`
test -f "$cnf_file" || abort "config file \$cnf' not found"
That's the information I was looking for in the man page :-(
fmtutil wants to see fmtutil.cnf either to be given on command line or
to be found by kpsewhich. To make the latter possible the dir
/var/lib/texmf/ must be part of TEXMF (set in texmf.cnf). What does
egrep "^VARTEXMF|^TEXMF" /etc/texmf/texmf.cnf tell you?
TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
TEXMFOLDLOCAL = /usr/local/lib/texmf
TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$TEXMFMAIN}
TEXMFDBS = $TEXMF;$VARTEXFONTS
TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c};$TETEXDIR;/usr/share/texmf/web2c;/usr/share/texmf/web2c
egrep "^VARTEXMF|^TEXMF" /etc/texmf/texmf.d/05TeXMF.cnf ?
TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
TEXMFOLDLOCAL = /usr/local/lib/texmf
VARTEXMF = /var/lib/texmf
TEXMF =
{$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
TEXMFDBS = $TEXMF;$VARTEXFONTS
I consider the following scenario: texmf.cnf is built from different
files sitting in /etc/texmf/texmf.d. 05TeXMF.cnf was changed in
tetex-bin 2.0.2-17. VARTEXMF was defined and taken as part of TEXMF.
Hence the files in /var/lib/texmf/web2c are found. Possibly you have
changed once 05TeXMF.cnf manually, but didn't define VARTEXMF. When
you updated your tetex-bin you were probably asked, whether you want
to use the maintainers version or keep your own (the latter answer is
the default). You took the default answer, VARTEXMF is not defined in
texmf.cnf and fmtutil.cnf is not found.
I'm sure that I took the default answer, but I'm also rather sure that I never made any changes by hand.
Because I had the same problem with tetex-base, which was solved after
the next upgrade, I took a look in the newer postinst script.
IMO they solved this problem by NOT calling fmtutil and updmap. All
calls to updmap are commented out. And on my system fmtutil is not[...]
called because:
if [ -e $TEXINIT_P -a -e $TEXLINKS_P -a -r /usr/share/texmf/web2c/fmtutil.cnf ] \
And /usr/share/texmf/web2c/fmtutil.cnf doesn't exist so the if will return false.
P.S.: I have the other teTeX maintainers in Cc.
So you're one of them(I couldn't find out who are the maintainers, that's why I'm asking this stupid question)?
I am experiencing the exact same problem as stated in the first
message of this bug. It's present since version 2.0.2-17, getting
exactly the same error message as reported above. I'm sure that I've
never changed anything in the configuration of any tetex-package
myself.
As for your question about the value of VARTEXMF in texmf.cnf, there's
no such line; also in the /etc/texmf.d/ dir there isn't, except in the 05TeXMF.cnf.dpkg-dist file (mind the dpkg-dist extension):
Your question about dpkg-reconfigure tetex-bin just yields: /usr/sbin/dpkg-reconfigure: tetex-bin is broken or not fully installed
BTW is it just me, or does this BTS have an absolutely terrible
interface? Displaying full headers of each message (???), no summary
at the top or fields to change settings or add information etc. Are
there any plans to change this?
On Mon, Aug 16, 2004 at 03:00:22PM +0200, Frank K�ster wrote:
[email protected] wrote:
On Sun, Aug 15, 2004 at 11:41:32PM +0200, Hilmar Preusse wrote:
On 15.08.04 Andreas Gredler ([email protected]) wrote:
Hi,
I'm writing you this personal mail because I don't want to discuss
everything on the bug list(Long bug reports are hard to read, IMO)
Which is a good way to have your issues resolved much more slowly, and
for shutting out other people from valuable information. It also made it
harder to me to find your original bug report.
I understand. My intention was to keep the bugreport small and to
provide the needed information afterwards. It's really hard to find information in bug reports when everybody posts his whole sytem output.
Here, VARTEXMF is there. It seems that update-texmf has not been called
during upgrade of tetex-bin, which is strange. Did you get any error
messages when tetex-bin was last upgraded? What happens if you do
Yes, same problems. But it was solved by the next upgrade.
dpkg-reconfigure tetex-bin
Never tested, since my sytem worked again after I hacked the postinst script.
Because I had the same problem with tetex-base, which was solved after
the next upgrade, I took a look in the newer postinst script.
IMO they solved this problem by NOT calling fmtutil and updmap. All
they are we.
Sorry? Don't understand.
My main intention was to report it, since I was wondering that the
problem is solved in tetex-base but not in tetex-extra.
I am experiencing the exact same problem as stated in the first
message of this bug. It's present since version 2.0.2-17, getting
exactly the same error message as reported above. I'm sure that
I've never changed anything in the configuration of any
tetex-package myself.
As for your question about the value of VARTEXMF in texmf.cnf,
there's no such line; also in the /etc/texmf.d/ dir there isn't,
except in the 05TeXMF.cnf.dpkg-dist file (mind the dpkg-dist
extension):
05TeXMF.cnf.dpkg-dist:VARTEXMF = /var/lib/texmf
05TeXMF.cnf.dpkg-dist:TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
05TeXMF.cnf.dpkg-dist:SYSTEXMF = $TEXMFLOCAL;$TEXMFOLDLOCAL;$VARTEXMF;$TEXMFMAIN
Your question about dpkg-reconfigure tetex-bin just yields: /usr/sbin/dpkg-reconfigure: tetex-bin is broken or not fully
installed
I hope this helps to trace down the problem, if you need any more
info please let me know.
BTW is it just me, or does this BTS have an absolutely terrible
interface? Displaying full headers of each message (???), no
summary at the top or fields to change settings or add information
etc. Are there any plans to change this?
On Mon, August 16, 2004 17:59, Frank K�ster said:
If there is a dpkg-dist file, then there must have been some change to
/etc/texmf/texmf.d/05TeXMF.cnf, and it must have asked you about
that. Since you say that you have not changed it, it would be interesting
to get the complete contents of your /etc/texmf/texmf.d/05TeXMF.cnf (the
one without the dpkg-dist extension).
I've attached the file itself and the diff from the dpkg-dist. Hope this helps.
On 16.08.04 Thijs Kinkhorst ([email protected]) wrote:
Hi,
I am experiencing the exact same problem as stated in the firstI consider the following scenario: texmf.cnf is built from different
message of this bug. It's present since version 2.0.2-17, getting
exactly the same error message as reported above. I'm sure that
I've never changed anything in the configuration of any
tetex-package myself.
As for your question about the value of VARTEXMF in texmf.cnf,
there's no such line; also in the /etc/texmf.d/ dir there isn't,
except in the 05TeXMF.cnf.dpkg-dist file (mind the dpkg-dist
extension):
05TeXMF.cnf.dpkg-dist:VARTEXMF = /var/lib/texmf
05TeXMF.cnf.dpkg-dist:TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}
05TeXMF.cnf.dpkg-dist:SYSTEXMF = $TEXMFLOCAL;$TEXMFOLDLOCAL;$VARTEXMF;$TEXMFMAIN
files sitting in /etc/texmf/texmf.d. 05TeXMF.cnf was changed in
tetex-bin 2.0.2-17. VARTEXMF was defined and taken as part of TEXMF.
Hence the files in /var/lib/texmf/web2c are found.
Possibly you have
changed once 05TeXMF.cnf manually, but didn't define VARTEXMF.
When
you updated your tetex-bin you were asked, whether you want to use
the maintainers version or keep your own (the latter answer is the
default).
When you merge the changes of 05TeXMF.cnf.dpkg-dist and your local
version everything should work fine. I guess we have to force the
users to install the dist version to make the installation not fail
and merge their local modifications later.
frank@alhambra:~$ kpsewhich --expand-path='$TEXMFCNF' /usr/bin:/usr:/:/usr/share/texmf/web2c:/usr/share/texmf/web2c:/usr/share/texmf/web2c:/var/lib/texmf/web2c
frank@alhambra:~$ kpsewhich fmtutil.cnf
frank@alhambra:~$ kpsewhich --format cnf fmtutil.cnf
kpsewhich invocation? - I could imagine this, for the TeX format
creation works flawlessly. Previously, when the file was in
[email protected] wrote:
Hm? If tetex-bin had the same problems as you described for tetex-extra,
but those problems went away, then how can it be that you still don't
have VARTEXMF in your texmf.cnf? If VARTEXMF isn't in there, you should
get problems with tetex-bin, too.
So please do it for us. Or have you also hacked tetex-bin's postinst?
Then please do, in this order,
apt-get --reinstall install tetex-base
apt-get --reinstall install tetex-bin
apt-get --reinstall install tetex-extra
Didn't work. While the packages failed I read the other mails and I was reminded that my computer had a powerfail a few days ago.
I'm not sure
if it was during the update, but I found two *.dist files in /etc/texmf.
I copied them over the other files and suddenly all three tetex packages became installable.
Unfortunately latex reported errors so I decided to remove the packages.
I also removed the directories, that dpkg refused to delete.
After the new install everything works now :-)
Andreas Gredler <[email protected]> wrote:
I'm not sure
if it was during the update, but I found two *.dist files in /etc/texmf.
I copied them over the other files and suddenly all three tetex packages became installable.
Unfortunately latex reported errors so I decided to remove the packages.
I also removed the directories, that dpkg refused to delete.
After the new install everything works now :-)
Fine. By the way, sometimes the reason why dpkg refuses to delete
directories in /etc/ is that an _other_ package created a configuration
file there in a maintainer script. If this other package is not removed
and you just remove the directories, this other package might have
problems.
Anyway, I think we can close this bug, once the change from /usr/share/texmf/web2c/fmtutil.cnf to /var/lib/texmf/web2c/fmtutil.cnf
has been made in the maintainer scripts. Do you agree?
Thijs, do you remember being asked anything? Or, as I asked in the other mail, any power failure, disk full etc.?
cp /etc/texmf/texmf.d/05TeXMF.cnf.dpkg-dist
/etc/texmf/texmf.d/05TeXMF.cnf
Your problem should be solved. But I would really like to know how this
could come...
On Mon, August 16, 2004 21:02, Frank K�ster said:
Thijs, do you remember being asked anything? Or, as I asked in the other
mail, any power failure, disk full etc.?
No, I don't think such an event happened at all. About the question
being asked; I can't guarrantee that it didn't happen but as I said,
at least I'm sure that I didn't do anything by hand.
This indeed solves the problem. It might be some glitch somewhere. But
since both Jimmy and I experienced the same problem, perhaps there's something broken somewhere?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 41:53:27 |
| Calls: | 12,109 |
| Files: | 15,006 |
| Messages: | 6,518,416 |