LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-20-2005, 04:53 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
want to stop apt from asking for cd and depend on repositories


On my ubuntu machines when I want to install a program with apt it always ask me to insert the cd. I wish to change this but when I went in to edit the sources i don;t see anyhting about a cd any help is appreciated.
 
Old 10-20-2005, 06:48 PM   #2
zilvis
LQ Newbie
 
Registered: May 2005
Location: Lithuania
Distribution: Debian for ever!!!! suse for fun
Posts: 28

Rep: Reputation: 15
i think that you didn't add a source (address) of ftp or what ever you want to download and install from, so by default it asks for cd . I might be wrong, but you asked for ANY help
 
Old 10-20-2005, 07:05 PM   #3
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Well I will make sure that none of them are commented out to make sure that is ruled out thanx
 
Old 10-20-2005, 07:10 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Re: want to stop apt from asking for cd and depend on repositories

Quote:
Originally posted by gonus
On my ubuntu machines when I want to install a program with apt it always ask me to insert the cd. I wish to change this but when I went in to edit the sources i don;t see anyhting about a cd any help is appreciated.
Post the contents of your /etc/apt/sources.list. Let's see what you should comment out.
 
Old 10-20-2005, 07:21 PM   #5
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
If it's on my server which I only ssh into how can i copy it to the machine I am posting on? server is 192.168.0.12 this machien is 192.168.0.11. I was trying to set up samba for this but keeps asking for cd.(Reason for this post)
 
Old 10-20-2005, 08:07 PM   #6
zilvis
LQ Newbie
 
Registered: May 2005
Location: Lithuania
Distribution: Debian for ever!!!! suse for fun
Posts: 28

Rep: Reputation: 15
i might not understood you: you want to copy file from 1 machine (ssh server) to 2nd (ssh client), and both are linux? if so- then it is a joke to do it- i use mc (midnight commander). just type mc in shell, then right mouse click on "right" or "left" (written on top) there should be an option, enabling to connect to other machine, enter ip, login name etc. and thats it! now copy from one to other window part. i don't have visual so i can't tell you what exactly you should press
 
Old 10-20-2005, 08:21 PM   #7
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
The only connections to the server are a power cable and a network connection. Anytime I want to perform any configurations on the server I must ssh into it as it has no mouse, keyboard or monitor connected to it. I have been using sudo vi /$/$ to edit everything so far.

When I compare the sources.list on my desktop to the one on the server they are identical. However when I run synaptic to install samba on my desktop it just downloads it. When I run apt-get install samba on my server I am prompted to insert the cd. I am under the impression that both apt-get and synaptic use the same source.list. I just don't know how or where to stop it from using the cd as a source.

Here is the sources.list from my desktop. They are both the same.

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://us.archive.ubuntu.com/ubuntu breezy universe
# deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

# deb http://security.ubuntu.com/ubuntu breezy-security universe
# deb-src http://security.ubuntu.com/ubuntu breezy-security universe
 
Old 10-20-2005, 08:35 PM   #8
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by gonus
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
Yeah, comment out this line.
 
Old 10-20-2005, 08:48 PM   #9
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
/blush Umm really sorry to bother you guys for that. That's quite embarrasing. My apologies, goodness.
 
Old 10-21-2005, 03:21 PM   #10
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
With all that out of the way and with the help of a samba how to located here at linuxquestions I was able to get samba up and running and can now access my linux box from my pc. Thanx all
 
  


Reply



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
Do not manage to get apt-get build-depend to work! fif Linux - Newbie 0 02-16-2005 09:38 AM
apt-get repositories, howto feetyouwell Linux - Software 2 05-26-2004 08:47 AM
apt repositories????? BuffloTrace Mandriva 1 05-06-2004 12:09 AM
the best apt repositories bosewicht Linux - Newbie 1 10-07-2003 01:23 PM
CL apt-get repositories? alsosa Conectiva 4 09-15-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:23 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
Open Source Consulting | Domain Registration