12.04->14.04 upgrade fails, apparently on texlive packages

Bug #1341979 reported by Mark Eichin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried to be clever and use ubuntu-bug to push the files, but *it* blows up on a partial failure...

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
................ERROR: hook /usr/share/apport/package-hooks//source_ubuntu-release-upgrader.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 769, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/package-hooks//source_ubuntu-release-upgrader.py", line 28, in add_info
    root_command_output(["cat", clone_file], decode_utf8=False)
TypeError: root_command_output() got an unexpected keyword argument 'decode_utf8'
.

What looks to be the proximate cause:

Setting up texlive-base (2013.20140215-1) ...
Installing new version of config file /etc/libpaper.d/texlive-base ...
Installing new version of config file /etc/texmf/fmt.d/10texlive-base.cnf ...
Installing new version of config file /etc/texmf/texdoctk/texdocrc.defaults ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
/usr/bin/tl-paper: setting paper size for dvips to a4.
/usr/bin/tl-paper: setting paper size for dvipdfmx to a4.
/usr/bin/tl-paper: setting paper size for xdvi to a4.
/usr/bin/tl-paper: setting paper size for pdftex to a4.
/usr/bin/tl-paper: setting paper size for dvipdfmx to letter.
/usr/bin/tl-paper: setting paper size for dvips to letter.
/usr/bin/tl-paper: setting paper size for pdftex to letter.
/usr/bin/tl-paper: setting paper size for xdvi to letter.
Running mktexlsr. This may take some time... done.
Building format(s) --refresh.
        This may take some time... done.

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/10texlive-base.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-cyrillic.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-czechslovak.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-french.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-greek.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-mongolian.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-polish.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-lang-vietnamese.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-latex-base.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-latex-extra.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-math-extra.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-pictures.cfg
Warning: found file: /etc/texmf/updmap.d/20tetex-extra.cfg

Running mktexlsr. This may take some time... done.
Building format(s) --all.
        This may take some time... done.
Removing obsolete conffile /etc/texmf/dvipdfm/config/config ...
Removing obsolete conffile /etc/texmf/xdvi/xdvi.cfg ...
Processing triggers for tex-common (4.04) ...
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.jFFFTRH9
Please include this file if you report a bug.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.5.0-45.68~precise1-generic 3.5.7.26
Uname: Linux 3.5.0-45-generic i686
NonfreeKernelModules: openafs
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
CrashDB: ubuntu
Date: Tue Jul 15 01:46:45 2014
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader-core
UpgradeStatus: Upgraded to trusty on 2014-07-15 (0 days ago)

Revision history for this message
Mark Eichin (eichin-gmail) wrote :
Revision history for this message
Mark Eichin (eichin-gmail) wrote :

also says:

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

(That directory has a bunch of *.cfg files, plus 10tetex-base.cfg.obsolete dated Jun 1 2006, but that doesn't look like what the complaint is talking about...)

The /tmp/updmap.jFFFTRH9 mentioned in the failure:

updmap: resetting $HOME value (was /home/eichin) to root's actual home (/root).
updmap is using the following updmap.cfg files (in precedence order):
  /var/lib/texmf/web2c/updmap.cfg
  /usr/share/texmf/web2c/updmap.cfg
  /usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
  /etc/texmf/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"

ERROR: The following map file(s) couldn't be found:
        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)

        Did you run mktexlsr?

        You can disable non-existent map entries using the option
          --syncwithtrees.

Revision history for this message
Mark Eichin (eichin-gmail) wrote :

Running "updmap --syncwithtrees" gives instead

  On Debian systems it is not recommendable to use --syncwithtrees.

(and some followup text that presumably makes no sense on ubuntu either.)

Revision history for this message
Mark Eichin (eichin-gmail) wrote :
Revision history for this message
Mark Eichin (eichin-gmail) wrote :

Certainly taking the xxx.map references from comment #2 above out of the updmap.cfg was enough to get updmap-sys to work (when run implicitly) as suggested in https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1236951/comments/11

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

Other bug subscribers

Remote bug watches

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