首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Miktex有问题(并编译Latex代码)

安装Miktex有问题(并编译Latex代码)
EN

Ask Ubuntu用户
提问于 2023-04-19 10:38:12
回答 1查看 95关注 0票数 0

我相信我已经安装了Miktex,因为当我运行miktex --version时,我得到了One MiKTeX Utility 1.7 (MiKTeX 23.4)

但是,我不能运行简单的乳胶码。我试过sudo apt-get update,但令人惊讶的是:

代码语言:javascript
复制
Ign:2 https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy InRelease                                               
Hit:3 https://packages.microsoft.com/repos/edge stable InRelease                                                                   
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy InRelease                                                                    
Err:5 https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy Release                                           
  404  Not Found [IP: 185.125.190.52 443]
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease 
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Get:1 https://mirrors.aliyun.com/CTAN/systems/win32/miktex/setup/deb jammy InRelease [2 029 B]
Reading package lists... Done            
E: The repository 'https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://miktex.org/download/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu jammy InRelease' doesn't support architecture 'i386'

有没有人曾讨论过这样的问题?注意,我在Visual中使用Latex研讨会。

EN

回答 1

Ask Ubuntu用户

发布于 2023-04-19 11:20:35

Apt给出的消息在这里与此无关,它并不意味着安装Miktex会出现任何问题;还会有其他问题影响您的LaTeX编译。这就是他们的意思:

代码语言:javascript
复制
Err:5 https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy Release                                           
  404  Not Found [IP: 185.125.190.52 443]

为朱莉娅提供的PPA不支持您的Ubuntu版本,它已经有一段时间没有更新了,可能会被放弃。您可以使用sudo add-apt-repository -r ppa:staticfloat/julia-deps删除它以删除消息,也可以将其留在那里,存储库可能会添加支持,但Ubuntu22有一天会添加支持。julia是用于在Ubuntu上编译朱莉娅的软件包列表,它与Miktex无关。

代码语言:javascript
复制
E: The repository 'https://ppa.launchpadcontent.net/staticfloat/julia-deps/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

这是对朱莉娅-戴普斯之前错误的总结。

代码语言:javascript
复制
W: http://miktex.org/download/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

这是关于不推荐的不安全地存储密钥的方法的警告,它不会立即停止更新或安装Miktex,以便按照这个答案解析警告

代码语言:javascript
复制
N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu jammy InRelease' doesn't support architecture 'i386'

当您在Apt中启用i386体系结构时,它将检查存储库是否提供了i386包,但并不是所有存储库都支持i386,因此它将生成此消息,不会在这里造成任何问题。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1464243

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档