深度操作系统15.11 apt更新失败

深度操作系统15.11 apt更新失败

我使用的是deepin 15.11并将/etc/apt/source.list更改为

deb [by-hash=force] http://mirrors.aliyun.com/deepin lion main contrib non-free

按照阿里巴巴的官方指南,但是当我使用时apt update,出现错误

Ign:1 http://mirrors.aliyun.com/deepin lion InRelease
Hit:2 http://packages.microsoft.com/repos/vscode stable InRelease
Err:3 http://mirrors.aliyun.com/deepin lion Release      
  404  Not Found [IP: 222.186.18.240 80]
Hit:4 https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease
Reading package lists... Done
E: The repository 'http://mirrors.aliyun.com/deepin lion Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我曾经成功过apt update,但今天失败了。我不知道为什么,你能帮我吗?谢谢。

答案1

E: The repository 'http://mirrors.aliyun.com/deepin lion Release' does not have a Release file.

意思是lion目录http://mirrors.aliyun.com/deepin不存在。

deepin 仓库接受apricot(又名stable)和unstable

编辑您的sources.list如下:

deb [by-hash=force] http://mirrors.aliyun.com/deepin apricot main contrib non-free

或者:

deb [by-hash=force] http://mirrors.aliyun.com/deepin stable main contrib non-free

deppin:源配置

相关内容