Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save codedeep79/ddcdb8a013d8742e330c76b6f9669876 to your computer and use it in GitHub Desktop.

Select an option

Save codedeep79/ddcdb8a013d8742e330c76b6f9669876 to your computer and use it in GitHub Desktop.
Debian error: Media change: please insert the disc labeled while install packages in Debian OS

Error:

Media change: please insert the disc labeled
 'Debian GNU/Linux 11.4.0 _Bullseye_ - Official amd64 DVD Binary-1 20220709-10:33'
in the drive '/media/cdrom/' and press [Enter]

Solution:

Just remove the cdrom entry from the sources.list file. This can be done easily: sudo sed -i '/cdrom/d' /etc/apt/sources.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment