[3rd-Party Apps] Deepin V23 无法使用百度Apollo源
Tofloor
poster avatar
Weirdo
deepin
2024-10-10 23:20
Author

想在Deepin上跑一下Apollo的仿真服务,需要安装 Apollo 环境管理工具,安装命令如下:

# 添加 gpg key
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://apollo-pkg-beta.cdn.bcebos.com/neo/beta/key/deb.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/apolloauto.gpg
sudo chmod a+r /etc/apt/keyrings/apolloauto.gpg
 
# 设置源并更新
echo \
    "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/apolloauto.gpg] https://apollo-pkg-beta.cdn.bcebos.com/apollo/core"\
    $(. /etc/os-release && echo "$VERSION_CODENAME") "main" | \
    sudo tee /etc/apt/sources.list.d/apolloauto.list
sudo apt-get update

系统出现报错如下:

why@why-deeepin:~$ sudo apt-get update
命中:2 https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian buster InRelease                                                                 
命中:3 https://community-packages.deepin.com/driver-23 driver InRelease                                                                             
命中:1 https://community-packages.deepin.com/beige beige InRelease                                                                                  
命中:6 https://nvidia.github.io/libnvidia-container/stable/deb/amd64  InRelease                                                                     
命中:5 https://app-store-files.uniontech.com/241009181446254/appstorev23 beige InRelease                                            
获取:4 https://packages.microsoft.com/repos/code stable InRelease [3,590 B]                                                         
忽略:7 https://apollo-pkg-beta.cdn.bcebos.com/apollo/core buster InRelease
获取:8 https://packages.microsoft.com/repos/code stable/main amd64 Packages [18.7 kB]
获取:9 https://packages.microsoft.com/repos/code stable/main armhf Packages [18.9 kB]
获取:10 https://packages.microsoft.com/repos/code stable/main arm64 Packages [18.8 kB]
错误:11 https://apollo-pkg-beta.cdn.bcebos.com/apollo/core buster Release
  404  Not Found [IP: 60.221.18.38 443]
正在读取软件包列表... 完成
E: 仓库 “https://apollo-pkg-beta.cdn.bcebos.com/apollo/core buster Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

请教一下该如何解决

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
2024-10-12 09:24
#1

代号改成bionic试试,可能它只支持老版本的debian代号

Reply View the author