web-dev-qa-db-ja.com

Sudo apt get updateの問題:リポジトリcdrom ...にはリリースファイルがありません

Ubuntuを(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.

どうすれば修正できますか?
Ubuntu 16.04 LTSを使用しています

29
TKCode

端末からこの問題を解決するには、このCD-ROMリポジトリソースを/etc/apt/sources.listから直接削除/コメントする必要があります

 Sudo nano /etc/apt/sources.list

cdromを含む行をコメント化または削除します。例えば:

deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release AMD64 (20160420.3)]/ xenial main restricted
23
PRIHLOP

これを試して:
開くソフトウェアと更新およびbuntu Softwareタブのチェックを外しますCdrom with Ubuntu 16.04 LTS 'Xenial Xerus'セクションの下- CD-ROM/DVDからインストール可能

19