PDA

View Full Version : Adding extra repos to up2date source file


gonzalo76
25th April 2004, 06:17 AM
If you use up2date to keep your system (Fedora Core 1) updated, take a look at my sources file and paste to your /etc/sysconfig/rhn/sources if you like it. You should be root to do this.
You can copy any line you want, or, you can copy it entirely.


## FEDORA BASIC ##

### [FEDORA.COM]
#yum fedora-core-1 http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/
#yum updates-released http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/

### [FEDORA.US]
yum fedora-us-os http://download.fedora.us/fedora/fedora/1/i386/yum/os/
yum fedora-us-stable http://download.fedora.us/fedora/fedora/1/i386/yum/stable/
yum fedora-us-updates http://download.fedora.us/fedora/fedora/1/i386/yum/updates/

### [KERNEL.ORG]
yum kernel-fedora-core-1 http://mirrors.kernel.org/fedora/core/1/i386/os/
yum kernel-updates http://mirrors.kernel.org/fedora/core/updates/1/i386/

### [IBIBLIO.ORG]
yum ibiblio-fedora-core-1 http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/1/i386/os/
yum ibiblio-updates http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/updates/1/i386/



## FEDORA EXTRAS ##


### [KERNEL.ORG]

# [fedora os]
yum kernel-extras-os http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/yum/os/

# [fedora stable]
yum kernel-extras-stable http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/yum/stable/


# [fedora updates]
yum kernel-extras-updates http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/yum/updates/


### [LIVNA.ORG]

# GPG Key
# All packages are be signed with the Livna.org rpms GPG Key and you
# will need to install this key. So before trying to install packages
# you will have to install the Livna.org rpms GPG key.

# As root run:

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

# NB: if you're not using fedora.us apt/yum package, you will need to install
# www.fedora.us GPG Key which is available at http://www.fedora.us/FEDORA-GPG-KEY

# [stable]
yum livna-stable-fc1 http://rpm.livna.org/fedora/1/i386/yum/stable

# [testing]
#yum livna-testing-fc1 http://rpm.livna.org/fedora/1/i386/yum/testing

# [unstable]
#yum livna-unstable-fc1 http://rpm.livna.org/fedora/1/i386/yum/unstable


### [JPACKAGE]

# JPackage is a GREAT repository for Java Software.
# JPackage is compatible with the fedora.us repositories.
# You can use JPackage and fedora.us at the same time, without
# any trouble.

yum jpackage-aleron http://aleron.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-1/free/
#yum jpackage-heanet http://heanet.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-1/free/
#yum jpackage-umn http://umn.dl.sourceforge.net/sourceforge/jpackage/direct_download/1.5/fedora-1/free/



## Alternate Repositories ##


### [FRESHRPMS]
yum freshrpms-core http://ayo.freshrpms.net/fedora/linux/1/i386/core/
yum freshrpms-rpms http://ayo.freshrpms.net/fedora/linux/1/i386/freshrpms/
yum freshrpms-os http://ayo.freshrpms.net/fedora/linux/1/i386/os/
yum freshrpms-updates http://ayo.freshrpms.net/fedora/linux/1/i386/updates/

### [DAG]
# DAG RPM Repository for Red Hat/Fedora
# Welcome to my collection of RPM packages for Red Hat/Fedora.
# You can find more information about this repository and these packages at:
# http://dag.wieers.com/apt/

yum dag-rpms http://dag.freshrpms.net/redhat/fc1/en/i386/dag/
yum heanet-rpms http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/fc1/en/i386/dag/

### [DRIES]
# Dries APT Repository for Fedora Core 1
# This is a small yum/apt repository with rpms for Fedora Core 1 (x86).
# These rpms currently depend on one or more of the following repositories for Fedora:

# Dag
# Freshrpms
# Newrpms

# You cannot use this repository without those three other repositories,
# otherwise you will get dependency problems. At this moment, it does not
# replace core rpms of Fedora Core 1. I haven't much expierence yet with
# creating rpms, so these rpms might contain errors. Please let me know
# by mail if you encounter any problems. (dries@ylyssis.org)

yum dries-rpms http://dries.studentenweb.org/yum/fedora/linux/1/i386/dries/

### [NEWRPMS]
# All packages are currently reuploaded as signed.
# Heres is the gpg-pubkey-newrpms:

# http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt

# Just download it and
# rpm --import gpg-pubkey-newrpms.txt as root.
# or directly
# rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt

yum new-rpms http://newrpms.sunsite.dk/apt/redhat/en/i386/fc1/

### [ATRPMS]
# This is the apt repository for the rpms located at http://atrpms.net/.
# This repository can be used with apt-get and yum.
# See the installation guide for further details: http://atrpms.net/install.html
# If you want to manually download rpms, srpms and spec files,
# you are better off visiting ATrpms.net: http://atrpms.net/

# This repository can be used in several ways, either you browse through
# the directories searching for the bits you need, or you can use one of
# the available package manager tools.

# In any case you may first want to import ATrpms' signing key:
# rpm --import RPM-GPG-KEY.atrpms
# or
# rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms

# [atrpms-stable]
yum atrpms-stable http://apt.physik.fu-berlin.de/fedora/fc1/en/i386/at-stable/

# [atrpms-good]
yum atrpms-good http://apt.physik.fu-berlin.de/fedora/fc1/en/i386/at-good/

### [CRASH-HAT]
# This repository started as collection of network daemons and useful sysadmin utils
# not included in official RedHat linux distribution sometime on 1998. From the
# begining as ftp server and as yum repository today. Number of applications varies
# depend on their adding/removing to/from actual Fedora Core version.

# GPG Key
# You need to install GPG key used to sign packages. Get it and install as 'root':
# wget http://crash.fce.vutbr.cz/Petr.Kristof-GPG-KEY
# rpm --import Petr.Kristof-GPG-KEY

yum crash-hat http://crash.fce.vutbr.cz/crash-hat/1
#yum crash-test http://crash.fce.vutbr.cz/crash-hat/testing/1


### [K3B]
# K3b is a CD and DVD burning application for Linux systems optimized for KDE.
# The actual burning in K3b is done by the command line utilities
# cdrecord, cdrdao, and growisofs.

yum k3b-stable http://rpms.xcyb.org/fedora/1/stable/
yum k3b-bleeding http://rpms.xcyb.org/fedora/1/bleeding/

### [ARJAN's 2.6 series kernel]
# This directory contains unofficial RPM's of 2.6-test kernels
# for Red Hat Linux 9 and Rawhide. Don't expect 2.6-test to be
# a completely polished drop-in; it's very much a work in progress
# although several people report success already.

yum arjans-kernel http://people.redhat.com/arjanv/2.6/
yum arjans-kernel-src http://people.redhat.com/arjanv/2.6


### [MATTHEW HALL GNOME repo]

# This part of my site is a repository for the rpms I have built for me,
# my work mates and the GNOME community (mostly me...)
# Some (not all) of the external dependancies are provided in the 'depends'
# apt module. Otherwise, there are several places where you can grab
# dependancies for my rpms:

# * FreshRPMS
# * RPM PBone search
# * RPMFind

# GPG key
# rpm --import http://people.ecsc.co.uk/~matt/gpg/mattatecscdotcodotuk.asc

http://people.ecsc.co.uk/~matt/downloads/yum/fedora-1-i386/production
http://people.ecsc.co.uk/~matt/downloads/yum/fedora-1-i386/testing
http://people.ecsc.co.uk/~matt/downloads/yum/fedora-1-i386/depends


## MACROMEDIA ##

# [macromedia.mplug.org]
# Macromedia Flash Player 6 for x86 Linux
# The leading rich client for Internet content and
# applications across the broadest range of platforms.

# GPG Public Key
# To import the public key as root type:
# rpm --import http://sluglug.ucsc.edu/macromedia/gpg-publickey.txt

# NOTE
# rpm --import http://sluglug.ucsc.edu/macromedia/gpg-publickey.txt
# error: http://sluglug.ucsc.edu/macromedia/gpg-publickey.txt: import read failed.
# I don't know why but I could not import the GPG key.

# [University of California at Santa Cruz]
apt macromedia-rpms http://macromedia.mplug.org apt/fedora/1 macromedia
apt macromedia-rpms http://sluglug.ucsc.edu/macromedia apt/fedora/1 macromedia

### [END]
### [2004-04-24]

AliOop
25th April 2004, 07:09 AM
Gonzalo76, thanks for the information. Do you know if these will work with FC2? Just wondering if its possible?

gonzalo76
25th April 2004, 06:38 PM
Nop, it's only for Fedora Core 1.
Maybe, I'll make another one for Fedora Core 2.
Greetings
Gonzalo

gonzalo76
25th April 2004, 07:06 PM
An interesting thing of up2date:

You could also download rpm packages manually one by one and save them in a folder called, for example, 'up2date-rpms'
Then, you could use up2date tool to install them all.

Thi is what up2date says in it's sources file:

### this describes the various package repos up2date will look into
### for packages. It currently supports apt-rpm repos, yum repos,
### and "dir" repos

### an local directory full of packages
### format
#dir my-favorite-rpms-i386-9 /var/spool/RPMS/

Sometimes I download packages manually and save them in a folder called 'up2date-rpms'.
I had to edit my /etc/sysconfig/rhn/sources first to add this new directory as a 'local repository'.

Like this:

#####################################
###### LOCAL RPM DIRECTORY ######
#####################################

### [up2date rpms]
dir up2date-rpms /home/gonzalo/up2date-rpms

### [END]


I personally use APT to keep my system updated.
Synaptic (http://www.nongnu.org/synaptic/) is a great GUI-frontend for APT and it's really easy to use.


Good Luck !!!

gonzalo76
25th April 2004, 07:39 PM
How to use up2date :

If you supply package names on the command line, those particular packages will be updated or installed if there are new versions available.
Only the package name is needed, do not supply any version or release information.
If the package is not currently installed, it will be downloaded and installed, along with any dependencies that package requires.

--configure
Configure Update Agent options. This will allow you to adjust things such as which files/packages to skip by default, where to store retrieved packages, and more.

-d, --download
Download packages only, do not install them. This option is provided so that you can override the configuration option "Do not install packages after retrieval." It is mutually exclusive with the --install option.

-i, --install
Install packages after they are downloaded. This option is provided so that you can override the configuration option "Do not install packages after retrieval.". It is mutually exlusive with the the --download option.

-l, --list
Output a list of packages which have been updated and available for retrieval/installation.

--dry-run
Output a list of packages available for updates, and all the deps they need, including obsoletes.

--nosig
Do not use GPG to check package signatures (overrides configuration option).

--src
Download source rpms as well as binary rpms.

-u, --update
Completely update the system. All relevant packages will be downloaded (and possibly installed, if you have configured Update Agent to do so).

FILES

/etc/sysconfig/rhn/up2date
Configuration settings for Update Agent.

/etc/sysconfig/rhn/sources
Configure settings for external package repositories

/etc/sysconfig/rhn/systemid
Unique system identification certificate for Red Hat Network.

/etc/sysconfig/rhn/up2date-keyring.gpg
The default keyring used specificaly for up2date, if used with versions of rpm that support it (rpm-4.0.4 or higher)

/var/spool/up2date
The spool directory where rpm stores package lists, package headers and packages.

/var/spool/repackage
The spool directory where rpm/up2date stores rollback rpms.

/var/log/up2date
This is the log file for up2date.

/usr/share/rhn/RHNS-CA-CERT
The ssl certificate authority file used by up2date to validate the Red Hat Network ssl servers.

/usr/share/rhn/RPM-GPG-KEY
A copy of the Red Hat, Inc rpm package signing key. This is the gpg key that can be used to verify a package is signed by Red Hat, Inc.

EXAMPLES

The following example starts up the interactive gui client.

up2date

The following example shows up2date being used in non-interactive batch mode.

up2date -u

This example shows up2date being used to discover which packages solve a set of deps manually on a Red Hat Linux 7.0 machine.

up2date --whatprovides "/bin/bash,gimp,libhistory.so.4.1"
bash-2.04-11
readline-4.1-5
gimp-1.1.25-1

This example shows how to start up the text based config tool.

up2date --nox --configure

This example shows how to use up2date to install a package with many deps that isn't currently installed.

up2date kdebase

This example shows how to install all the packages from the channel foobar-1.0-i386

up2date --installall --channel foobar-1.0-i386

This example shows how to list all the currently installed packages that are not part of channels the system is currently subscribed to.

up2date --show-orphans

Jman
25th April 2004, 08:33 PM
Very nice.

Moved to Howto forum.

imdeemvp
25th April 2004, 09:03 PM
Originally posted by AliOop
Gonzalo76, thanks for the information. Do you know if these will work with FC2? Just wondering if its possible?

Most of gonzalo76 will just work on fc1 fc2 still under testing but stable.....and i have not seen many rpms for fc2 but i seen just a few to start.

good job gonzalo76 i just use yum as it is....i never had a problem with it.

gonzalo76
25th April 2004, 09:13 PM
Originally posted by imdeemvp
Most of gonzalo76 will just work on fc1 fc2 still under testing but stable.....and i have not seen many rpms for fc2 but i seen just a few to start.

imdeemvp:

You should NOT use this file with Fedora Core Test 2 (1.91 or 1.92).

Take a look for example at kernel.org ftp directories:
http://mirrors.kernel.org/fedora.us/fedora/fedora/

Index of /fedora.us/fedora/fedora

Directory

1.91/
1.92/
1/
latest/

As you can see, there are rpms for Fedora Core 1, 1.91 and 1.92.
For example, you should not download from directory 1.92 if you use Fedora Core 1 stable. You know what I mean ?

You should do as you please, it's your choice, you are warned :D

Greetings
gonzalo

imdeemvp
25th April 2004, 09:29 PM
nope....i just use rpms for fc1 that is how my yum is set up :D

Lakeside Photos - Plast Photos - Inowroclaw Travel Photos