提问人:Daniel Najarian 提问时间:11/14/2023 最后编辑:273KDaniel Najarian 更新时间:11/15/2023 访问量:58
运行时出错:sudo apt-get install build-essential --fix-missing [closed]
Errors when running: sudo apt-get install build-essential --fix-missing [closed]
问:
从 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 运行后者时,我得到错误:1、2 和 3
我不确定如何解决这个错误。一些搜索发现我的 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.
答: 暂无答案
评论