Bug#342247: updating tetex-extra fails

2005-12-06 Thread Robert Sander
Package: tetex-extra
Version: 2.0.2c-8
Severity: grave
Justification: renders package unusable

Hi!

The latest update is not installable:

snell:~# apt-get install tetex-extra
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  tetex-extra
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/10.5MB of archives.
After unpacking 16.4kB disk space will be freed.
(Reading database ... 176463 files and directories currently installed.)
Preparing to replace tetex-extra 2.0.2c-8 (using
.../tetex-extra_2.0.2c-8sarge1_all.deb) ...
Unpacking replacement tetex-extra ...
Setting up tetex-extra (2.0.2c-8sarge1) ...
Running updmap. This may take some time. ...
Running updmap failed.
dpkg: error processing tetex-extra (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tetex-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)
snell:~# updmap
updmap: config file updmap.cfg not found.
snell:~# dpkg -S updmap.cfg
tetex-base: /usr/share/tetex-base/00updmap.cfg
tetex-base: /usr/share/tetex-base/updmap.cfg
snell:~# l /usr/share/tetex-base/updmap.cfg
-rw-r--r--  1 root root 4430 Jan 30  2003 /usr/share/tetex-base/updmap.cfg

-- Package-specific info:
Please read and follow the instructions in the first lines below
the text: -- Package-specific info:.
Thank you.

Press ENTER to continue
If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.latex-einfuehrung.de/mini-en.html (english)

or 

http://www.latex-einfuehrung.de/mini.html (german)

##
minimal input file


##
other files

##
 List of ls-R files

-rw-rw-r--  1 root staff 79 Dec  6 07:40 /usr/local/share/texmf/ls-R
-rw-rw-r--  1 root staff 91 Dec  6 07:40 /usr/local/lib/texmf/ls-R
lrwxrwxrwx  1 root root 29 Dec  6 07:39 /usr/share/texmf/ls-R - 
/var/lib/texmf/ls-R-TEXMFMAIN

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-client-p4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages tetex-extra depends on:
ii  dpkg  1.10.28Package maintenance system for Deb
ii  gsfonts   8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre
ii  tetex-base2.0.2c-8sarge1 Basic library files of teTeX
ii  tetex-bin 2.0.2-30   The teTeX binary files
ii  ucf   1.17   Update Configuration File: preserv

-- no debconf information

Greetings
-- 
Robert Sander


signature.asc
Description: Digital signature


Bug#342247: updating tetex-extra fails

2005-12-06 Thread Frank Küster
Robert Sander [EMAIL PROTECTED] wrote:

 Package: tetex-extra
 Version: 2.0.2c-8
 Severity: grave
 Justification: renders package unusable

 Hi!

 The latest update is not installable:

 snell:~# apt-get install tetex-extra
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following packages will be upgraded:
   tetex-extra
 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 1 not fully installed or removed.

What was the package that was not fully installed or removed?  I guess
it was tetex-extra?

 Need to get 0B/10.5MB of archives.
 After unpacking 16.4kB disk space will be freed.
 (Reading database ... 176463 files and directories currently installed.)
 Preparing to replace tetex-extra 2.0.2c-8 (using
 .../tetex-extra_2.0.2c-8sarge1_all.deb) ...
 Unpacking replacement tetex-extra ...
 Setting up tetex-extra (2.0.2c-8sarge1) ...
 Running updmap. This may take some time. ...
 Running updmap failed.
 dpkg: error processing tetex-extra (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  tetex-extra
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 snell:~# updmap
 updmap: config file updmap.cfg not found.

Please send us the output of

ls /var/lib/texmf/web2c/updmap*
kpsewhich --format='web2c files' updmap.cfg

Regards, Frank



-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#342247: updating tetex-extra fails

2005-12-06 Thread Robert Sander
On Tue, Dec 06, 2005 at 05:05:36PM +0100, Frank K?ster wrote:
 
 What was the package that was not fully installed or removed?  I guess
 it was tetex-extra?

Yes.

 Please send us the output of
 
 ls /var/lib/texmf/web2c/updmap*
 kpsewhich --format='web2c files' updmap.cfg

snell:~# ls /var/lib/texmf/web2c/updmap*
/var/lib/texmf/web2c/updmap.cfg
snell:~# kpsewhich --format='web2c files' updmap.cfg
snell:~# 

Greetings
-- 
Robert Sander


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



Bug#342247: updating tetex-extra fails

2005-12-06 Thread Frank Küster
Robert Sander [EMAIL PROTECTED] wrote:

 snell:~# ls /var/lib/texmf/web2c/updmap*
 /var/lib/texmf/web2c/updmap.cfg
 snell:~# kpsewhich --format='web2c files' updmap.cfg
 snell:~# 

This shows that the file exists, but is not found - probably due to some
misconfiguration.  What's the output of

kpsewhich --expand-var '$WEB2C'
grep WEB2C /etc/texmf/texmf.cnf
grep '^TEXMF =' /etc/texmf/texmf.cnf

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#342247: updating tetex-extra fails

2005-12-06 Thread Robert Sander
On Tue, Dec 06, 2005 at 07:01:25PM +0100, Frank K?ster wrote:
 kpsewhich --expand-var '$WEB2C'
 grep WEB2C /etc/texmf/texmf.cnf
 grep '^TEXMF =' /etc/texmf/texmf.cnf

snell:~# kpsewhich --expand-var '$WEB2C'
{/root/texmf,/usr/local/share/texmf,/usr/local/lib/texmf,!!/usr/share/texmf}/web2c
snell:~# grep WEB2C /etc/texmf/texmf.cnf
% WEB2C is for Web2C specific files.  The current directory may not be
WEB2C = $TEXMF/web2c
snell:~# grep '^TEXMF =' /etc/texmf/texmf.cnf
TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$TEXMFMAIN}

Greetings
-- 
Robert Sander


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



Bug#342247: updating tetex-extra fails

2005-12-06 Thread Frank Küster
Robert Sander [EMAIL PROTECTED] wrote:

 snell:~# kpsewhich --expand-var '$WEB2C'
 {/root/texmf,/usr/local/share/texmf,/usr/local/lib/texmf,!!/usr/share/texmf}/web2c
 snell:~# grep WEB2C /etc/texmf/texmf.cnf
 % WEB2C is for Web2C specific files.  The current directory may not be
 WEB2C = $TEXMF/web2c
 snell:~# grep '^TEXMF =' /etc/texmf/texmf.cnf
 TEXMF = {$HOMETEXMF,$TEXMFLOCAL,$TEXMFOLDLOCAL,!!$TEXMFMAIN}

If I remember right, these are settings from woody.  It's very strange
that only tetex extra fails, normally also tetex-bin should have given
the same error.

Unfortunately /etc/texmf/texmf.cnf is both a configuration file and a
generated file, the real configuration file in this case is
/etc/texmf/texmf.d/05TeXMF.cnf, but there's an additional layer between
them to preserve changes to texmf.cnf.

There should be a line in both files (05TeXMF.cnf and texmf.cnf) that
reads

VARTEXMF = /var/lib/texmf

and the line with TEXMF should be

TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFMAIN}

If you want, you can add trees there, or remove TEXMFOLDLOCAL, but the
others should be there (and VARTEXMF and TEXMFMAIN must).  

If this is wrong in 05TeXMF.cnf, fix it, or copy the file
/etc/texmf/texmf.d/05TeXMF.cnf.dpkg-dist over it if you still have it.
After that run update-texmf and verify that the change also migrated
to texmf.cnf.

If it is correct in 05TeXMF.cnf, but wrong in texmf.cnf, this means that
you have manually edited texmf.cnf (which is allowed, but discouraged).
if you still need those changes, you should make the same changes to the
corresponding files in texmf.d, run update-texmf and verify that
everything is okay.

You don't by chance have a typescript of the upgrade from woody's
version of tetex (1.0something) to sarge's? 

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Bug#342247: updating tetex-extra fails

2005-12-06 Thread Robert Sander
On Tue, Dec 06, 2005 at 07:54:09PM +0100, Frank K?ster wrote:
 
 You don't by chance have a typescript of the upgrade from woody's
 version of tetex (1.0something) to sarge's? 

The host was upgraded from woody to sarge three weeks ago, but I have
not recorded the upgrade, sorry.

Greetings
-- 
Robert Sander


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