Difference between revisions of "Cdrom related errors while using apt after installation"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb> =cdrom related errors while using apt after installation= S...")
 
m
Line 1: Line 1:
<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb>
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Cdrom related errors while using apt after installation]]
=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 &lt;package-name&gt;</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 &lt;package-name&gt;</tt>' and it should work without showing cdrom related errors.
[[Main Page|Home]] > [[Ubuntu]] > [[Troubleshooting Ubuntu specific issues]] > [[Cdrom related errors while using apt after installation]]

Revision as of 07:06, 31 March 2022

Home > Ubuntu > 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 > Troubleshooting Ubuntu specific issues > Cdrom related errors while using apt after installation