Команда apt-update не работает в безопасности попугая - PullRequest
0 голосов
/ 15 марта 2019

Вывод, который я получаю после apt update:

Ign:1 cdrom://[Debian GNU/Linux 4.5 _Parrot_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190127-02:06] parrot InRelease
Err:2 cdrom://[Debian GNU/Linux 4.5 _Parrot_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190127-02:06] parrot Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:3 http://deb.parrotsec.org/parrot parrot InRelease [14.6 kB]
Reading package lists... Done    
E: The repository 'cdrom://[Debian GNU/Linux 4.5 _Parrot_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190127-02:06] parrot 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.

Как мне это преодолеть?

1 Ответ

0 голосов
/ 01 апреля 2019

Да, вы можете удалить компакт-диск (или исходный установочный носитель) из списка sources.list

Отредактируйте файл sources.list с помощью следующей команды:

sudo nano /etc/apt/sources.list

(комментарий - это хеш (#) - поэтому вставьте один из них в начало строки deb cdrom: ...)

, а затем попробуйте sudo apt update

...