heroku - 无法升级或以其他方式更改 Heroku 上的 tex-live 安装
问题描述
由于 tex-live 不兼容,现在将我的应用程序更新推送到 Heroku 被拒绝。请参阅下面的错误消息。
Heroku 错误信息
remote: tlmgr: Remote repository is newer than local (2018 < 2019)
remote: Cross release updates are only supported with
remote: update-tlmgr-latest(.sh/.exe) --update
remote: Please see https://tug.org/texlive/upgrade.html for
details.
remote: ! Push rejected, failed to compile TeX Live app.
我尝试了以下方法:
添加一个
texlive.repository
包含内容的文件ftp://tug.org/historic/systems/texlive/2018/tlnet-final
。这不起作用,因为 texlive 存储库缺少所需的加密证书。删除 texlive buildpack 并重新开始。下面是我的 buildpack 配置。但是,当我尝试删除它时,我收到以下消息:
$ heroku buildpacks:remove syphar/heroku-buildpack-tex › 错误:https ://buildpack-registry.heroku.com/buildpacks/syphar%2Fheroku-buildpack-tex 处的 JSON 响应正文无效原因:JSON 输入意外结束
在这一点上,我被卡住了!
Heroku 构建包
$ heroku buildpacks
=== nshost Buildpack URLs
1. https://github.com/HashNuke/heroku-buildpack-elixir.git
2. https://github.com/syphar/heroku-buildpack-tex.git
解决方案
这有效:在文件 texlive.packages 中,替换
ftp://tug.org/historic/systems/texlive/2018/tlnet-final
和
https://www.math.utah.edu/pub/texlive/historic/systems/texlive/2018/tlnet-final
解决方案由犹他大学数学系 Nelson Beebe 提供
推荐阅读
- html - Visual Studio WebBrowser 以不同于 IE 的方式呈现网页
- python - 将多个RDD行转换为pyspark中的一行
- mysql - MySQL 从多个表中的列总数中插入(复合?)行
- c - C - 程序为 SEGFAULT 提供了 for 循环,但并非没有
- c# - 如何使用 CodeDom 进行异步调用和函数定义?
- c++ - 用 C++ 编写类型类
- hibernate - 从 DB2 获取 DB2 SQL 错误:SQLCODE=-803, SQLSTATE=23505
- ios - 使用 UISearchBar 时 UITableView 变为 nil
- visual-studio-code - 当我构建项目时,vs-code 突然从 node_modules 弹出“更改”文件
- imagemagick - 如何在不丢失大量信息的情况下使用 GOmagick 将图像压缩到最大