- 打开这个文件
地址是/etc/aptsource.list.d/ hzwhuang-ubuntu-ss-qt5-bionic.list
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200429130450713.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NleHlsdW5h,size_16,color_FFFFFF,t_70)
- 使用vim打开后,将第一条给注释了。
![在这里插入图片描述](https://img-blog.csdnimg.cn/2020042913061352.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NleHlsdW5h,size_16,color_FFFFFF,t_70)
- 或者使用其他编辑器都可以
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200429130229212.png)
- 然后在更新就没问题了
- 操作历史
cds@cds-TN15S:~$ sudo apt-get update
[sudo] cds 的密码:
获取:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
忽略:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
获取:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
忽略:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
获取:3 file:/var/visionworks-repo InRelease
忽略:3 file:/var/visionworks-repo InRelease
获取:4 file:/var/visionworks-sfm-repo InRelease
忽略:4 file:/var/visionworks-sfm-repo InRelease
获取:5 file:/var/visionworks-tracking-repo InRelease
忽略:5 file:/var/visionworks-tracking-repo InRelease
获取:6 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
获取:7 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
获取:8 file:/var/visionworks-repo Release [1,999 B]
获取:9 file:/var/visionworks-sfm-repo Release [2,003 B]
获取:6 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
获取:10 file:/var/visionworks-tracking-repo Release [2,008 B]
获取:7 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
获取:8 file:/var/visionworks-repo Release [1,999 B]
获取:9 file:/var/visionworks-sfm-repo Release [2,003 B]
获取:10 file:/var/visionworks-tracking-repo Release [2,008 B]
命中:11 http://mirrors.aliyun.com/ubuntu bionic InRelease
命中:12 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
命中:13 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
命中:15 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
命中:16 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
命中:18 http://linux.teamviewer.com/deb stable InRelease
忽略:22 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic InRelease
命中:23 http://packages.microsoft.com/repos/vscode stable InRelease
命中:24 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
错误:25 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
正在读取软件包列表... 完成
E: 仓库 “http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
cds@cds-TN15S:~$ sudo apt-get update
获取:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
忽略:1 file:/var/cuda-repo-10-2-local-10.2.89-440.40 InRelease
获取:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
忽略:2 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 InRelease
获取:3 file:/var/visionworks-repo InRelease
忽略:3 file:/var/visionworks-repo InRelease
获取:4 file:/var/visionworks-sfm-repo InRelease
忽略:4 file:/var/visionworks-sfm-repo InRelease
获取:5 file:/var/visionworks-tracking-repo InRelease
忽略:5 file:/var/visionworks-tracking-repo InRelease
获取:6 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
获取:7 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
获取:8 file:/var/visionworks-repo Release [1,999 B]
获取:6 file:/var/cuda-repo-10-2-local-10.2.89-440.40 Release [574 B]
获取:9 file:/var/visionworks-sfm-repo Release [2,003 B]
获取:7 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64 Release [574 B]
获取:10 file:/var/visionworks-tracking-repo Release [2,008 B]
获取:8 file:/var/visionworks-repo Release [1,999 B]
获取:9 file:/var/visionworks-sfm-repo Release [2,003 B]
获取:10 file:/var/visionworks-tracking-repo Release [2,008 B]
命中:12 http://mirrors.aliyun.com/ubuntu bionic InRelease
命中:15 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
命中:17 http://linux.teamviewer.com/deb stable InRelease
命中:19 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
命中:20 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
命中:21 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
命中:22 http://packages.microsoft.com/repos/vscode stable InRelease
命中:23 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
正在读取软件包列表... 完成
cds@cds-TN15S:~$