PDA

View Full Version : APT Repositories for Fedora Core 2



gonzalo76
20th May 2004, 06:33 PM
INTRO
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
Make sure you import all the GPG Keys before using APT. They are included in this file in every apt repository.
For example, if you want to import the LIVNA GPGKey do:

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY


DOWNLOADING APT
From: http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/


USING APT
Update the local repository meta-data by doing:

# apt-get update
You can upgrade your system with the latest packages with:

# apt-get upgrade
You can add new software by typing:

apt-get install <name of package>
If you want to install the lastest version of grip:

# apt-get install grip
Or search for software in the local repository meta-data:

# apt-cache search <keyword>
# apt-cache show <name of package>
If you're looking for grip but you don't know if your repositories have it or not:

# apt-cache search grip
From time to time you may want to save some diskspace:

# 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:

man apt-get

/etc/apt/apt.conf (APT configuration where you can, for example, disable the GPG check 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
To reselect mirrors for that file run
apt-get mirror-select

You will also need to get the standard Red Hat keys installed:

rpm --import /usr/share/doc/fedora-release-2/RPM-GPG-KEY*

Copy any repo you want to your /etc/apt/sources.list as root.

FEDORA CORE 2 RPM REPOSITORIES

# [FEDORA.US] University of Hawaii Honolulu, Hawaii, USA
rpm http://download.fedora.us/fedora/ fedora/2/i386 os updates stable
#rpm-src http://download.fedora.us/fedora/ fedora/2/i386 os updates stable


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


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


# [FRESH-RPMS]
# GPG Key run:rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
rpm http://ayo.freshrpms.net fedora/linux/2/i386 core freshrpms os updates
#rpm-src http://ayo.freshrpms.net fedora/linux/2/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/fc2/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/fc2 newrpms
#rpm-src http://newrpms.sunsite.dk/apt redhat/en/i386/fc2 newrpms


# [AT-RPMS]
# GPG Key run: rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
rpm http://apt.physik.fu-berlin.de fedora/2/en/i386 at-good 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/fc2/i386 dries
#rpm-src http://dries.studentenweb.org apt/fedora/fc2/i386 dries


# [KDE for Fedora Linux]
# GPG Key download from:
# http://prdownloads.sourceforge.net/kde-redhat/gpg.rexdieter-kde-redhat.key?use_mirror=umn
rpm ftp://apt.kde-redhat.org/apt fedora/2 stable
rpm ftp://apt.kde-redhat.org/apt fedora/all stable
#rpm-src ftp://apt.kde-redhat.org/apt fedora/2 stable
#rpm-src 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/mattatecscdotcodotuk.asc
rpm http://people.ecsc.co.uk/~matt/downloads/apt fedora-2-i386 production depends
#rpm-src http://people.ecsc.co.uk/~matt/downloads/apt fedora-2-i386 production depends


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


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


# [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/2 i686 stable bleeding
#rpm-src http://rpms.xcyb.org/fedora/2 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/2 macromedia


# [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-2 free


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


# [ROCKERSSOFT]
# GPG Key: not found
rpm http://www.rockerssoft.com/apt fedora/2/en/i386 rockerssoft
#rpm-src http://www.rockerssoft.com/apt fedora/2/en/i386 rockerssoft


ENJOY !

Pegasus
20th May 2004, 06:50 PM
Latest version:
http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/2/apt/apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm

yur1022
20th May 2004, 08:06 PM
For [KDE for Fedora Linux], in addition to

rpm http://apt.kde-redhat.org/apt/fedora/ 2 stable

you might have

rpm http://apt.kde-redhat.org/apt/fedora/ all stable

Further, you might have

rpm http://apt.kde-redhat.org/apt/kde-redhat/ 2 stable
rpm http://apt.kde-redhat.org/apt/kde-redhat/ all stable

But, these two will replace several KDE rpms. I have not had any problems, but be careful!!!

gonzalo76
21st May 2004, 12:00 AM
Originally posted by yur1022
For [KDE for Fedora Linux], in addition to

rpm http://apt.kde-redhat.org/apt/fedora/ 2 stable

you might have

rpm http://apt.kde-redhat.org/apt/fedora/ all stable

Further, you might have

rpm http://apt.kde-redhat.org/apt/kde-redhat/ 2 stable
rpm http://apt.kde-redhat.org/apt/kde-redhat/ all stable

But, these two will replace several KDE rpms. I have not had any problems, but be careful!!!

Updated to:


# [KDE for Fedora Linux]
rpm ftp://apt.kde-redhat.org/apt fedora/2 stable
rpm ftp://apt.kde-redhat.org/apt fedora/all stable
#rpm-src ftp://apt.kde-redhat.org/apt fedora/2 stable
#rpm-src ftp://apt.kde-redhat.org/apt fedora/all stable

MIRROS

KDE RedHat (required, 2)
University of Nebraska Lincoln, Lincoln, NE, USA
ftp://apt.kde-redhat.org/apt kde-redhat/2 stable
--
ftp.mn-linux.org, Minnesota, USA
ftp://apt.us.kde-redhat.org/linux/kde-redhat/apt kde-redhat/2 stable
--
ftp.linuxlabs.no, Norway
ftp://apt.no.kde-redhat.org/pub/apt kde-redhat/2 stable
--
star.pst.qub.ac.uk, United Kingdom (ftp)
ftp://apt.uk.kde-redhat.org/pub/apt kde-redhat/2 stable
--
star.pst.qub.ac.uk, United Kingdom (http)
http://apt.uk.kde-redhat.org/apt kde-redhat/2 stable
--
www.linux.ncp.fi (.fi domains only)
http://apt.fi.kde-redhat.org/apt kde-redhat/2 stable
--
ftp.inf.utfsm.cl
ftp://apt.cl.kde-redhat.org/pub/Linux/kde3.1 kde-redhat/2 stable
--
apt.de.kde-redhat.org, Germany
http://apt.de.kde-redhat.org/apt kde-redhat/2 stable
----

gonzalo76
21st May 2004, 12:12 AM
The mirros.kernel.org repo is down for the moment, but should be online again soon:


Err http://mirrors.kernel.org fedora/2/i386/os pkglist
Connection failed
Err http://mirrors.kernel.org fedora/2/i386/os release
Connection failed
Err http://mirrors.kernel.org fedora/2/i386/updates pkglist
Connection failed
Err http://mirrors.kernel.org fedora/2/i386/updates release
Connection failed
Err http://mirrors.kernel.org fedora/2/i386/stable pkglist
Connection failed
Err http://mirrors.kernel.org fedora/2/i386/stable release
Connection failed

Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/release Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/pkglist.os Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/release.os Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/pkglist.updates Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/release.updates Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/pkglist.stable Connection failed
Failed to fetch http://mirrors.kernel.org/fedora.us/fedora/fedora/2/i386/base/release.stable Connection failed

gonzalo76
24th May 2004, 12:30 AM
The repo ROCKERSSOFT for Fedora Core 2 is not available for the moment.

Failed to fetch http://www.rockerssoft.com/apt/fedora/2/en/i386/base/pkglist.rockerssoft 404 Not Found

shtik
4th June 2004, 08:25 AM
a nice repository for sound applications is planet ccrma:

rpm http://ccrma.stanford.edu/planetccrma/apt fedora/2/i386 core updates
rpm http://ccrma.stanford.edu/planetccrma/apt fedora/2/i386 planetccrma
rpm http://ccrma.stanford.edu/planetccrma/apt fedora/2/i386 planetcore

for gpg-key use:
rpm --import http://ccrma.stanford.edu/planetccrma/apt/configuration/all/RPM-GPG-KEY.planetccrma.txt

have fun
shtik

gonzalo76
4th June 2004, 12:43 PM
I did not add it 'cause it's a private site.


Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster

Error 403

ccrma.stanford.edu
Thu 03 Jun 2004 04:41:12 PM PDT
Apache/2.0.40 (Red Hat Linux)

Am I doing something wrong ?

shtik
5th June 2004, 01:38 AM
well, it seems you can't browse the directory content of ccrma from http://ccrma.stanford.edu/planetccrma/apt/, nontheless it works perfectly when it's addressed via apt, to browse the content use the main site instead (it's not private, i'm using it frequently!):
http://ccrma.stanford.edu/planetccrma/software/

shtik