APT-UPDATE命令不从事鹦鹉安全性



我在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.

如何克服这个?

是的,您可以从源中删除CD-ROM(或原始安装媒体)。list

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

sudo nano /etc/apt/sources.list

(注释是哈希(#) - 因此在deb cdrom: ...行的开头中弹出其中一个)

然后尝试sudo apt update

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

sudo apt-get更新已经消失了!

始终使用

sudo parrot-upgrade

sudo apt update
sudo apt full-upgrade

相关内容

  • 没有找到相关文章

最新更新