LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-18-2004, 08:27 AM   #1
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Rep: Reputation: 15
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??
 
Old 06-18-2004, 09:25 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,193

Rep: Reputation: 159Reputation: 159
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'.

Last edited by jens; 06-18-2004 at 09:52 AM.
 
Old 06-18-2004, 11:03 AM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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.
 
Old 06-18-2004, 11:32 AM   #4
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Original Poster
Rep: Reputation: 15
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


??!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do you add more Yum repositories? Wheat_Thins Linux - Newbie 1 11-27-2005 01:54 PM
Is there a way to add repositories through the terminal? Cinematography Suse/Novell 6 08-31-2005 01:27 PM
How do I add repositories? nottobrite Linux - Newbie 2 07-13-2004 07:34 PM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 06:04 PM
Are there any other Repositories I should add frontier1 Fedora 1 01-12-2004 09:14 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration