Results 1 to 3 of 3
How do I add sources to the sources list in Debian? I am somewhat confused on how to do this. The only file I can pull up is a read ...
- 02-08-2007 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 16
Adding Sources
How do I add sources to the sources list in Debian? I am somewhat confused on how to do this. The only file I can pull up is a read only file. I have tried to do it with the command line, but I get nowhere. I tried to do this also with the Synaptic Package Manager and I created a syntax error. Now all I get in the Synaptic Package Manager is the message "Ignoring Invalid Records in the Source .List File" when I click on Settings/Repositories.
1. How do I add sources to the source list?
2. How do I correct the Syntax Error?
Appreciate any help, thanks
Keith
- 02-08-2007 #2Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
Open a text editor (default for GNOME is gedit) and edit /etc/apt/sources.list
(as root)Code:gedit /etc/apt/sources.list
Next just add any repo you like.
Here's my /etc/apt/sources.list :
Updating your sytem (and adding the new repos):#####Base#####
deb http://ftp.debian.nl/debian/ etch main contrib non-free
deb-src http://ftp.debian.nl/debian/ etch main contrib non-free
#####Updates#####
deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
#####Multimedia#####
deb http://www.debian-multimedia.org etch main
######Tovid-Tovid/GUI#######
#deb http://packages.kirya.net/debian/ stable main contrib non-free
#deb-src http://packages.kirya.net/debian/ stable main contrib non-free
deb http://packages.kirya.net/debian/ unstable main contrib non-free
deb-src http://packages.kirya.net/debian/ unstable main contrib non-free
Code:apt-get update && apt-get dist-upgrade
- 02-08-2007 #3Just Joined!
- Join Date
- Jun 2006
- Posts
- 16
Adding Sources
Jens,
Thank you for your advice. It worked. I was able to remove the syntax error and add sources.
Much appreciated.
Keith


Reply With Quote
