Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
时间: 2023-11-13 21:35:04 浏览: 43
This error occurs when the system is unable to download metadata from the AppStream repository. It can be caused by various reasons such as an internet connection issue, incorrect repository configuration, or server downtime.
To fix this error, you can try the following steps:
1. Check your internet connection and ensure that it is working properly.
2. Check the repository configuration file (/etc/yum.repos.d/appstream.repo) and ensure that it is correct. You can verify the configuration by comparing it with a working repository configuration file.
3. Disable the AppStream repository temporarily and try to update the system. To do this, run the following command:
sudo dnf --disablerepo=appstream update
This command will disable the AppStream repository and update the system using other available repositories.
4. If the above steps do not work, wait for some time and try again later. It is possible that the server is down or undergoing maintenance.
If none of the above solutions work, you can try contacting the AppStream repository support team for further assistance.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![xlsx](https://img-home.csdnimg.cn/images/20210720083732.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)