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