This is the output running the command: $ sudo apt-get install tex-common Reading package lists... Done Building dependency tree Reading state information... Done tex-common is already the newest version. tex-common set to manually installed. The following packages were automatically installed and are no longer required: compizconfig-backend-gconf duplicity latex-cjk-xcjk libglew1.6 libglewmx1.6 libnl2 librsync1 libwireshark1 libwiretap1 libwsutil1 python-dateutil python-pyatspi2 ubuntuone-couch Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 19 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up tex-common (3.13) ... Running mktexlsr. This may take some time... done. Running mtxrun --generate. This may take some time... done. Running updmap-sys. This may take some time... updmap-sys failed. Output has been stored in /tmp/updmap.idTSe5TP 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 tex-common (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of texlive-latex-base: texlive-latex-base depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-latex-base (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of latex-beamer: latex-beamer depends on tex-common (>= 3); however: Package tex-common is not configured yet. latex-beamer depends on texlive-latex-base; however: Package texlive-latex-base is not configured yet. dpkg: error processing latex-beamer (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-common: latex-cjk-common depends on texlive-latex-base; however: Package texlive-latex-base is not configured yet. No apport report written because MaxReports is reached already latex-cjk-common depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing latex-cjk-common (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-chinese: latex-cjk-chinese depends on latex-cjk-common (= 4.8.3+git20120621-1); however: Package latex-cjk-common is not configured yet. latex-cjk-chinese depends on tex-common (>= 3); however: Package tex-common is not configured yet.No apport report written because MaxReports is reached already dpkg: error processing latex-cjk-chinese (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-japanese: latex-cjk-japanese depends on latex-cjk-common (= 4.8.3+git20120621-1); however: Package latex-cjk-common is not configured yet. latex-cjk-japanese depends on tex-common (>= 3); however: Package tex-common is not configured yet. No apport report written because MaxReports is reached already dpkg: error processing latex-cjk-japanese (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-korean: latex-cjk-korean depends on latex-cjk-common (>= 4.8.3+git20120621-1); however: Package latex-cjk-common is not configured yet.No apport report written because MaxReports is reached already latex-cjk-korean depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing latex-cjk-korean (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-thai: latex-cjk-thai depends on latex-cjk-common (>= 4.8.3+git20120621-1); however: Package latex-cjk-common is not configured yet. latex-cjk-thai depends on texlive-latex-base; however: Package texlive-latex-base is not configured yet. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already latex-cjk-thai depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing latex-cjk-thai (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of latex-cjk-all: latex-cjk-all depends on latex-cjk-common (>= 4.8.3+git20120621-1); however: Package latex-cjk-common is not configured yet. latex-cjk-all depends on latex-cjk-chinese (>= 4.8.3+git20120621-1); however: Package latex-cjk-chinese is not configured yet. latex-cjk-all depends on latex-cjk-japanese (>= 4.8.3+git20120621-1); however: Package latex-cjk-japanese is not configured yet. latex-cjk-all depends on latex-cjk-korean (= 4.8.3+git20120621-1); however: Package latex-cjk-korean is not configured yet. latex-cjk-all depends on latex-cjk-thai (= 4.8.3+git20120621-1); however: Package latex-cjk-thai is not configured yet. dpkg: error processing latex-cjk-all (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-fonts-recommended: texlive-fonts-recommended depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-fonts-recommended (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-latex-recommended: texlive-latex-recommended depends on texlive-latex-base (>= 2012.20120516); however: Package texlive-latex-base is not configured yet. texlive-latex-recommended depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-latex-recommended (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive: texlive depends on texlive-latex-base (>= 2012.20120516); however: Package texlive-latex-base is not configured yet. texlive depends on texlive-fonts-recommended (>= 2012.20120516); however: Package texlive-fonts-recommended is not configured yet. texlive depends on texlive-latex-recommended (>= 2012.20120516); however: Package texlive-latex-recommended is not configured yet. dpkg: error processing texlive (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-xetex: texlive-xetex depends on texlive-latex-base (>= 2012.20120516); however: Package texlive-latex-base is not configured yet. texlive-xetex depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-xetex (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-metapost: texlive-metapost depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-metapost (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-generic-recommended: texlive-generic-recommended depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-generic-recommended (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-luatex: texlive-luatex depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-luatex (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-omega: texlive-omega depends on texlive-latex-base (>= 2012.20120516); however: Package texlive-latex-base is not configured yet. texlive-omega depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-omega (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-pictures: texlive-pictures depends on tex-common (>= 3); however: Package tex-common is not configured yet. dpkg: error processing texlive-pictures (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of texlive-full: texlive-full depends on texlive-latex-base (>= 2012.20120516); however: Package texlive-latex-base is not configured yet. texlive-full depends on texlive-fonts-recommended (>= 2012.20120516); however: Package texlive-fonts-recommended is not configured yet. texlive-full depends on latex-cjk-all (>= 4.6.0+cvs20060714-2); however: Package latex-cjk-all is not configured yet. texlive-full depends on texlive-latex-recommended (>= 2012.20120516); however: Package texlive-latex-recommended is not configured yet. texlive-full depends on texlive-xetex (>= 2012.20120516); however: Package texlive-xetex is not configured yet. texlive-full depends on texlive-metapost (>= 2012.20120516); however: Package texlive-metapost is not configured yet. texlive-full depends on texlive-generic-recommended (>= 2012.20120516); however: Package texlive-generic-recommended is not configured yet. texlive-full depends on texlive-luatex (>= 2012.20120516); however: Package texlive-luatex is not configured yet. texlive-full depends on texlive-omega (>= 2012.20120516); however: Package texlive-omega is not configured yet. texlive-full depends on latex-beamer (>= 3.06.dfsg.1-0.1); however: Package latex-beamer is not configured yet. texlive-full depends on texlive-pictures (>= 2012.20120516); however: Package texlive-pictures is not configured yet. dpkg: error processing texlive-full (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: tex-common texlive-latex-base latex-beamer latex-cjk-common latex-cjk-chinese latex-cjk-japanese latex-cjk-korean latex-cjk-thai latex-cjk-all texlive-fonts-recommended texlive-latex-recommended texlive texlive-xetex texlive-metapost texlive-generic-recommended texlive-luatex texlive-omega texlive-pictures texlive-full E: Sub-process /usr/bin/dpkg returned an error code (1) I search the file with trace log and it shows: $ sudo cat /tmp/updmap.idTSe5TP updmap: resetting $HOME value (was /home/shakaran) to root's actual home (/root). updmap is using the following updmap.cfg files (in precedence order): /etc/texmf/web2c/updmap.cfg /usr/share/texmf/web2c/updmap.cfg /usr/share/texlive/texmf/web2c/updmap.cfg /usr/share/texlive/texmf-dist/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" pxdvi output dir: "/var/lib/texmf/fonts/map/pxdvi/updmap" ERROR: The following map file(s) couldn't be found: ua1.map (in /etc/texmf/web2c/updmap.cfg) Did you run mktexlsr? You can disable non-existent map entries using the option --syncwithtrees.