Cdrom related errors while using apt after installation

From Notes_Wiki

Home > Ubuntu > Server or Desktop administration > Troubleshooting Ubuntu specific issues > Cdrom related errors while using apt after installation

Sometimes after installing ubuntu, esp ubuntu-server editions if one uses apt to install other tools and utilities apt may show errors asking to reinsert CDROM through which ubuntu was installed. To solve this problem modify '/etc/apt/sources.list' file and comment all lines that contain reference to cdrom using '#'. Then run 'apt-get -y update' to rebuild apt database from remaining sources. Then try the installation again using 'apt-get -y install <package-name>' and it should work without showing cdrom related errors.



Home > Ubuntu > Server or Desktop administration > Troubleshooting Ubuntu specific issues > Cdrom related errors while using apt after installation