Remove disc from sources.list

Want to update Debian but just recive this error?:
Media change: please insert the disc labeled‘Debian GNU/Linux 7.9.0 _Wheezy_ - Official amd64 CD Binary-1’in the drive ‘/media/cdrom/’ and press enter

The fix is easy. We need to remove the CD-ROM as a source for apt-get.
To do this, edit the following file: /etc/apt/sources.list

Comment or delete the line for the CD-ROM, save the changes, and try apt-get again.
This time, it should use the online repositories.
  • 2 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Root user on Ubuntu / Debian

On standard Ubuntu and Debian does not offer a root user via ssh (unless you activate him), you...

Long password

For security reasons we always recommend to set strong and long passwords.But we also advise to...

Speedtest

Step-by-step guide sudo apt-get install python-pip sudo pip install speedtest-cli...

Step-by-step: Ubuntu 20 installation

Ubuntu 20 Standard installation1 ) Choose language and locale, we will use English.   2)...

Setting up ssh keybased authentication

SSH has evolved to be the standard protocol for managing servers (and in fact lots of other...