Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th April 2004, 05:07 PM
gonzalo76's Avatar
gonzalo76 Offline
Registered User
 
Join Date: Feb 2004
Location: Buenos Aires, ARG
Age: 37
Posts: 320
Adding extra repos to APT source file

INTRODUCTION

APT-RPM is a port of Debian's apt tools to a RPM based distribution (Red Hat, Conectiva, SuSE etc).
apt-get is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled, so if you try to install a package that needs others to be installed, it will download all needed packages and install them.

APT (Advanced Package Tool) is a dependency tool, well known to Debian users since it is used by default with their dpkg packages. But apt has been ported to work with rpm packages too, by Conectiva, who has now used it for some time in their GNU/Linux distribution.

The good news is that apt for rpm may be used with any other rpm-based distribution. All you need is the tool compiled for your version of rpm and at least a repository where rpm packages and their apt metadata can be downloaded from.

You can later configure your client to download packages from a server closer to you, or from one offering add-on packages you're interested in. The apt client is quite simple to use, especially if you are already familiar with rpm. If you like having a graphical interface, there is a great gtk2 front-end called "synaptic" which you may also download from here. Once installed, just run "System Settings > Synaptic". If you've never seen it before, take a look at the synaptic screenshot at http://freshrpms.net/apt/synaptic/synaptic.png.


GPG KEYS

You need to import all relevant GPG keys which sign each repository with the command:
rpm --import keyname or url key address as root.
Make sure you import all the GPG Keys before using APT.
They are included in this file in every APT repository.


DOWNLOAD APT

If you have apt installed already, then all you need to do is add some lines to your /etc/apt/sources.list.
If not, then install APT from: http://mirrors.kernel.org/fedora.us/...6/RPMS.stable/
Last version: apt-0.5.15cnc6-0.fdr.11.1.i386.rpm


USING APT

Update the package lists available in the repositories:
Code:
apt-get update
This will compare your RPM database against the updated lists. You can upgrade your system with the latest packages with:
Code:
apt-get upgrade
You can add new software by typing:
Code:
apt-get install <name of package>
If you want to install the lastest version of grip:
Code:
apt-get install grip
Or search for software in the local repository meta-data:
Code:
apt-cache search <keyword>
Code:
apt-cache show <name of package>
If you're looking for grip but you don't know if your repositories have it or not:
Code:
apt-cache search grip
From time to time you may want to save some diskspace:
Code:
apt-get clean
Remember to update your local repository often before upgrading or installing software,
so that you can enjoy the latest and greatest.

For more info:
Code:
man apt-get
/etc/apt/apt.conf (APT configuration where you can, for example, disable the GPG key check by changing 'true' x 'false')

/etc/apt/sources.list (APT RPM list of local repositories where you can add or delete repositories)

Be sure to read /etc/apt/sources.list.d/mirror-select.list which has been automatically configured by the Fedora apt mirror selector
Run "apt-get mirror-select" to reselect mirrors for that file.


If you've never used up2date, you will also need to do as root to get the standard Red Hat keys installed:
Code:
rpm --import /usr/share/doc/fedora-release-1/RPM-GPG-KEY*

Copy this file to your /etc/apt/sources.list as root.
Type 'gedit etc/apt/sources.list'


THIS FILE ONLY WORKS FOR FEDORA CORE 1

### [START]

#########################
## FEDORA CORE 1 RPMS ##
## BASE & EXTRA REPOS ##
#########################


# [FEDORA.US]
# GPG Key run: http://www.fedora.us/FEDORA-GPG-KEY
#rpm http://download.fedora.us/fedora/ fedora/1/i386 os updates stable
#rpm-src http://download.fedora.us/fedora/ fedora/1/i386 os updates stable


# [KERNEL.ORG]
rpm http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 os updates stable
rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 os updates stable


#####################
# FEDORA CORE 1 RPMS
# ALTERNATE REPOS
#####################

# [LIVNA.ORG]
# GPG Key run: rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
rpm-src http://rpm.livna.org/ fedora/1/i386 stable unstable testing


# [FRESH-RPMS]
# GPG Key run:rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core freshrpms os updates
rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core freshrpms os updates


# [DAG]
# GPG Key run: rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm http://apt.sw.be redhat/fc1/en/i386 dag


# [NEW-RPMS]
# GPG Key run: rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
rpm http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms
rpm-src http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms


# [AT-RPMS]
# GPG Key run: rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
rpm http://apt.physik.fu-berlin.de fedora/1/en/i386 at-good
rpm http://apt.physik.fu-berlin.de fedora/1/en/i386 at-stable


# [DRIES]
# GPG Key run: rpm --import http://dries.studentenweb.org/ayo/RPM-GPG-KEY.dries.txt
rpm http://dries.studentenweb.org apt/fedora/fc1/i386 dries
rpm-src http://dries.studentenweb.org apt/fedora/fc1/i386 dries


# [KDE for Fedora Linux]
# GPG Key download from:
# http://prdownloads.sourceforge.net/k...use_mirror=umn
rpm ftp://apt.kde-redhat.org/apt fedora/1 stable
rpm ftp://apt.kde-redhat.org/apt fedora/all stable


# [Matthew Hall APT Repository] (gnome extras depends)
# GPG Key run: rpm --import http://people.ecsc.co.uk/~matt/gpg/m...dotcodotuk.asc
rpm http://people.ecsc.co.uk/~matt/downloads/apt fedora-1-i386 production testing depends
rpm http://people.ecsc.co.uk/~matt/downloads/apt fedora-2-i386 production testing
rpm-src http://people.ecsc.co.uk/~matt/downloads/apt fedora-1-i386 production testing


# [RPMPAN]
# GPG Key run: not found
rpm http://www.quantumlinux.com rpmpan rpmpan


# [Ling Li]
# GPG Key run:rpm --import http://apt.ling.li/RPM-GPG-KEY.txt
rpm http://apt.ling.li fedora/1/i586 li unstable


# [SUN-SITE]
# GPG Key run: not found
rpm http://sunsite.informatik.rwth-aachen.de ftp/pub/Linux/fedora/fedora/1/i386 os updates stable


# [Arjan's van de Ven 2.5 series kernel repository]
# GPG Key run: rpm --import http://people.redhat.com/arjanv/2.5/pubkey.gpg
rpm http://people.redhat.com arjanv/2.5 kernel
rpm-src http://people.redhat.com arjanv/2.5 kernel


# [K3B] (CD & DVD Burning)
# GPG Key run: not found
rpm http://rpms.xcyb.org/fedora/1 i686 stable bleeding
rpm-src http://rpms.xcyb.org/fedora/1 i686 stable bleeding


# [MACROMEDIA]
# GPG Key run: rpm --import http://ruslug.rutgers.edu/macromedia/gpg-publickey.txt
rpm http://sluglug.ucsc.edu/macromedia apt/fedora/1 macromedia

# [BIO-RPMS]
# GPG Key run: rpm --import http://apt.bea.ki.se/biorpms/RPM-GPG-KEY.biorpms
rpm http://apt.bea.ki.se/biorpms fedora/linux/1/i386 biorpms
rpm-src http://apt.bea.ki.se/biorpms fedora/linux/1/i386 biorpms


# [JPACKAGE]
# GPG Key run: rpm --import http://www.jpackage.org/jpackage.asc
rpm http://aleron.dl.sourceforge.net/sourceforge/jpackage direct_download/1.5/fedora-1 free


# [GSTREAMER]
# GPG Key run: rpm --import http://thomas.apestaart.org/pkg/thomas.pubkey
rpm http://gstreamer.freedesktop.org/pkg/ fedora/1/i386 deps gst
rpm-src http://gstreamer.freedesktop.org/pkg/ fedora/1/i386 deps gst

### [END]
### [2004-04-30]

THIS FILE ONLY WORKS FOR FEDORA CORE 1 !!!!
I'll do another one for Fedora Core 2 final stable version as soon as it'll be released.
__________________
Greetings :)
gonzalo

Last edited by gonzalo76; 15th May 2004 at 07:26 PM.
Reply With Quote
  #2  
Old 14th May 2004, 06:25 PM
FizzGiGG Offline
Registered User
 
Join Date: May 2004
Location: MN
Age: 38
Posts: 1
Is there a way to use an ftp repository instead of through http?

My corporate proxy will not allow rpm's through http.
__________________
FizzGiGG
(geek)
Reply With Quote
Reply

Tags
adding, apt, extra, file, repos, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum configuration for extra repos sanjiv Using Fedora 2 7th March 2009 06:11 PM
Yum updates not resolving from extra repos for compiz Thaidog Using Fedora 2 24th January 2009 03:02 AM
Extra Repos glennzo Using Fedora 5 6th November 2007 04:12 AM
Extra Repos sven_henson Using Fedora 5 6th March 2007 07:34 PM
Adding extra repos to up2date source file gonzalo76 Guides & Solutions (No Questions) 8 25th April 2004 09:29 PM


Current GMT-time: 19:34 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat