Problema com o sudo apt get update: O repositório cdrom… não tem um arquivo Release

27

Sempre que tento atualizar (usando sudo apt-get update ) meu Ubuntu, recebo este problema:

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.

Como posso consertar isso?
Eu uso o Ubuntu 16.04 LTS

    
por TKCode 24.05.2016 / 10:27

2 respostas

19

Tente isto:
Abra o Software & amp; Atualizações e na aba Ubuntu Software desmarque Cdrom com o Xenial Xerus do Ubuntu 16.04 LTS sob a seção Instalável a partir do CD-ROM / DVD strong>.

    
por Thanos Apostolou 24.05.2016 / 10:33
18

Para resolver este problema do terminal, você deve remover / comentar esta fonte de repositório de CD-ROM diretamente de /etc/apt/sources.list

 sudo nano /etc/apt/sources.list

e comente ou remova linhas que incluam cdrom . por exemplo:

deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted
    
por PRIHLOP 27.07.2016 / 11:55

Tags