AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[texlive](ubuntu)

Martin Hope
kurokirasama
Asked: 2020-06-25 17:32:55 +0800 CST

尝试在 ubuntu 20.04 上通过 tlmgr 安装乳胶包时出现错误,verify_checksum: -5

  • 5

我在 ubuntu 20.04 上安装了 texlive:

sudo apt -y install texlive-latex-extra texlive-extra-utils texlive-font-utils

尝试安装乳胶包(任何)时,我得到了:

/usr/bin/tlmgr: unexpected return value from verify_checksum: -5

有任何想法吗?

编辑:你好,我用tlmgr install package_name. tlmgr 安装乳胶时安装...的输出dpkg -S $(which tlmgr)

texlive-base: /usr/bin/tlmgr

输出apt-cache policy texlive-base:

texlive-base:
  Installed: 2019.20200218-1
  Candidate: 2019.20200218-1
  Version table:
 *** 2019.20200218-1 500
        500 http://cl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://cl.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

输出tlmgr --version:

tlmgr revision 53568 (2020-01-27 19:20:16 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2019
texlive 20.04
  • 2 个回答
  • 2986 Views
Martin Hope
Niranjan
Asked: 2019-10-14 21:43:34 +0800 CST

安装最新版本的 tex [重复]

  • 2
这个问题在这里已经有了答案:
为什么 Ubuntu 存储库没有最新版本的软件? (6 个回答)
2年前关闭。

我正在尝试texlive-full从终端安装。我发出了两个命令。

sudo apt-get install texlive-full
sudo apt-get update

我也试过——

sudo apt-get upgrade texlive-full

尽管如此,我只有 2015 版本的texlive(非常旧的)。为什么我的终端不允许我安装此软件包的最新版本?有没有办法具体说一下install version 2019?我尝试搜索 2019 版本的版本号,但找不到。甚至我作为输出得到的数字tex -version是 -

TeX 3.14159265 (TeX Live 2015/Debian)
kpathsea version 6.2.1

如何获取最新版本texlive?

latex texlive
  • 1 个回答
  • 4694 Views
Martin Hope
Francesco Minnocci
Asked: 2019-10-07 06:29:09 +0800 CST

在尝试安装损坏的 texlive 后,安装与 TexLive 相关的任何内容(包括 Texmaker)时出现问题

  • 1

我一直在使用 MikTex 和 TexMaker 作为编译器/编辑器。

有一次,我尝试删除 MikTex 并切换到 TexLive,但由于安装已损坏,它无法正常工作。我查看了这个网站上的几个问题,并用它们去除了 TexLive 的任何残留物(参见https://tex.stackexchange.com/questions/95483/how-to-remove-everything-related-to-tex-live- for-fresh-install-on-ubuntu/95502#95502 ); 我清除了 texmf 和 ~/.texlive。

然后我重新安装了 MikTex。现在,当我尝试重新安装 TexMaker 时,我发现它也需要 TexLive 包,并且它会产生与尝试安装 TexLive 时相同的错误。特别是,似乎存在与处理 texlive 包相关的一系列错误,以及与 kpsewhich 相关的东西;还有很多与依赖项相关的东西需要安装但无法配置。我附上sudo apt-get install texmaker.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  asymptote asymptote-doc fonts-lmodern fonts-texgyre freeglut3 libfile-homedir-perl libfile-which-perl libmime-charset-perl libosmesa6 libqt5printsupport5 libsombok3 libunicode-linebreak-perl libyaml-tiny-perl lmodern
  preview-latex-style ps2eps tex-gyre texlive-base texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-english texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures
  texlive-plain-generic texlive-pstricks texmaker-data tipa
Suggested packages:
  libencode-hanextra-perl libpod2-base-perl perl-tk chktex dvidvi dvipng fragmaster lacheck latexdiff latexmk purifyeps xindy texlive-fonts-recommended-doc texlive-latex-base-doc python-pygments icc-profiles
  libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc dot2tex prerex ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex texlive-pstricks-doc texlive-lang-all
Recommended packages:
  latex-beamer
The following NEW packages will be installed:
  asymptote asymptote-doc fonts-lmodern fonts-texgyre freeglut3 libfile-homedir-perl libfile-which-perl libmime-charset-perl libosmesa6 libqt5printsupport5 libsombok3 libunicode-linebreak-perl libyaml-tiny-perl lmodern
  preview-latex-style ps2eps tex-gyre texlive-base texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-english texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures
  texlive-plain-generic texlive-pstricks texmaker texmaker-data tipa
0 upgraded, 31 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/254 MB of archives.
After this operation, 545 MB of additional disk space will be used.
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package freeglut3:amd64.
(Reading database ... 264719 files and directories currently installed.)
Preparing to unpack .../00-freeglut3_2.8.1-3_amd64.deb ...
Unpacking freeglut3:amd64 (2.8.1-3) ...
Selecting previously unselected package libosmesa6:amd64.
Preparing to unpack .../01-libosmesa6_19.0.8-0ubuntu0~18.04.2_amd64.deb ...
Unpacking libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ...
Selecting previously unselected package fonts-lmodern.
Preparing to unpack .../02-fonts-lmodern_2.004.5-3_all.deb ...
Unpacking fonts-lmodern (2.004.5-3) ...
Selecting previously unselected package texlive-base.
Preparing to unpack .../03-texlive-base_2017.20180305-1_all.deb ...
Unpacking texlive-base (2017.20180305-1) ...
Selecting previously unselected package texlive-latex-base.
Preparing to unpack .../04-texlive-latex-base_2017.20180305-1_all.deb ...
Unpacking texlive-latex-base (2017.20180305-1) ...
Selecting previously unselected package texlive-latex-recommended.
Preparing to unpack .../05-texlive-latex-recommended_2017.20180305-1_all.deb ...
Unpacking texlive-latex-recommended (2017.20180305-1) ...
Selecting previously unselected package texlive-pictures.
Preparing to unpack .../06-texlive-pictures_2017.20180305-1_all.deb ...
Unpacking texlive-pictures (2017.20180305-1) ...
Selecting previously unselected package texlive-plain-generic.
Preparing to unpack .../07-texlive-plain-generic_2017.20180305-2_all.deb ...
Unpacking texlive-plain-generic (2017.20180305-2) ...
Selecting previously unselected package texlive-pstricks.
Preparing to unpack .../08-texlive-pstricks_2017.20180305-2_all.deb ...
Unpacking texlive-pstricks (2017.20180305-2) ...
Selecting previously unselected package asymptote.
Preparing to unpack .../09-asymptote_2.41-4_amd64.deb ...
Unpacking asymptote (2.41-4) ...
Selecting previously unselected package asymptote-doc.
Preparing to unpack .../10-asymptote-doc_2.41-4_all.deb ...
Unpacking asymptote-doc (2.41-4) ...
Selecting previously unselected package fonts-texgyre.
Preparing to unpack .../11-fonts-texgyre_20160520-1_all.deb ...
Unpacking fonts-texgyre (20160520-1) ...
Selecting previously unselected package libfile-which-perl.
Preparing to unpack .../12-libfile-which-perl_1.21-1_all.deb ...
Unpacking libfile-which-perl (1.21-1) ...
Selecting previously unselected package libfile-homedir-perl.
Preparing to unpack .../13-libfile-homedir-perl_1.002-1_all.deb ...
Unpacking libfile-homedir-perl (1.002-1) ...
Selecting previously unselected package libmime-charset-perl.
Preparing to unpack .../14-libmime-charset-perl_1.012.2-1_all.deb ...
Unpacking libmime-charset-perl (1.012.2-1) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../15-libqt5printsupport5_5.9.5+dfsg-0ubuntu2.3_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Selecting previously unselected package libsombok3:amd64.
Preparing to unpack .../16-libsombok3_2.4.0-1_amd64.deb ...
Unpacking libsombok3:amd64 (2.4.0-1) ...
Selecting previously unselected package libunicode-linebreak-perl.
Preparing to unpack .../17-libunicode-linebreak-perl_0.0.20160702-1build2_amd64.deb ...
Unpacking libunicode-linebreak-perl (0.0.20160702-1build2) ...
Selecting previously unselected package libyaml-tiny-perl.
Preparing to unpack .../18-libyaml-tiny-perl_1.70-1_all.deb ...
Unpacking libyaml-tiny-perl (1.70-1) ...
Selecting previously unselected package lmodern.
Preparing to unpack .../19-lmodern_2.004.5-3_all.deb ...
Unpacking lmodern (2.004.5-3) ...
Selecting previously unselected package preview-latex-style.
Preparing to unpack .../20-preview-latex-style_11.91-1ubuntu1_all.deb ...
Unpacking preview-latex-style (11.91-1ubuntu1) ...
Selecting previously unselected package ps2eps.
Preparing to unpack .../21-ps2eps_1.68+binaryfree-2_amd64.deb ...
Unpacking ps2eps (1.68+binaryfree-2) ...
Selecting previously unselected package tex-gyre.
Preparing to unpack .../22-tex-gyre_20160520-1_all.deb ...
Unpacking tex-gyre (20160520-1) ...
Selecting previously unselected package texlive-extra-utils.
Preparing to unpack .../23-texlive-extra-utils_2017.20180305-2_all.deb ...
Unpacking texlive-extra-utils (2017.20180305-2) ...
Selecting previously unselected package texlive-font-utils.
Preparing to unpack .../24-texlive-font-utils_2017.20180305-2_all.deb ...
Unpacking texlive-font-utils (2017.20180305-2) ...
Selecting previously unselected package texlive-fonts-recommended.
Preparing to unpack .../25-texlive-fonts-recommended_2017.20180305-1_all.deb ...
Unpacking texlive-fonts-recommended (2017.20180305-1) ...
Selecting previously unselected package texlive-lang-english.
Preparing to unpack .../26-texlive-lang-english_2017.20180305-1_all.deb ...
Unpacking texlive-lang-english (2017.20180305-1) ...
Selecting previously unselected package texlive-latex-extra.
Preparing to unpack .../27-texlive-latex-extra_2017.20180305-2_all.deb ...
Unpacking texlive-latex-extra (2017.20180305-2) ...
Selecting previously unselected package texmaker-data.
Preparing to unpack .../28-texmaker-data_5.0.2-1build2_all.deb ...
Unpacking texmaker-data (5.0.2-1build2) ...
Selecting previously unselected package texmaker.
Preparing to unpack .../29-texmaker_5.0.2-1build2_amd64.deb ...
Unpacking texmaker (5.0.2-1build2) ...
Selecting previously unselected package tipa.
Preparing to unpack .../30-tipa_2%3a1.3-20_all.deb ...
Unpacking tipa (2:1.3-20) ...
Setting up freeglut3:amd64 (2.8.1-3) ...
Setting up libfile-which-perl (1.21-1) ...
Setting up libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ...
Setting up libfile-homedir-perl (1.002-1) ...
Setting up tex-gyre (20160520-1) ...
Setting up texmaker-data (5.0.2-1build2) ...
Setting up preview-latex-style (11.91-1ubuntu1) ...
Setting up fonts-texgyre (20160520-1) ...
Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Setting up libyaml-tiny-perl (1.70-1) ...
Setting up libmime-charset-perl (1.012.2-1) ...
Setting up asymptote-doc (2.41-4) ...
Setting up texlive-base (2017.20180305-1) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... 
mktexlsr: Updating /usr/share/texmf/ls-R... 
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
kpsewhich: warning: running with administrator privileges
initexmf: warning: Option --admin should be specified when running this program with administrator privileges
initexmf: warning: Option --admin should be specified when running this program with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
tl-paper: setting paper size for dvips to a4: /var/cache/miktex-texmf/dvips/config/config-paper.ps
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
tl-paper: setting paper size for dvipdfmx to a4: /var/cache/miktex-texmf/dvipdfmx/dvipdfmx-paper.cfg
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
tl-paper: setting paper size for pdftex to a4: /var/cache/miktex-texmf/tex/generic/config/pdftexconfig.tex
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
kpsewhich: warning: running with administrator privileges
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
dpkg: error processing package texlive-base (--configure):
 installed texlive-base package post-installation script subprocess returned error exit status 1
Setting up ps2eps (1.68+binaryfree-2) ...
dpkg: dependency problems prevent configuration of texlive-fonts-recommended:
 texlive-fonts-recommended depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.

dpkg: error processing package texlive-fonts-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-plain-generic:
 texlive-plain-generic depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.

No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                                                                    dpkg: error processing package texlive-plain-generic (--configure):
 dependency problems - leaving unconfigured
Setting up texmaker (5.0.2-1build2) ...
dpkg: dependency problems prevent configuration of texlive-latex-base:
 texlive-latex-base depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.

dpkg: error processing package texlive-latex-base (--configure):
 dependency problems - leaving unconfigured
Setting up libsombok3:amd64 (2.4.0-1) ...
No apport report written because MaxReports is reached already
                                                              Setting up fonts-lmodern (2.004.5-3) ...
dpkg: dependency problems prevent configuration of asymptote:
 asymptote depends on texlive-latex-base; however:
  Package texlive-latex-base is not configured yet.
 asymptote depends on texlive-plain-generic; however:
  Package texlive-plain-generic is not configured yet.

dpkg: error processing package asymptote (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of texlive-pstricks:
 texlive-pstricks depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.
 texlive-pstricks depends on texlive-plain-generic (>= 2017.20170628); however:
  Package texlive-plain-generic is not configured yet.

dpkg: error processing package texlive-pstricks (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-recommended:
 texlive-latex-recommended depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.
 texlive-latex-recommended depends on texlive-latex-base (>= 2017.20170628); however:
  Package texlive-latex-base is not configured yet.

dpkg: error processing package texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: dependency problems prevent configuration of texlive-extra-utils:
 texlive-extra-utils depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.
 texlive-extra-utils depends on texlive-latex-base (>= 2017.20170628); however:
  Package texlive-latex-base is not configured yet.

dpkg: error processing package texlive-extra-utils (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-extra:
 texlive-latex-extra depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.
 texlive-latex-extra depends on texlive-latex-recommended (>= 2017.20170628); however:
  Package texlive-latex-recommended is not configured yet.

No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: error processing package texlive-latex-extra (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pictures:
 texlive-pictures depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.
 texlive-pictures depends on texlive-latex-recommended (>= 2017.20170628); however:
  Package texlive-latex-recommended is not configured yet.

dpkg: error processing package texlive-pictures (--configure):
No apport report written because MaxReports is reached already
                                                               dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tipa:
 tipa depends on texlive-latex-base; however:
  Package texlive-latex-base is not configured yet.

dpkg: error processing package tipa (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of texlive-font-utils:
 texlive-font-utils depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.

dpkg: error processing package texlive-font-utils (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of texlive-lang-english:
 texlive-lang-english depends on texlive-base (>= 2017.20170628); however:
  Package texlive-base is not configured yet.

dpkg: error processing package texlive-lang-english (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up libunicode-linebreak-perl (0.0.20160702-1build2) ...
Setting up lmodern (2.004.5-3) ...
Processing triggers for tex-common (6.09) ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
Errors were encountered while processing:
 texlive-base
 texlive-fonts-recommended
 texlive-plain-generic
 texlive-latex-base
 asymptote
 texlive-pstricks
 texlive-latex-recommended
 texlive-extra-utils
 texlive-latex-extra
 texlive-pictures
 tipa
 texlive-font-utils
 texlive-lang-english
E: Sub-process /usr/bin/dpkg returned an error code (1)

下面是请求的输出。

which tl-paper给出:

/usr/bin/tl-paper

which kpsewhich产量:

/usr/local/bin/kpsewhich

dpkg -S $(which kpsewhich)产量:

texlive-binaries: /usr/share/man/man1/kpsewhich.1.gz
texlive-binaries: /usr/bin/kpsewhich

dpkg -S $(which tl-paper)给出:

texlive-base: /usr/bin/tl-paper
software-installation package-management dpkg latex texlive
  • 1 个回答
  • 740 Views
Martin Hope
johnymm
Asked: 2019-09-16 18:52:42 +0800 CST

如何让 Ubuntu 看到通过 TeXLive 安装的 LaTeX 字体?

  • 2

我有 Lubuntu 19.04,我希望它能够看到通过 TeXLive 安装的 TTF 和 OTF 字体。

请注意,我没有通过包管理器安装 TeXLive(由于某种原因,它给了我一个过时的 TeX 发行版),但我是通过 tug.org 网站推荐的 install-tl 脚本安装的。因此,LaTeX 字体没有安装在默认目录中,而是安装在它们自己的 texlive 目录中,因此 Ubuntu 默认看不到它们。

我知道 TeX 字体可通过包管理器获得,但添加而不是双重安装它们,因为它们已经存在(并避免任何可能的冲突)。

那么,是否可以让我的操作系统看到可用的 TeXlive 字体?

谢谢。

fonts texlive
  • 1 个回答
  • 2103 Views
Martin Hope
absurdblurb
Asked: 2019-08-09 03:46:35 +0800 CST

Ubuntu 18,无法安装 xelatex

  • 5

我正在尝试使用安装 xelatex

sudo apt install texlive-xetex

但我收到了这些错误。

Err:1 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 texlive-latex-base all 2017.20180305-1                                                                                                         
  403  Forbidden [IP: 103.123.234.254 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/t/texlive-base/texlive-latex-base_2017.20180305-1_all.deb  403  Forbidden [IP: 103.123.234.254 80]                                        
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我已经尝试过运行apt-get update并使用--fix-missing标志,但它并没有解决问题。

有人可以告诉我该怎么做。我是一个新手 ubuntu 用户。

谢谢!

pdf latex texlive
  • 1 个回答
  • 3779 Views
Martin Hope
user694353
Asked: 2019-02-10 13:35:14 +0800 CST

软件安装退出

  • 0

从命令行安装 TeXlive full 时,终端在 70% 时返回:

E: Failed to fetch 
http://ar.archive.ubuntu.com/ubuntu/pool/universe/t/tcltk-defaults`/tk_8.6.0+9_amd64.deb

Cannot initiate the connection to ar.archive.ubuntu.com:80 . - connect (101: 
Network is unreachable)

    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

问题

这是网络问题还是其他问题?是否可以从退出点(70%)重新开始安装?

software-installation texlive
  • 1 个回答
  • 58 Views
Martin Hope
Grigorios Kostakos
Asked: 2018-09-24 23:15:35 +0800 CST

pgf 和 pstricks 的不透明度未出现在 .ps 和 .pdf 文件中

  • 2

我最近使用 TexLive 2017 将我的 PC 升级到 Ubuntu 18.04。出现的问题是 tikz (PGF) 和 pstricks 图片的不透明度在渲染后在 .ps 和 .pdf 文件中不起作用(出现)。

我在 Texstudio、Texmaker 和 Kile 中尝试过,并且所有三个编辑器都出现了问题。我试图证明和okular,并且两个观众都出现了问题。

我怀疑问题不是由 TexLive 引起的,而是由 .ps 和 .pdf 打印引起的,因为在 Texstudio 的预览和 Ktikz (Qtikz) 中,PGF 图像正确渲染。

关于如何处理这个问题的任何想法?

编辑: @N0rbert。这是一个最小的示例:在 Ktikz 中,代码

\definecolor{zzwwqq}{rgb}{0.6,0.4,0.}
\begin{tikzpicture}[line cap=round,line join=round,x=1.0cm,y=1.0cm]
\clip(-2.145506918452885,-1.325689276698863) rectangle (3.903912924143249,3.2296596894011578);
\fill[line width=1.2pt,color=zzwwqq,fill=zzwwqq,fill opacity=0.25] (0.,0.) -- (2.,0.) -- (2.,2.) -- (0.,2.) -- cycle;
\draw [line width=1.2pt,fill=black,fill opacity=0.25] (1.,1.) circle (0.5cm);
\draw [line width=1.2pt,color=zzwwqq] (0.,0.)-- (2.,0.);
\draw [line width=1.2pt,color=zzwwqq] (2.,0.)-- (2.,2.);
\draw [line width=1.2pt,color=zzwwqq] (2.,2.)-- (0.,2.);
\draw [line width=1.2pt,color=zzwwqq] (0.,2.)-- (0.,0.);
\end{tikzpicture}

给出这张照片(右):

正确的

如果编译模拟代码

\documentclass[10pt]{article}
\usepackage[english]{babel}
\usepackage{graphicx, color}
\usepackage{pgf,tikz}
\usepackage{tkz-tab}
\usetikzlibrary{shapes,snakes,arrows,backgrounds}
\usetikzlibrary{scopes,svg.path,shapes.geometric,shadows}

\begin{document}


\definecolor{zzwwqq}{rgb}{0.6,0.4,0.}
    \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
    \clip(-2.145506918452885,-1.325689276698863) rectangle (3.903912924143249,3.2296596894011578);
    \fill[line width=1.2pt,color=zzwwqq,fill=zzwwqq,fill opacity=0.25] (0.,0.) -- (2.,0.) -- (2.,2.) -- (0.,2.) -- cycle;
    \draw [line width=1.2pt,fill=black,fill opacity=0.25] (1.,1.) circle (0.5cm);
    \draw [line width=1.2pt,color=zzwwqq] (0.,0.)-- (2.,0.);
    \draw [line width=1.2pt,color=zzwwqq] (2.,0.)-- (2.,2.);
    \draw [line width=1.2pt,color=zzwwqq] (2.,2.)-- (0.,2.);
    \draw [line width=1.2pt,color=zzwwqq] (0.,2.)-- (0.,0.);
    \end{tikzpicture}


\end{document}

在 Texstudio(或其他编辑器)中

给出这张照片(错误):

错误的

在最后一张图片中,不透明度不起作用。

latex texlive 18.04
  • 1 个回答
  • 1296 Views
Martin Hope
bit
Asked: 2018-06-09 11:55:35 +0800 CST

如何从路径中删除 texlive

  • 1

我想在使用rm -rf命令删除它后从我的 PATH 中删除 texlive,并且我已经删除了 .bashrc 中 texlive 的路径,但是当我运行命令时:echo $PATH我仍然在我的路径中看到 texlive:

/home/tonomo/anaconda3/bin:/home/tonomo/anaconda3/bin:/home/tonomo/anaconda3/bin:/home/tonomo/anaconda3/bin:/usr/local/texlive/2018/bin/x86_64-linux:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/tonomo/.local/bin:/home/tonomo/bin

另外我不确定为什么我的路径列表中有重复的路径,这正常吗?

更新

@Sebastian Stark 提供的答案是我解决这个问题所需要的。

environment-variables bashrc .profile texlive
  • 1 个回答
  • 386 Views
Martin Hope
pendingIntent
Asked: 2018-03-29 09:49:15 +0800 CST

在 Ubuntu 16.04 LTS 上安装 texlive 2017 的问题

  • 5

我试图从 texlive 2015 更新到 2017。

我运行了以下命令:

sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full

运行最后一行后,我得到了很多具有未满足依赖项的包名称和以下错误:

 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

但是运行 sudo apt-get -f install会导致另一个错误

Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
 trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

看起来我遇到了一个循环问题。我尝试了在 Ubuntu 16.04 LTS 上安装 texlive 2017
中列出的解决方案,但没有成功。

有人可以帮帮我吗?

package-management dpkg apt latex texlive
  • 1 个回答
  • 3919 Views
Martin Hope
Kian
Asked: 2015-08-29 02:28:23 +0800 CST

为什么我在 Tex 中丢失包裹

  • 10

我正在尝试安装 texlive 2012。我正在运行 Ubuntu 12.04。我按照此处的说明操作:How do I install the latest TeX Live 2012?

但我现在收到错误消息,例如“未找到 ulem.sty”。我做错了什么?

texlive
  • 2 个回答
  • 13023 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve