web-dev-qa-db-fra.com

Problème avec Sudo apt get update: le cdrom du référentiel ... n'a pas de fichier de version

Chaque fois que j'essaie de mettre à jour (en utilisant Sudo apt-get update) mon Ubuntu, j'ai ce problème:

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.

Comment puis-je le réparer?
J'utilise Ubuntu 16.04 LTS

29
TKCode

Pour résoudre ce problème à partir du terminal, vous devez supprimer/commenter cette source de référentiel de CD-ROM directement à partir de /etc/apt/sources.list

 Sudo nano /etc/apt/sources.list

et commentez ou supprimez les lignes qui incluent cdrom. par exemple:

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

Essaye ça:
Ouvrez Logiciels et mises à jour et dans l'onglet Logiciel Ubunt décochez Cdrom avec Ubuntu 16.04 'LTS' Xenial Xerus ' dans la section - Installable à partir d'un CD-ROM/DVD.

19
Thanos Apostolou