Fedora 37 更新问题

Fedora 37 更新问题

因此,几年后我决定使用我拥有的相同 iso 文件再次安装 fedora。现在我想更新它,当我输入时sudo dnf upgrade它会给我这个:

Copr repo for PyCharm owned by phracek          0.0  B/s |   0  B     00:03    
Errors during downloading metadata for repository 'phracek-PyCharm':
  - Curl error (7): Couldn't connect to server for https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-37-x86_64/repodata/repomd.xml [Failed to connect to copr-be.cloud.fedoraproject.org port 443 after 242 ms: Connection refused]
  - Curl error (7): Couldn't connect to server for https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-37-x86_64/repodata/repomd.xml [Failed to connect to copr-be.cloud.fedoraproject.org port 443 after 252 ms: Connection refused]
  - Curl error (7): Couldn't connect to server for https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-37-x86_64/repodata/repomd.xml [Failed to connect to copr-be.cloud.fedoraproject.org port 443 after 1750 ms: Network is unreachable]
  - Curl error (7): Couldn't connect to server for https://copr-be.cloud.fedoraproject.org/results/phracek/PyCharm/fedora-37-x86_64/repodata/repomd.xml [Failed to connect to copr-be.cloud.fedoraproject.org port 443 after 1746 ms: Network is unreachable]
Error: Failed to download metadata for repo 'phracek-PyCharm': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Fedora 37 - x86_64                              0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'fedora':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-37&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-37&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]

我对 Linux 的经验很少,我不知道如何解决它。我还必须补充一点,我国受到软呢帽的认可。

答案1

[Could not resolve host: mirrors.fedoraproject.org]

这意味着您的网络设置有问题;mirrors.fedoraproject.org解决没有问题。

其他错误指向类似但不同的问题(听起来像是代理配置错误?)。

这表明您有一个非常特殊的网络设置,您可能需要弄清楚如何配置网络连接来解析这些地址。

相关内容