Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2008, 07:46 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
Using apt-get without a CD

I am fairly new to this wonderful world and I am having some issues. When I try to load software Ubuntu keeps insisting that I put the CD into CDROM and then tells me that it cannot read some of the files... Is there any way that I can use the apt-get function without needing the CD?

Old 06-25-2008, 07:52 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Yes edit your sources.list and comment out the entry for the CDROM

Heres the sources list from my Debian box, notice the # (pound sign) in front of the entry for the CDROM.
it-etch:~# cat /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 NETINST Binary-1 20070329-08:46]/ etch contrib main

deb lenny main non-free contrib
deb-src lenny main non-free contrib

deb lenny/updates main contrib non-free
deb-src lenny/updates main contrib non-free

deb lenny main
make sure you update again before trying to install anything..

sudo apt-get update

There's probably a way to do this through the synaptic GUI as well.. but I never use it so I couldn't tell you offhand where it's at.. I'm sure if you take a peek it may be obvious.

Last edited by farslayer; 06-25-2008 at 07:58 AM.
Old 06-25-2008, 09:35 AM   #3
LQ Newbie
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0

Works great now



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there knoppix-like distro, that we can: apt-get update; apt-get install programs ? frenchn00b Linux - Distributions 7 04-28-2008 02:06 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration