-1

我之后收到的输出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.

我该如何克服呢?

4

2 回答 2

0

请查看有关如何升级系统的文档。

sudo apt-get更新好久不见了!

始终使用

sudo parrot-upgrade

或者

sudo apt update
sudo apt full-upgrade
于 2020-07-15T06:58:47.587 回答
0

是的,您可以从 sources.list 中删除 CD-ROM(或原始安装介质)

sources.list使用以下命令编辑文件:

sudo nano /etc/apt/sources.list

(评论是一个哈希(#) - 所以在行首弹出其中一个deb cdrom: ...

然后尝试sudo apt update

于 2019-04-01T11:24:30.353 回答