Bug#672269: tex-common: Upgrade fails: cannot remove `/etc/texmf/texmf.cnf': No such file or directory
Package: tex-common
Version: 3.10
Severity: normal
Tags: lfs
On one of my (testing) machines, the recent texlive upgrades have gone
smoothly. On at least two other machines, configuration problems have
prevented installation and broken tex.
I have just made a little progress on one of these machines.
I had been using aptitude, but moved back to apt-upgrade and then dpkg
-i on tex-common .
First, the installation failed on a missing /etc/texmf/texmf.cnf
(possibly removed during a previous failed installation attempt?)
------------------------------------------------------------------------
# dpkg -i tex-common_3.10_all.deb
(Reading database ... 272727 files and directories currently installed.)
Preparing to replace tex-common 3.10 (using tex-common_3.10_all.deb) ...
Unpacking replacement tex-common ...
Setting up tex-common (3.10) ...
rm: cannot remove `/etc/texmf/texmf.cnf': No such file or directory
dpkg: error processing tex-common (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for doc-base ...
Processing 2 changed doc-base files...
Registering documents with dhelp...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Errors were encountered while processing:
tex-common
--------------------------------------------------------------------------
I simply "touched" that file.
After that, dpkg -i failed because
/var/lib/texmf/updmap.cfg-DEBIAN had an entry from
/etc/texmf/updmap.d/90scalable-cyrfonts-tex
despite having removed (later purged) the scalable-cyrfonts-tex.map
pacakge.
I removed the /etc/texmf/updmap.d/90scalable-cyrfonts-tex
fonts, but the installation still failed. (On each attemept I had to
touch /etc/texmf/texmf.cnf again which was a pain.)
Eventually I ran update-updmap manually: that updated
/var/lib/texmf/updmap.cfg-DEBIAN.
Then I could (after yet another touch) update tex-common:
-----------------------------------------------------------------
# dpkg -i tex-common_3.10_all.deb
(Reading database ... 272727 files and directories currently installed.)
Preparing to replace tex-common 3.10 (using tex-common_3.10_all.deb) ...
Unpacking replacement tex-common ...
Setting up tex-common (3.10) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
This may take some time... done.
Processing triggers for doc-base ...
Processing 2 changed doc-base files...
Registering documents with dhelp...
Registering documents with scrollkeeper...
-------------------------------------------------------------------
I have yet to discover whether this permits the rest of texlive to
upgrade or whether it fixes the other broken machines.
=================================================================================
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.42
ii dpkg 1.16.3
ii ucf 3.0025+nmu3
tex-common recommends no packages.
Versions of packages tex-common suggests:
ii debhelper 9.20120419
Versions of packages texlive-base depends on:
ii debconf [debconf-2.0] 1.5.42
ii dpkg 1.16.3
ii install-info 4.13a.dfsg.1-10
ii libpaper-utils 1.1.24+nmu1
ii luatex 0.70.1-3
ii mime-support 3.52-1
ii texlive-binaries 2011.20120410-1
ii texlive-common 2011.20120424-1
ii texlive-doc-base 2011.20120424-1
ii ucf 3.0025+nmu3
Versions of packages texlive-base recommends:
ii lmodern 2.004.1-5
Versions of packages texlive-base suggests:
ii epdfview [pdf-viewer] 0.1.8-2
ii evince [postscript-viewer] 3.2.1-1+b1
ii ghostscript [postscript-viewer] 9.05~dfsg-5
ii gv [postscript-viewer] 1:3.7.3-1
ii perl-tk <none>
ii xpdf [pdf-viewer] 3.03-9
Versions of packages texlive-binaries depends on:
ii dpkg 1.16.3
ii ed 1.6-1
ii install-info 4.13a.dfsg.1-10
ii libc6 2.13-32
ii libfontconfig1 2.9.0-3
ii libfreetype6 2.4.9-1
ii libgcc1 1:4.7.0-7
ii libgraphite3 1:2.3.1-0.2
ii libkpathsea6 2011.20120410-1
ii libpng12-0 1.2.49-1
ii libpoppler13 0.16.7-3
ii libptexenc1 2011.20120410-1
ii libstdc++6 4.7.0-7
ii libx11-6 2:1.4.99.901-2
ii libxaw7 2:1.0.10-2
ii libxmu6 2:1.1.1-1
ii libxpm4 1:3.5.10-1
ii libxt6 1:1.1.3-1
ii perl 5.14.2-9
ii texlive-common 2011.20120424-1
ii zlib1g 1:1.2.6.dfsg-2
Versions of packages texlive-binaries recommends:
ii luatex 0.70.1-3
ii python 2.7.2-10
ii ruby 4.8
ii ruby1.8 [ruby] 1.8.7.352-2
ii texlive-base 2011.20120424-1
ii tk8.4 [wish] 8.4.19-4
ii tk8.5 [wish] 8.5.11-1
-- debconf information:
texlive-base/texconfig_ignorant:
tex-common/check_texmf_wrong:
texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
tex-common/check_texmf_missing:
tex-common/singleuser: false
Reply to: