LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-29-2007, 04:12 PM   #1
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Rep: Reputation: 15
Apt-get info needed


I installed Debian etch from a disc and it did not configure my apt-get sources to work properly. Example: I type apt-get install "example here" and it always comes back saying could not find package. It does this for every search. I tried to change the script under vi /etc/apt/sources.list but I dont think I have the scripting correct. Does anyone have any info on this? Thank you in advance.
 
Old 03-29-2007, 04:19 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Do you have an active internet connection? Might be easier is you posted your sources.list file as it looks now.
 
Old 03-29-2007, 04:20 PM   #3
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
Post your sources.list if you can so that we can check it for possible errors.
 
Old 03-29-2007, 04:25 PM   #4
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45]/ etch contrib main

deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45]/ etch contrib main


#deb http://security.debian.org/ etch/updates main contrib

#deb-src http://non-us.debian.org/debian-non-us stable/non-us main contrib non-free
 
Old 03-29-2007, 04:25 PM   #5
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
here it is after I edited it. thanks
 
Old 03-29-2007, 04:30 PM   #6
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
Here is my sources.list.
Code:
deb http://ftp.us.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ etch main non-free contrib

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

deb http://debian.beryl-project.org/ etch main
deb-src http://debian.beryl-project.org etch main
The last two lines are for beryl, so you can probably ignore those.
 
Old 03-29-2007, 04:32 PM   #7
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
Sorry for the newb question but do I need the # sign before each line?
 
Old 03-29-2007, 04:35 PM   #8
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
The pound sign (#) is used for writing comments. Any line that begins with a # is ignored by apt.
 
Old 03-29-2007, 04:38 PM   #9
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
Well the apt-get is still not working. I cant figure this out
 
Old 03-29-2007, 04:39 PM   #10
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
Can you post any errors you are getting?
 
Old 03-29-2007, 04:41 PM   #11
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
debian:/home/sbounty# cd
debian:~# apt-get install hylafax-server
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package hylafax-server
debian:~#
 
Old 03-29-2007, 04:44 PM   #12
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
After you've added new sources, you will need to update the local list of available software.
Code:
apt-get update
Then try installing hylafax-server again.
 
Old 03-29-2007, 04:48 PM   #13
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
debian:~# apt-get update
Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45] etch Release.gpg
Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45] etch Release
Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux testing _Etch_ - Official Beta i386 CD Binary-1 20070317-21:45] etch/main Packages/DiffIndex
Reading package lists... Done
debian:~# apt-get install hylafax-server
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package hylafax-server
debian:~#
 
Old 03-29-2007, 04:52 PM   #14
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
The only source you currently have is the install CD, which only has a limited amount of packages. You will need to add some new internet sources. If you can tell me where you are located geographically (I don't need an address, just a rough idea), I can suggest some sources.
 
Old 03-29-2007, 04:54 PM   #15
sbounty
Member
 
Registered: Mar 2007
Posts: 36

Original Poster
Rep: Reputation: 15
I am located in Arizona.
 
  


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
Uninstall info needed accholder Linux - Newbie 14 01-15-2006 05:12 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
Been hacked; info needed af_dave Linux - Security 8 07-19-2004 04:18 AM
More info on groups needed pjdepasq Mandriva 0 02-26-2004 08:49 AM
CISSP info needed !!! hitesh_linux Linux - General 3 07-28-2003 02:11 PM


All times are GMT -5. The time now is 05:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration