updmap-sys failed. Output has been stored in

Ubuntu 12.04升级到Ubuntu 12.04lts的时候,出现错误:

Do you want to continue? [Y/n] y
Setting up tex-common (4.04) ...
Ignoring /etc/texmf/texmf.d/05TeXMF.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/15Plain.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/45TeXinputs.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/55Fonts.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/65BibTeX.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/75DviPS.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/80DVIPDFMx.cnf during generation of texmf.cnf, please remove manually!
Ignoring /etc/texmf/texmf.d/85Misc.cnf during generation of texmf.cnf, please remove manually!
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.tgQfvGWl
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

dpkg: error processing package tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of fonts-lmodern:
 fonts-lmodern depends on tex-common (>= 4); however:
  Package tex-common is not configured yet.

dpkg: error processing package fonts-lmodern (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of lmodern:
 lmodern depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
 lmodern depends on fonts-lmodern (= 2.004.4-3); however:
  Package fonts-lmodern is not configured yet.

dpkg: error processing package lmodern (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of luatex:
 luatex depends on tex-common (>= 4.03); however:
  Package tex-common is not configured yet.

dpkg: error processing package luatex (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-extra:No apport report written because MaxReports is reached already

 texlive-fonts-extra depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.

dpkg: error processing package texlive-fonts-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-fonts-extra-doc:No apport report written because MaxReports is reached already

 texlive-fonts-extra-doc depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.

dpkg: error processing package texlive-fonts-extra-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-luatex:No apport report written because MaxReports is reached already

 texlive-luatex depends on tex-common (>= 3); however:
  Package tex-common is not configured yet.
 texlive-luatex depends on luatex (>= 0.70.1); however:
  Package luatex is not configured yet.

dpkg: error processing package texlive-luatex (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 tex-common
 fonts-lmodern
 lmodern
 luatex
 texlive-fonts-extra
 texlive-fonts-extra-doc
 texlive-luatex
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

解决办法:

1. 查看错误文件

sudo cat /tmp/updmap.tgQfvGWl

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)
	fi4.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)

	Did you run mktexlsr?

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

 

2. 看到说忽略不存在的map就好了,所以,运行命令

sudo updmap-sys --syncwithtrees
3. 然后再sudo apt-get upgrade  就好了

转载于:https://www.cnblogs.com/maseng/p/4025719.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值