[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem while install tetex



Hello,

Frank Küster <frank@debian.org> writes:
> The debug file revealed the problem, or at least part of it:
>
> + setupCfgFile
> + locateWeb2c updmap.cfg
> + kpsewhich --format=web2c files updmap.cfg
> + cnfFile=/usr/share/texmf/web2c/updmap.cfg
>
> So there are two problems.  The first is that there is a file updmap.cfg
> in /usr/share/texmf/web2c/ on your system;  I assume that 

I got no information about this file :

$ dpkg -S /usr/share/texmf/web2c/updmap.cfg
dpkg : /usr/share/texmf/web2c/updmap.cfg introuvable.

> will not give any output.  The file must be some leftover - if it is a
> real file, please delete it or move it away; if it is a symbolic link,
> please look and tell us where it points to before removing it.

I removed it because it was a real file saying that it was generated by
update-updmap .  Now the installation worked.  I've also got a file called
/usr/share/texmf/web2c/fmtutil.cnf .  Should I remove it too?

> The next question is why this file is taken instead of the one in
> $TEXMFVAR.  You have previously sent us:
>
>> # kpsewhich --format='web2c files' updmap.cfg
>> /var/lib/texmf/web2c/updmap.cfg
>
> This is exactly the same command which is called by updmap, and it has a
> different output.
>
> Has this been called in the same setup as you use for installing
> packages?

Yes, I typed it as root just after the failure of the installation.

I checked in my history that there where no other command :

  344  apt-get remove --purge tex-common tetex-base tetex-bin tetex-doc tetex-extra
  345  apt-get install -t unstable tex-common
  346  apt-get install -t experimental tetex-base tetex-bin tetex-doc tetex-extra
  347  kpsewhich --format='web2c files' updmap.cfg
  348  ls -l /var/lib/texmf/web2c/updmap.cfg


> It could, for example, make a difference whether you are logged in as root
> on a console or did a "su" after logging in as user, or from a user
> Xsession.

I was logged as root when I typed this command.

> To debug this further, please get to a shell as you would do for
> installing packages, and send us the output of the following commands: 

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

# kpsewhich --expand-var='$TEXMF'
{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf,!!/var/lib/texmf,!!/usr/share/texmf}

# kpsewhich --format='web2c files' texmf.cnf
/usr/share/texmf/web2c/texmf.cnf

# echo $TEXMF


# echo $TEXINPUTS



Regards,

-- 
Prakash



Reply to: