LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-19-2007, 07:41 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Finding Default Lenny Source URL's?


Yes, I searched Google and Debian and somehow I managed to blow away or mess up my source.list. I am running Debian Lenny (Testing) and wanted to just add the default main and security repositories in the file but can't find them any where and not sure how I am searching incorrectly for this.

Anyone know where I can find this info?
 
Old 07-19-2007, 08:22 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
Go to the Apt Howto, section 2.1. This is the link:

http://www.debian.org/doc/manuals/ap...s-sources.list

Copy from the second example paragraph, but replace 'stable' with 'testing'. It should look something like this:

Code:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
Hopefully that will work.
 
Old 07-19-2007, 08:42 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by radiodee1
Go to the Apt Howto, section 2.1. This is the link:

http://www.debian.org/doc/manuals/ap...s-sources.list

Copy from the second example paragraph, but replace 'stable' with 'testing'. It should look something like this:

Code:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
Hopefully that will work.
Perhaps I need a 2nd set of eyes because I can't even do an APT-GET update for some strange reason.

# Primary repository
deb ftp://ftp.debian.org/debian lenny main contrib non-free
deb-src ftp://ftp.debian.org/debian lenny main contrib non-free

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

# Unofficial multimedia
deb http://www.debian-multimedia.org lenny main

# Non-Free Software
deb http://ftp.us.debian.org/debian testing main contrib non-free


Here you can see my source.list and I get the following when I try and update...

Code:
williams:/home/cwilliams/Desktop# apt-get update
Err ftp://ftp.debian.org lenny Release.gpg
  PASS failed, server said: USER/PASS command line too long
Get:1 http://security.debian.org lenny/updates Release.gpg [189B]              
Ign http://security.debian.org lenny/updates/main Translation-en_US            
Ign http://security.debian.org lenny/updates/contrib Translation-en_US         
Ign http://security.debian.org lenny/updates/non-free Translation-en_US        
Hit http://security.debian.org lenny/updates Release                           
Get:2 http://www.debian-multimedia.org lenny Release.gpg [189B]                
Ign http://www.debian-multimedia.org lenny/main Translation-en_US              
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex           
Get:3 http://download.tuxfamily.org unstable Release.gpg [189B]                
Err ftp://ftp.debian.org lenny/main Translation-en_US                          
  PASS failed, server said: USER/PASS command line too long
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex        
Get:4 http://www.debian-multimedia.org lenny Release [6235B]                   
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex       
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex            
Ign http://download.tuxfamily.org unstable/compiz-fusion-git Translation-en_US 
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex         
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex        
Hit http://security.debian.org lenny/updates/main Packages                     
Get:5 http://ftp.us.debian.org testing Release.gpg [189B]                      
Ign http://ftp.us.debian.org testing/main Translation-en_US                    
Ign http://www.debian-multimedia.org lenny Release                             
Ign http://ftp.us.debian.org testing/contrib Translation-en_US                 
Hit http://security.debian.org lenny/updates/contrib Packages                  
Err ftp://ftp.debian.org lenny/contrib Translation-en_US                       
  PASS failed, server said: USER/PASS command line too long
Hit http://security.debian.org lenny/updates/non-free Packages                 
Hit http://security.debian.org lenny/updates/main Sources                      
Hit http://download.tuxfamily.org unstable Release                             
Ign http://www.debian-multimedia.org lenny/main Packages/DiffIndex             
Hit http://security.debian.org lenny/updates/contrib Sources                   
Hit http://security.debian.org lenny/updates/non-free Sources                  
Hit http://www.debian-multimedia.org lenny/main Packages                       
Ign http://download.tuxfamily.org unstable/compiz-fusion-git Packages/DiffIndex
Err ftp://ftp.debian.org lenny/non-free Translation-en_US   
  PASS failed, server said: USER/PASS command line too long
Ign http://ftp.us.debian.org testing/non-free Translation-en_US
Get:6 http://ftp.us.debian.org testing Release [68.5kB]
Hit http://download.tuxfamily.org unstable/compiz-fusion-git Packages
Ign ftp://ftp.debian.org lenny Release                        
Ign ftp://ftp.debian.org lenny/main Packages 
Ign ftp://ftp.debian.org lenny/contrib Packages
Get:7 http://ftp.us.debian.org testing/main Packages/DiffIndex [2038B]
Ign ftp://ftp.debian.org lenny/non-free Packages
Get:8 http://ftp.us.debian.org testing/contrib Packages/DiffIndex [2023B]
Ign ftp://ftp.debian.org lenny/main Sources
Hit http://ftp.us.debian.org testing/non-free Packages/DiffIndex
Ign ftp://ftp.debian.org lenny/contrib Sources
Ign ftp://ftp.debian.org lenny/non-free Sources
Err ftp://ftp.debian.org lenny/main Packages
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org lenny/contrib Packages
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org lenny/non-free Packages
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org lenny/main Sources
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org lenny/contrib Sources
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org lenny/non-free Sources
  PASS failed, server said: USER/PASS command line too long
Fetched 79.4kB in 4s (19.2kB/s)
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/Release.gpg  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/main/i18n/Translation-en_US.bz2  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/contrib/i18n/Translation-en_US.bz2  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/non-free/i18n/Translation-en_US.bz2  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/contrib/binary-i386/Packages.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/non-free/binary-i386/Packages.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/main/source/Sources.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/contrib/source/Sources.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/lenny/non-free/source/Sources.gz  PASS failed, server said: USER/PASS command line too long
Reading package lists... Done
W: GPG error: http://www.debian-multimedia.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
 
Old 07-19-2007, 09:12 AM   #4
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
Do a quick hack and change ftp:// to http://
 
Old 07-19-2007, 09:34 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Cool - that did the tick. Now the only thing it bitches about is GPG key for the following:

Code:
Reading package lists... Done
W: GPG error: http://www.debian-multimedia.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
 
Old 07-19-2007, 09:44 AM   #6
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
GPG error: http://www.debian-multimedia.org lenny
Usually solved by installing the "debian-multimedia-keyring" package.
 
  


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
finding the default gateway suresh_rupineni Linux - Software 1 07-27-2006 08:25 AM
finding the kernel source Damon Spector Linux - Software 4 02-20-2005 10:45 AM
Finding source code for Linux waynefrank Linux - Newbie 4 01-07-2005 07:24 AM
Finding default browser and mail client ashusharma Linux - Software 4 07-15-2004 12:25 AM
Finding Source Folder lectraplayer Linux - Newbie 5 10-15-2003 09:18 AM

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

All times are GMT -5. The time now is 10:39 AM.

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