运行时出错:sudo apt-get install build-essential --fix-missing [closed]

Errors when running: sudo apt-get install build-essential --fix-missing [closed]

提问人:Daniel Najarian 提问时间:11/14/2023 最后编辑:273KDaniel Najarian 更新时间:11/15/2023 访问量:58

问:


这个问题似乎与特定的编程问题、软件算法或程序员主要使用的软件工具无关。如果您认为该问题在另一个 Stack Exchange 站点上是主题,您可以发表评论以解释在哪里可以回答该问题。

8天前关闭。

从 requirements.txt 获取包时,出现错误:

Building wheel for simpleitk (pyproject.toml) did not run successfully

后跟 CMake 错误。为了解决这个问题,我尝试运行

sudo apt-get update and sudo apt-get install build-essential

但是当我使用 --fix-missing 运行后者时,我得到错误:123

我不确定如何解决这个错误。一些搜索发现我的 PPA 中可能存在一些错误,但我不确定要运行哪些命令来修复它。

编辑:我运行了评论建议的代码并得到了以下响应:

Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Reading package lists... Done
E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 2d 15h 31min 38s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 2d 15h 32min 17s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease is not valid yet (invalid for another 1d 1h 29min 28s). Updates for this repository will not be applied.
python ubuntu cmake 构建

评论

1赞 273K 11/14/2023
刷新包缓存:sudo apt update。不要发布文字图片。
0赞 Daniel Najarian 11/15/2023
我运行了您建议的代码,并使用我收到的错误更新了帖子
0赞 273K 11/15/2023
为什么要破坏文本样式?同样,不要在图像中发布文本。
0赞 Daniel Najarian 11/15/2023
破坏文本样式是什么意思?对于图像 - 我在发布代码时遇到问题。它一直给我关于代码格式不正确的错误,我是第一次在这里发帖。
0赞 273K 11/15/2023
在发布第一个问题和常见问题解答之前,您应该已经通过了导览。您可以在编辑问题时使用工具栏按钮,这非常直观。

答: 暂无答案