really really stupid sources.list question!

Place to discuss SUSE
Locked
User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

really really stupid sources.list question!

Post by Calum » Tue Sep 07, 2004 12:24 pm

ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/

i am told that the above is an apt repository, so OK how do i add it to sources.list?

once you have stopped sniggering i am hoping for an answer, i am sure it is fairly obvious.

i feel like i am looking for the "any" key!

worker201
guru
guru
Posts: 668
Joined: Sun Jun 13, 2004 6:38 pm
Location: Hawaii

Post by worker201 » Tue Sep 07, 2004 1:49 pm

I use synaptic on Fedora, but it's probably all the same. Here's the first few lines of my sources.list file, that you can use as a guide. The pattern seems to be 'type url kinds', or something like that.

Code: Select all

# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.

# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.

# $Id: sources.list.i386 378 2004-04-30 16:33:52Z dude $

# Fedora Linux 2
rpm http://ayo.freshrpms.net/ fedora/linux/2/i386 core updates freshrpms   
rpm http://ayo.freshrpms.net/ fedora/linux/2/i386 tupdates   
rpm-src http://ayo.freshrpms.net/ fedora/linux/2/i386 core updates freshrpms   
rpm-src http://ayo.freshrpms.net/ fedora/linux/2/i386 tupdates
Hope that helps a little bit. Synaptic also has an interactive screen that you can use to add repositories, which writes to this file.

User avatar
cdhgold
administrator
administrator
Posts: 382
Joined: Tue Mar 18, 2003 6:11 pm
Location: Texas

Post by cdhgold » Tue Sep 07, 2004 1:54 pm

go to http://ftp.gwdg.de/pub/linux/suse/apt/S ... s.list.FTP for an example of what to add to your sources.list file in /etc/apt/sources.list file

this will add the repo to your list

Cdhgold

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Wed Sep 08, 2004 1:41 pm

thank you! i will just stick that in my /etc/apt/sources.list dir and see what happens when i apt-get update

Locked