Difference between revisions of "Cdrom related errors while using apt after installation"
m |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Cdrom related errors while using apt after installation]] | [[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu Server or Desktop administration|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 '<tt>/etc/apt/sources.list</tt>' file and comment all lines that contain reference to cdrom using '#'. Then run '<tt>apt-get -y update</tt>' to rebuild apt database from remaining sources. Then try the installation again using '<tt>apt-get -y install <package-name></tt>' and it should work without showing cdrom related errors. | 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 '<tt>/etc/apt/sources.list</tt>' file and comment all lines that contain reference to cdrom using '#'. Then run '<tt>apt-get -y update</tt>' to rebuild apt database from remaining sources. Then try the installation again using '<tt>apt-get -y install <package-name></tt>' and it should work without showing cdrom related errors. | ||
Line 6: | Line 6: | ||
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Cdrom related errors while using apt after installation]] | [[Main Page|Home]] > [[Ubuntu]] > [[Ubuntu Server or Desktop administration|Server or Desktop administration]] > [[Troubleshooting Ubuntu specific issues]] > [[Cdrom related errors while using apt after installation]] |
Latest revision as of 05:40, 15 February 2023
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