tachtler:epel
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:epel [2013/02/15 12:36] – angelegt klaus | tachtler:epel [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== EPEL-Repository einbinden ====== | ||
- | |||
- | Bevor externe Repository' | ||
- | |||
- | Dies kann durch die Installation des sogenannten | ||
- | * **Priorities-Plugin** für den Paket-Manager **'' | ||
- | erfolgen. | ||
- | |||
- | Die Installation des **Priorities-Plugin** für den Paket-Manager **'' | ||
- | < | ||
- | # yum install yum-plugin-priorities | ||
- | Loaded plugins: fastestmirror | ||
- | Loading mirror speeds from cached hostfile | ||
- | Setting up Install Process | ||
- | Resolving Dependencies | ||
- | --> Running transaction check | ||
- | ---> Package yum-plugin-priorities.noarch 0: | ||
- | --> Finished Dependency Resolution | ||
- | |||
- | Dependencies Resolved | ||
- | |||
- | ================================================================================ | ||
- | | ||
- | ================================================================================ | ||
- | Installing: | ||
- | | ||
- | |||
- | Transaction Summary | ||
- | ================================================================================ | ||
- | Install | ||
- | |||
- | Total download size: 22 k | ||
- | Installed size: 28 k | ||
- | Is this ok [y/N]: y | ||
- | Downloading Packages: | ||
- | yum-plugin-priorities-1.1.30-14.el6.noarch.rpm | ||
- | Running rpm_check_debug | ||
- | Running Transaction Test | ||
- | Transaction Test Succeeded | ||
- | Running Transaction | ||
- | Installing : yum-plugin-priorities-1.1.30-14.el6.noarch | ||
- | Verifying | ||
- | |||
- | Installed: | ||
- | yum-plugin-priorities.noarch 0: | ||
- | |||
- | Complete! | ||
- | </ | ||
- | |||
- | Der Inhalt des Paketes **'' | ||
- | < | ||
- | # rpm -qil yum-plugin-priorities | ||
- | Name : yum-plugin-priorities | ||
- | Version | ||
- | Release | ||
- | Install Date: Fri 07 Sep 2012 11:28:52 AM CEST Build Host: c6b8.bsys.dev.centos.org | ||
- | Group : System Environment/ | ||
- | Size : 28555 License: GPLv2+ | ||
- | Signature | ||
- | Packager | ||
- | URL : http:// | ||
- | Summary | ||
- | Description : | ||
- | This plugin allows repositories to have different priorities. | ||
- | Packages in a repository with a lower priority can't be overridden by packages | ||
- | from a repository with a higher priority even if repo has a later version. | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | </ | ||
- | |||
- | Entscheidend ist nun, im Verzeichnis | ||
- | * **''/ | ||
- | den dort enthaltenen Repository-Konfigurationsdateien, | ||
- | < | ||
- | ... | ||
- | priority=1 | ||
- | ... | ||
- | </ | ||
- | |||
- | Was im Beispiel der Konfigurationsdatei | ||
- | * **''/ | ||
- | dann wie folgt aussehen könnte (**nur beispielhafter relevanter Ausschnitt**): | ||
- | < | ||
- | # CentOS-Base.repo | ||
- | # | ||
- | # The mirror system uses the connecting IP address of the client and the | ||
- | # update status of each mirror to pick mirrors that are updated to and | ||
- | # geographically close to the client. | ||
- | # unless you are manually picking other mirrors. | ||
- | # | ||
- | # If the mirrorlist= does not work for you, as a fall back you can try the | ||
- | # remarked out baseurl= line instead. | ||
- | # | ||
- | # | ||
- | |||
- | [base] | ||
- | name=CentOS-$releasever - Base | ||
- | mirrorlist=http:// | ||
- | # | ||
- | gpgcheck=1 | ||
- | gpgkey=file:/// | ||
- | priority=1 | ||
- | ... | ||
- | </ | ||
- | |||
- | :!: **HINWEIS** - Den eigenen Rpository' | ||
- | |||
- | Um [[http:// | ||
- | < | ||
- | # wget http:// | ||
- | --2012-09-07 13: | ||
- | Resolving dl.fedoraproject.org... 209.132.181.23, | ||
- | Connecting to dl.fedoraproject.org|209.132.181.23|: | ||
- | HTTP request sent, awaiting response... 200 OK | ||
- | Length: 14496 (14K) [application/ | ||
- | Saving to: “epel-release-6-7.noarch.rpm” | ||
- | |||
- | 100%[======================================> | ||
- | |||
- | 2012-09-07 13:06:14 (72.2 KB/s) - “epel-release-6-7.noarch.rpm” saved [14496/ | ||
- | |||
- | </ | ||
- | |||
- | Anschließend sollte zur **Prüfung der Echtheit** des soeben heruntergeladenen **'' | ||
- | * **'' | ||
- | dessen Schlüssel, mit dem das Paket signiert wurde, in die RPM-Paket-Verwaltung importiert werden: | ||
- | < | ||
- | # rpm --import https:// | ||
- | </ | ||
- | |||
- | Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen **Echtheit**, | ||
- | < | ||
- | # rpm -K epel-release-6-7.noarch.rpm | ||
- | epel-release-6-7.noarch.rpm: | ||
- | </ | ||
- | |||
- | Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden: | ||
- | < | ||
- | # yum localinstall epel-release-6-7.noarch.rpm | ||
- | Loaded plugins: fastestmirror, | ||
- | Setting up Local Package Process | ||
- | Examining epel-release-6-7.noarch.rpm: | ||
- | Marking epel-release-6-7.noarch.rpm to be installed | ||
- | Loading mirror speeds from cached hostfile | ||
- | base | 3.7 kB | ||
- | extras | ||
- | updates | ||
- | Resolving Dependencies | ||
- | --> Running transaction check | ||
- | ---> Package epel-release.noarch 0:6-7 will be installed | ||
- | --> Finished Dependency Resolution | ||
- | |||
- | Dependencies Resolved | ||
- | |||
- | ================================================================================ | ||
- | | ||
- | ================================================================================ | ||
- | Installing: | ||
- | | ||
- | |||
- | Transaction Summary | ||
- | ================================================================================ | ||
- | Install | ||
- | |||
- | Total size: 22 k | ||
- | Installed size: 22 k | ||
- | Is this ok [y/N]: y | ||
- | Downloading Packages: | ||
- | Running rpm_check_debug | ||
- | Running Transaction Test | ||
- | Transaction Test Succeeded | ||
- | Running Transaction | ||
- | Installing : epel-release-6-7.noarch | ||
- | Verifying | ||
- | |||
- | Installed: | ||
- | epel-release.noarch 0:6-7 | ||
- | |||
- | Complete! | ||
- | </ | ||
- | |||
- | Der Inhalt des Pakets **'' | ||
- | < | ||
- | # rpm -qil epel-release | ||
- | Name : epel-release | ||
- | Version | ||
- | Release | ||
- | Install Date: Fri 07 Sep 2012 11:41:46 AM CEST Build Host: x86-03.phx2.fedoraproject.org | ||
- | Group : System Environment/ | ||
- | Size : 22169 License: GPLv2 | ||
- | Signature | ||
- | Packager | ||
- | URL : http:// | ||
- | Summary | ||
- | Description : | ||
- | This package contains the Extra Packages for Enterprise Linux (EPEL) repository | ||
- | GPG key as well as configuration for yum and up2date. | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | </ | ||
- | |||
- | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// | ||
- | |||
- | Was im Beispiel der Konfigurationsdatei | ||
- | * **''/ | ||
- | dann wie folgt aussehen könnte (**nur beispielhafter relevanter Ausschnitt**): | ||
- | < | ||
- | [epel] | ||
- | name=Extra Packages for Enterprise Linux 6 - $basearch | ||
- | # | ||
- | mirrorlist=https:// | ||
- | failovermethod=priority | ||
- | enabled=1 | ||
- | gpgcheck=1 | ||
- | gpgkey=file:/// | ||
- | priority=10 | ||
- | ... | ||
- | </ | ||
tachtler/epel.1360928201.txt.gz · Zuletzt geändert: 2013/02/15 12:36 von klaus