LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   etch repositories lost? (https://www.linuxquestions.org/questions/debian-26/etch-repositories-lost-591802/)

pfmrof 10-14-2007 07:58 PM

etch repositories lost?
 
went to add to repositories and after hit reload and got this message and the list of programs is blank?
Do I need a fresh install?
E: Type 'http://ftp.us.debian.org/debian/' is not known on line 14 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.

Dutch Master 10-14-2007 08:02 PM

Don't panic. Post the exact contents of the file /etc/apt/sources.list, use the code tags.

pfmrof 10-14-2007 09:45 PM

lost repositeries
 
Thanks for the fast reply.
I am only a short time into this install, so a fresh install is not a big deal, but learning what happened and how to fix it would be great.
I'm way down on the learning curve, but trying.
File contents:
#
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main


# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ etch/updates main contrib

deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-2 20070819-11:33]/ etch contrib main
deb http://http.us.debian.org/debian/ sarge main contrib non-free
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-3 20070819-11:33]/ etch contrib main
http://ftp.us.debian.org/debian/
http://ftp.us.debian.org/debian/
http://security.debian.org/
http://security.debian.org/

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

JackieBrown 10-14-2007 09:50 PM

Wow

Keep only (assuming you have broadband):

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


You might also want to add

deb http://www.debian-multimedia.org etch main

farslayer 10-15-2007 10:39 AM

None of these lines in your config specify What distro (etch or stable), or software selections you are accessing (main contrib non-free ) from the repository..

That's why it threw an error.

My sources.list looks like JackieBrowns.. Just a few lines..


Code:

username@it-etch:~$ cat /etc/apt/sources.list
#

deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/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://www.debian-multimedia.org etch main


pfmrof 10-15-2007 07:27 PM

lost repositeries
 
Thanks to you both I was able to edit the source file to only the cd entries and then I added some of the sources you recommended.
I am stuck with dial-up so the three dvds helps.
I think this is the first time I attempted to edit and thank you for pointing me there.
I like this Debian more and more!

Phiebie 10-17-2007 09:53 AM

Quote:

Originally Posted by pfmrof (Post 2925485)
Thanks to you both I was able to edit the source file to only the cd entries and then I added some of the sources you recommended.

Well, one little suggestion on top.
Replace "etch" by "stable" (should also work with multimedia.org).
Why?
Maybe you know already the 3 flavours of Debian-packages:
unstable called sid
testing called lenny and
stable called etch
at this moment of time.
Sometime in the future lenny will have reached such maturity, that it is deemed to be promoted to the stable-status. Most probably it then will still be called lenny. After some time, the still kept-alive (for old die-hards) etch, will be removed, anyway not further supported and maintained. You now see the consequence of stating the "real" name?
You never will get the benefits of the much more up-to-date lenny after that promotion!


All times are GMT -5. The time now is 11:50 AM.