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  就好了

时间: 2024-10-23 03:27:44

updmap-sys failed. Output has been stored in的相关文章

Using Stored Programs with MySQLdb

http://flylib.com/books/en/1.142.1.125/1/ Using Stored Programs with MySQLdb The techniques for calling stored programs with MySQLdb differ only slightly from those for using traditional SQL statements. That is, we create a cursor, execute the SQL to

Query runs slow via .NET

Slow in the Application, Fast in SSMS?Understanding Performance Mysteries An SQL text by Erland Sommarskog, SQL Server MVP. Last revision: 2013-08-30.This article is also available in Russian, translated by Dima Piliugin. Introduction When I read var

vmware api开发之快照管理

公司要自己开发私有云管理平台,我这边负责vmware部分的后台接口编写. 主要基于vmware官方的 python 接口 pyvmomi进行二次封装, 主要实现有虚拟机开关机注销: 虚拟机增删磁盘: 虚拟机快照增删还原: 虚拟机 html5的console界面 虚拟机网络管理 zabbix 监控 esxi的磁盘使用率 zabbix 接受转发esxi的报警信息 本文展示快照功能,快照其实是一个很小的功能,主要是让大家了解下vmware快照的接口,网上没有干过我这个事情,中间有个遍历的算法 先上图

Web框架原理

前提 一个web框架需要包含的组件或者功能有: request and response cookies and session template engine wsgi app and wsgi server 对于所有的Web应用,本质上其实就是一个socket服务端,用户的浏览器其实就是一个socket客户端. wsgi 首先要了解WSGI的相关知识,如下: web server:指的是软件程序,它从客户端接受请求,然后返回一个Response,需要注意的是它不创建Response,web

Python web框架总结

web框架总结 前提 一个web框架需要包含的组件或者功能有: router orm request and response cookies and session template engine wsgi app and wsgi server wsgi 首先要了解WSGI的相关知识,如下: web server:指的是软件程序,它从客户端接受请求,然后返回一个Response,需要注意的是它不创建Response,web app才是创建Response的主体. web app:根据url来

Labview调用Python脚本

Labview程序框图如下: Python脚本如下: #!/usr/bin/env pythonimport sys #Command Line Arguements are stored in list argvnumArgs = len(sys.argv) - 1sum = 0 #Iterate through each element and add to the sumfor n in range (1, len(sys.argv)): sum = sum + int(sys.argv[

python web server gateway interface (wsgi ) notes

前言: 注:如果需要得到支持批Python3.x以及包含了勘误表,附录,和说明的更新版规范,请查看PEP 3333 摘要: 这篇文档详细说明了一套在web服务器与Python web应用程序(web框架)之间的已提出的标准接口,从而方便web应用在各种web服务器之间的移植. 理论和目标 Python世界目前拥有各种各样的web应用框架,仅举几例比如 Zope, Quixote, Webware, SkunkWeb, PSO, and Twisted Web 等[1],对于新手来说面对如此多的选

VS_数据库_编程

如何使用 SqlDataAdapter 来检索多个行 以下代码阐明了如何使用 SqlDataAdapter 对象发出可生成 DataSet 或 DataTable 的命令.它从 SQL Server Northwind 数据库中检索一组产品类别. using System.Data; using System.Data.SqlClient; public DataTable RetrieveRowsWithDataTable() { using ( SqlConnection conn = ne

u-boot-2016.09顶层makefile分析

## SPDX-License-Identifier: GPL-2.0+# VERSION = 2016PATCHLEVEL = 09SUBLEVEL =EXTRAVERSION =NAME = # *DOCUMENTATION*# To see a list of typical targets execute "make help"# More info can be located in ./README# Comments in this file are targeted o