LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   add repositories??!!? (https://www.linuxquestions.org/questions/linux-newbie-8/add-repositories-194958/)

ilectrcbob 06-18-2004 08:27 AM

add repositories??!!?
 
is it possible to add new repositories to yum and apt??
i mean sites where yum checks for updates and packages??
where and how do i add them??

jens 06-18-2004 09:25 AM

Try Dag:

edit(as root) /etc/apt/sources.list (or use /etc/apt/sources.list.d/dag.list)

Code:

vi /etc/apt/sources.list
add(press Insert)

### Dag RPM Repository for Fedora Core 2
rpm http://apt.sw.be fedora/2/en/i386 dag

press Esc
type :wq! to save and quit vi.

type apt-get update and that's it.

Ps: This is for apt/synaptic
If you don't have it installed already, type:
next
Code:

apt-get update
and
Code:

apt-get dist-upgrade
to install synaptic:
Code:

apt-get install synaptic
You should now have it in your menu under 'system tools'.

homey 06-18-2004 11:03 AM

This maybe different on other distros but with FC1 use the command: apt-get mirror-select. That will walk you through the process of selecting which locations you wish to download the apt-get packages from. This list is also used by synaptic which is a GUI tool for apt.

I don't know about yum as I haven't looked into adding source lists for that yet.

ilectrcbob 06-18-2004 11:32 AM

Quote:

Originally posted by jens

Ps: This is for apt/synaptic
If you don't have it installed already, type:
next

here is what i get:
[ilectrcbob@chello080109018131 RPM]$ rpm -Uvh apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm
warning: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
apt = 0:0.5.15cnc6-0.fdr.11.2 is needed by (installed) apt-devel-0.5.15cnc6-0.fdr.11.2
apt = 0:0.5.15cnc6-0.fdr.11.2 is needed by (installed) apt-python-0.5.15cnc6-0.fdr.11.2


??!!!


All times are GMT -5. The time now is 12:48 AM.