Ubuntu 更新问题 | 16.04;无法完成更新

Ubuntu 更新问题 | 16.04;无法完成更新

每当我跑步时:

sudo apt-get update

我收到以下消息:

W: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release' does not have a Release file.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

W: The repository 'ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu xenial Release' does not have a Release file.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

E: Failed to fetch cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)/dists/xenial/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Failed to fetch cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)/dists/xenial/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Failed to fetch ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found

E: Failed to fetch ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

我用了

sudo nano /etc/apt/sources.list

并注释或删除包含 cdrom 的行。例如:

deb cdrom:[Ubuntu-Server 16.04 LTS Xenial Xerus - Release amd64 (20160420.3)]/ xenial main restricted>

我可以将其删除。当我运行时sudo apt-get update,收到下面的错误消息。

W: The repository 'http://ppa.launchpad.net/ubuntu-on-rails/ppa/ubuntu xenial Release' does not have a Release file.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

E: Failed to fetch http://ppa.launchpad.net/ubuntu-on-rails/ppa/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

有人能解释一下吗?非常感谢。

答案1

您使用的 ppa 没有适用于 16.04 的软件包,这就是 404 错误的含义。

禁用 ppa 或联系维护人员。

也可以看看当我使用 PPA 或更新我的软件包列表时,如何修复 404 错误?

相关内容