Ubuntu 挂载 ISO 但某些文件无法读取

Ubuntu 挂载 ISO 但某些文件无法读取

我是 Linux 新手,本月刚刚安装了 ubuntu 12.04 amd64。我无法使用 texlive2012 iso 映像安装 Texlive。

我用的是推荐命令安装:

mount -t iso9660 -o ro,loop,noauto /your/texlive2012.iso /mnt

但是安装程序无法读取某些文件。iso 没问题,我检查了 md5。
我用存档管理器从 iso 中提取了所有内容,并成功安装。

那么,为什么 mount 不起作用?

使用 furius iso 安装工具,用 Fuse 安装,然后安装。
(第一次安装,安装时出现警告,再次安装,安装成功。)

使用 Loop 安装时,安装失败。
从终端更新了错误消息,使用 furius iso 安装、循环安装。

texlive2012-20120701_iso$ ./install-tl -gui  
Loading ./tlpkg/texlive.tlpdb  
Installing TeX Live 2012 from: .  
Platform: x86_64-linux =    'x86_64 with GNU/Linux'  
Distribution: inst (compressed)  
Directory for temporary files: /tmp  
Installing [0001/2481, time/total: ??:??/??:??]: 12many [3k]  
Installing [0002/2481, time/total: 00:00/00:00]: 2up [4k]  
Installing [0003/2481, time/total: 00:00/00:00]: Asana-Math [457k]  
Installing [0004/2481, time/total: 00:00/00:00]: ESIEEcv [2k]  
...  
Installing [0265/2481, time/total: 00:10/01:09]: calctab [5k]  
Installing [0266/2481, time/total: 00:10/01:09]: calligra [42k]  
Installing [0267/2481, time/total: 00:10/01:09]: calligra-type1 [59k]  
Downloaded ./archive/calligra-type1.tar.xz, size equal, but md5sum differs;  
downloading again.  
./tlpkg/installer/xz/xzdec.x86_64-linux: (stdin): File is corrupt  
tar: Unexpected EOF in archive  
tar: rmtlseek not stopped at a record boundary  
tar: Error is not recoverable: exiting now  
untar: untarring /home/lichao/ttt/temp/calligra-type1.tar failed (in /home/lichao/ttt/texmf-dist)  
untarring /home/lichao/ttt/temp/calligra-type1.tar failed, stopping install.  
Installation failed.  
Rerunning the installer will try to restart the installation.  
Or you can restart by running the installer with:  
  install-tl --profile installation.profile [EXTRA-ARGS]  

./install-tl: Could not write to install-tl.log, so flushing messages to stderr.  
Loading ./tlpkg/texlive.tlpdb  
Installing TeX Live 2012 from: .  
Platform: x86_64-linux =    'x86_64 with GNU/Linux'  
Distribution: inst (compressed)  
Directory for temporary files: /tmp  
Installer revision: 26794  
Database revision: 26935  
Installing [0001/2481, time/total: ??:??/??:??]: 12many [3k]  
Installing [0002/2481, time/total: 00:00/00:00]: 2up [4k]  
Installing [0003/2481, time/total: 00:00/00:00]: Asana-Math [457k]  
Installing [0004/2481, time/total: 00:00/00:00]: ESIEEcv [2k]  
Installing [0005/2481, time/total: 00:00/00:00]: FAQ-en [1k]  
...  
Installing [0262/2481, time/total: 00:10/01:09]: c90 [2k]  
Installing [0263/2481, time/total: 00:10/01:09]: cachepic [5k]  
Installing [0264/2481, time/total: 00:10/01:09]: cachepic.x86_64-linux [1k]  
Installing [0265/2481, time/total: 00:10/01:09]: calctab [5k]  
Installing [0266/2481, time/total: 00:10/01:09]: calligra [42k]  
Installing [0267/2481, time/total: 00:10/01:09]: calligra-type1 [59k]  
Downloaded ./archive/calligra-type1.tar.xz, size equal, but md5sum differs;  
downloading again.  
untar: untarring /home/lichao/ttt/temp/calligra-type1.tar failed (in /home/lichao/ttt/texmf-dist)  
untarring /home/lichao/ttt/temp/calligra-type1.tar failed, stopping install.  
Installation failed.  
Rerunning the installer will try to restart the installation.  
Or you can restart by running the installer with:  
  install-tl --profile installation.profile [EXTRA-ARGS]  
Segmentation fault (core dumped)  

我确信 iso 没问题。我可以用存档管理器打开它,所有文件都很好。但在安装它之后,甚至存档管理器也无法打开某些文件(在存档管理器中打开 iso 时可以打开这些文件)。

我认为以后我只需使用保险丝即可。

答案1

Ubuntu 提供了 TeX Live 软件包:你不需要手动安装。只需使用包管理器

apt-get install texlive-full

编辑

对于 TeX Live 2012,有 [替代存储库][1]

$ sudo apt-add-repository ppa:texlive-backports/ppa
$ sudo apt-get update
$ sudo apt-get install texlive

或者:为什么不使用官方的 tarballhttp://www.tug.org/texlive/acquire-netinstall.html并按照安装说明进行操作?

相关内容