LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to add unofficial Debian repositories? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-unofficial-debian-repositories-829546/)

jjonas 08-31-2010 10:40 AM

How to add unofficial Debian repositories?
 
I've tried to add unofficial Debian repositories with Synaptic, but I can't figure out the correct syntax when Synaptic (0.62.1.) asks for "the complete APT line". After every attempt Synaptic refuses to start before I remove the (erroneous) line manually from /etc/apt/sources.list.

How can I know what the syntax is for adding e.g. what's at http://unofficial.debian-maintainers.org/ ?

I have lenny installed.

repo 08-31-2010 11:05 AM

open a terminal, as root add the lines in
/etc/apt/sources.lst

use vi or nano to open the file
Code:

# vi /etc/apt/sources.lst
or
Code:

# nano /etc/apt/sources.lst
Quote:

deb http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
deb-src http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
Kind regards


All times are GMT -5. The time now is 09:23 AM.