zoukankan      html  css  js  c++  java
  • 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  就好了

  • 相关阅读:
    深度学习原理与框架-神经网络-线性回归与神经网络的效果对比 1.np.c_[将数据进行合并] 2.np.linspace(将数据拆成n等分) 3.np.meshgrid(将一维数据表示为二维的维度) 4.plt.contourf(画出等高线图,画算法边界)
    深度学习原理与框架-神经网络-cifar10分类(代码) 1.np.concatenate(进行数据串接) 2.np.hstack(将数据横着排列) 3.hasattr(判断.py文件的函数是否存在) 4.reshape(维度重构) 5.tanspose(维度位置变化) 6.pickle.load(f文件读入) 7.np.argmax(获得最大值索引) 8.np.maximum(阈值比较)
    深度学习原理与框架-神经网络架构 1.神经网络构架 2.激活函数(sigmoid和relu) 3.图片预处理(减去均值和除标准差) 4.dropout(防止过拟合操作)
    Linux执行命令unable to create new native thread问题
    ElasticSearch的备份迁移方案
    Mycat高可用集群搭建
    Mogodb集群搭建
    SparkStreaming和Drools结合的HelloWord版
    Drools的HelloWord例子
    Drools环境搭建
  • 原文地址:https://www.cnblogs.com/maseng/p/4025719.html
Copyright © 2011-2022 走看看