LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-25-2008, 08:46 AM   #1
scotlin
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?

Alan
 
Old 06-25-2008, 08:52 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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.
Quote:
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 http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://www.debian-multimedia.org 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 08:58 AM.
 
Old 06-25-2008, 10:35 AM   #3
scotlin
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Wink

Works great now

Thanks
 
  


Reply


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 03:06 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 08:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM


All times are GMT -5. The time now is 02:47 PM.

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