There is a serious problem/bug in dpkg that prevents the correct removal of the old tex packages and then the installation of tetex.
dpkg can't handle multiple packages which are to be replaced. So, do the following: - Purge all the old tex packages which are replaced by tetex. (E.g. go into dselect, select the tetex-packages, look which old tex packages are marked to be removed, purge the packages.) - Watch out that all config-files in /etc/texmf/ are removed, at least texmf.cnf is incompatible. (dpkg --purge should do this for you.) - Install the tetex packages. Don't install tetex over the old packages with --force**. You will get an inconsitent system. Douglas Bates <[EMAIL PROTECTED]> writes: > > I am trying to install the following tetex packages > 1548580 Feb 24 09:04 tetex-base_0.4pl6-2.deb > 1482224 Feb 24 09:06 tetex-bin_0.4pl6-4.deb > 50188 Feb 24 09:06 tetex-dev_0.4pl6-4.deb > 4923348 Feb 24 09:07 tetex-doc_0.4pl6-1.deb > 3161870 Feb 24 09:17 tetex-extra_0.4pl6-2.deb > I began trying to do this within dselect. Because of conflicts with > the currently installed versions of TeX, I needed to mark several > TeX-related packages for removal. Installation of the tetex packages > went ok then I removed the older tex-related packages that had been > marked for removal. I noticed that a couple of macro packages seemed > to be missing. According to dpkg -L they should have been installed > by tetex-extra. > > I decided to remove all the tetex packages and re-install them. My > reasoning was that by installing tetex first then removing the older > tex-related packages I may have inadvertently removed files that tetex > packages installed. This is correct. You also removed the config files of tetex which leads you to the next problem: > Removing the tetex packages and then trying to re-install fails in a > couple of the postinst scripts. These scripts try to execute > /usr/bin/texconfig but it complains that the TEXMFCNF environment > variable is not set. I believe it may be intended to point at > /etc/texmf/texmf.cnf. That file is listed in the output of "dpkg -L > tetex-base" but it does not appear to be installed by that package. > > Because /usr/bin/texconfig is based on a dialog library, the > error messages fly off the screen before you can read them. > > Any suggestions will be appreciated. It would help if you sent e-mail > directly to me as well as to the list because I only receive the > digests. > > -- > Douglas Bates [EMAIL PROTECTED] > Statistics Department 608/262-2598 > University of Wisconsin - Madison http://www.stat.wisc.edu/~bates/ -- ============================================================================ Christoph Martin, Uni-Mainz, Germany Internet-Mail: [EMAIL PROTECTED]