错误1:正在读取软件包列表... 完成
E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/non-free/binary-amd64/by-hash/SHA256/1aa4730768881cf305510ee9495408455569317d552966e51cdbede0bbe3cf2a  404  Not Found [IP: 58.51.151.5 443]
E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/contrib/binary-i386/by-hash/SHA256/e1a6445a6f48428092b67cc8d2ef15d1c7feda45aa517c7c25fbac40ad51b047  404  Not Found [IP: 58.51.151.5 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
错误2:W: GPG 错误:https://community-store-packages.deepin.com/appstore eagle InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 1C30362C0A53D5BB
E: 仓库 “https://community-store-packages.deepin.com/appstore eagle InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

出现以上错误提示,请安照下面步骤升级:

1.  将<font face="" "="" style="-webkit-tap-highlight-color: transparent; outline: 0px;">/etc/apt/sources.list修改为默认15.11的源: 

  1. ## Generated by deepin-installer
  2. deb [by-hash=force] http://mirrors.aliyun.com/deepin lion main contrib non-free
  3. #deb-src http://mirrors.aliyun.com/deepin lion main contrib non-free
Copy the Code


2. 安装dirmngr

  1. sudo apt-get install dirmngr
Copy the Code


3. 添加公钥:

  1. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 1C30362C0A53D5BB
Copy the Code


4. 修改源文件升级V20:

  1. 1、将15.11官方源替换成20官方源(/etc/apt/sources.list)

  2. deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free

  3. 2、新增20官方商店源(/etc/apt/sources.list.d/appstore.list ),无list文件创建后添加:

  4. deb https://community-store-packages.deepin.com/appstore eagle appstore
Copy the Code


5. sudo apt-get update

6. sudo apt-get dist-upgrade