package tex-common 4.04 failed to install/upgrade

Bug #1312204 reported by HugoHirsch
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
tex-common (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After having performed an update from 12.04 to 14.04 most tex-packages produced errors during upgrade and prevent configuration.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: tex-common 4.04
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Thu Apr 24 16:16:26 2014
DuplicateSignature: package:tex-common:4.04:
ErrorMessage:

InstallationDate: Installed on 2010-12-04 (1236 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
SourcePackage: tex-common
Title: package tex-common 4.04 failed to install/upgrade
UpgradeStatus: Upgraded to trusty on 2014-04-24 (0 days ago)

Revision history for this message
HugoHirsch (ubuntubugs-aiki-it) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tex-common (Ubuntu):
status: New → Confirmed
Revision history for this message
Peter Schüller (schueller-p) wrote :

I get errors as follows:

Setting up tex-common (4.04) ...
Ignoring /etc/texmf/texmf.d/05TeXMF.cnf during generation of texmf.cnf, please remove manually!
... many of these ...
Ignoring /etc/texmf/texmf.d/90TeXDoc.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/95NonPath.cnf during generation of texmf.cnf, please remove manually!
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.FEnvuOfj
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

No apport report written because the error message indicates its a followup error from a previous failure.
                   No apport report written because the error message indicates its a followup error from a previous failure.
                                      No apport report written because MaxReports is reached already
             No apport report written because MaxReports is reached already
                                                                           No apport report written because MaxReports is reached already

I have attached the file from the failed updmap-sys

Revision history for this message
Peter Schüller (schueller-p) wrote :

Let's see if file uploading works now.

Revision history for this message
Peter Schüller (schueller-p) wrote :

If I run

sudo updmap-sys --syncwithtrees

as suggested in the error output, I get the following information and warning.

<many of the following three lines>
updmap: font rm-lmr9 is defined multiple times:
updmap: lm.map (from /usr/share/texmf/web2c/updmap.cfg)
updmap: lm-rm.map (from /var/lib/texmf/web2c/updmap.cfg) (used)
Missing map files found, disabling
 antp.map (in /var/lib/texmf/web2c/updmap.cfg)
 comicvn.map (in /var/lib/texmf/web2c/updmap.cfg)
 csother.map (in /var/lib/texmf/web2c/updmap.cfg)
 cstext.map (in /var/lib/texmf/web2c/updmap.cfg)
 fi4.map (in /var/lib/texmf/web2c/updmap.cfg)
 grverb.map (in /var/lib/texmf/web2c/updmap.cfg)
 mscorevn.map (in /var/lib/texmf/web2c/updmap.cfg)
 slantcm.map (in /var/lib/texmf/web2c/updmap.cfg)
 troff-updmap.map (in /var/lib/texmf/web2c/updmap.cfg)
 zpeu.map (in /var/lib/texmf/web2c/updmap.cfg)
in /etc/texmf/web2c/updmap.cfg

On Debian systems it is not recommendable to use --syncwithtrees.
We recommend the following actions, according to in which updmap.cfg
the map is listed:
  /usr/share/texmf/web2c/updmap.cfg
  /usr/share/texlive/texmf-dist/web2c/updmap.cfg
      -> please run (as root) update-updmap
  /etc/texmf/web2c/updmap.cfg
  /usr/local/share/web2c/updmap.cfg
      -> edit the file and remove the line
  any other place (esp under your home directory)
      -> only used if you have user only fonts activated, otherwise
         this file should not be there
      -> edit it by hand
Do you really want to continue (y/N)? n

Revision history for this message
Peter Schüller (schueller-p) wrote :

I solved the problem for me by doing as root the following:

(Before you do this, make sure you have the two package files or similar versions of these package files in /var/cache/apt/archives !)

dpkg --ignore-depends=tex-common --purge tex-common
dpkg --ignore-depends=texlive-base --purge texlive-base
dpkg -i /var/cache/apt/archives/tex-common_4.04_all.deb
dpkg -i /var/cache/apt/archives/texlive-base_2013.20140215-1_all.deb

Just purging and installing tex-common did not work. Texlive-base is somehow involved in this. It seems tex-common can only be installed if texlive-base is not yet there.

Revision history for this message
Peter Schüller (schueller-p) wrote :

The only strange thing left is: when I run

apt-get install -f

my system configures all texlive packages (e.g., languages and so on) and for each package gives the following warning:

Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included,
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/00updmap.cfg
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-fonts-extra.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-fonts-recommended.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-african.cfg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.