我使用 Ubuntu 20.04 双启动。
sudo apt-get update
我明白了:
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Ign:8 http://ppa.launchpad.net/colingille/freshlight/ubuntu focal InRelease
Hit:9 http://ppa.launchpad.net/diesch/testing/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/yann
E: The repository 'cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal 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.
E: The repository 'http://ppa.launchpad.net/colingille/freshlight/ubuntu focal 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.```
How can I solve this?
答案1
cdrom
从文件中删除条目/etc/apt/sources.list
。
关于 PPA,它没有适用于 Ubuntu 20.04 的文件。也将其删除。