Cdrom related errors while using apt after installation

From Notes_Wiki
Revision as of 06:39, 24 November 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb> =cdrom related errors while using apt after installation= S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Troubleshooting_Ubuntu_specific_issues|Troubleshooting Ubuntu specific issues</yambe:breadcrumb>

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.