tachtler:epel_centos_7
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:epel_centos_7 [2014/11/30 08:11] – klaus | tachtler:epel_centos_7 [2017/09/09 07:33] (aktuell) – klaus | ||
---|---|---|---|
Zeile 17: | Zeile 17: | ||
< | < | ||
# rpm -qil yum-plugin-priorities | # rpm -qil yum-plugin-priorities | ||
+ | Name : yum-plugin-priorities | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Fri 21 Nov 2014 07:14:20 AM CET | ||
+ | Group : System Environment/ | ||
+ | Size : 29127 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : yum-utils-1.1.31-25.el7_0.src.rpm | ||
+ | Build Date : Tue 12 Aug 2014 08:39:15 PM CEST | ||
+ | Build Host : worker1.bsys.centos.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | 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 | Entscheidend ist nun, im Verzeichnis | ||
* **''/ | * **''/ | ||
- | den dort enthaltenen Repository Konfigurationsdateien, | + | den dort enthaltenen Repository Konfigurationsdateien, |
+ | |||
+ | (**nur relevanter Ausschnitt**): | ||
< | < | ||
... | ... | ||
Zeile 30: | Zeile 59: | ||
Was im Beispiel der Konfigurationsdatei | Was im Beispiel der Konfigurationsdatei | ||
* **''/ | * **''/ | ||
- | dann wie folgt aussehen könnte | + | dann wie folgt aussehen könnte: |
< | < | ||
+ | # 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 | priority=1 | ||
- | ... | + | |
+ | #released updates | ||
+ | [updates] | ||
+ | name=CentOS-$releasever - Updates | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
+ | |||
+ | #additional packages that may be useful | ||
+ | [extras] | ||
+ | name=CentOS-$releasever - Extras | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
+ | |||
+ | #additional packages that extend functionality of existing packages | ||
+ | [centosplus] | ||
+ | name=CentOS-$releasever - Plus | ||
+ | mirrorlist=http:// | ||
+ | # | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | priority=1 | ||
</ | </ | ||
Zeile 41: | Zeile 115: | ||
Um [[http:// | Um [[http:// | ||
< | < | ||
- | # wget http:// | + | # wget http:// |
+ | --2014-11-30 08: | ||
+ | Resolving dl.fedoraproject.org... 209.132.181.24, | ||
+ | Connecting to dl.fedoraproject.org|209.132.181.24|: | ||
+ | HTTP request sent, awaiting response... 200 OK | ||
+ | Length: 13104 (13K) [application/ | ||
+ | Saving to: ' | ||
+ | |||
+ | 100%[======================================> | ||
+ | |||
+ | 2014-11-30 08:16:00 (64.1 KB/s) - 'epel-release-7-2.noarch.rpm' | ||
</ | </ | ||
Anschließend sollte zur **Prüfung der Echtheit** des soeben heruntergeladenen **'' | 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: | dessen Schlüssel, mit dem das Paket signiert wurde, in die RPM-Paket-Verwaltung importiert werden: | ||
< | < | ||
Zeile 53: | Zeile 137: | ||
Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen **Echtheit**, | Danach kann das so heruntergeladene Paket, mit nachfolgendem Befehl auf dessen **Echtheit**, | ||
< | < | ||
- | # rpm -K epel-release-7-2.noarch.rpm | + | # rpm -K epel-release-7-10.noarch.rpm |
- | epel-release-7-2.noarch.rpm: | + | epel-release-7-10.noarch.rpm: |
</ | </ | ||
Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden: | Abschließend kann dann, mit nachfolgendem Befehl, das Paket installiert werden: | ||
< | < | ||
- | # yum localinstall epel-release-7-2.noarch.rpm | + | # yum localinstall epel-release-7-10.noarch.rpm |
</ | </ | ||
- | Der Inhalt des Pakets **'' | + | Der Inhalt des Pakets **'' |
< | < | ||
# rpm -qil epel-release | # rpm -qil epel-release | ||
+ | Name : epel-release | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Fri 21 Nov 2014 07:15:23 AM CET | ||
+ | Group : System Environment/ | ||
+ | Size : 22060 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : epel-release-7-10.src.rpm | ||
+ | Build Date : Tue 02 Sep 2014 06:16:28 PM CEST | ||
+ | Build Host : buildhw-04.phx2.fedoraproject.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This package contains the Extra Packages for Enterprise Linux (EPEL) repository | ||
+ | GPG key as well as configuration for yum. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
</ | </ | ||
- | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// | + | :!: **HINWEIS** - Abschließend sollte hier die **Priorität** des [[http:// |
Was im Beispiel der Konfigurationsdatei | Was im Beispiel der Konfigurationsdatei | ||
Zeile 74: | Zeile 183: | ||
< | < | ||
[epel] | [epel] | ||
+ | name=Extra Packages for Enterprise Linux 7 - $basearch | ||
+ | # | ||
+ | mirrorlist=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:/// | ||
+ | priority=10 | ||
+ | [epel-debuginfo] | ||
+ | name=Extra Packages for Enterprise Linux 7 - $basearch - Debug | ||
+ | # | ||
+ | mirrorlist=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
+ | priority=10 | ||
+ | |||
+ | [epel-source] | ||
+ | name=Extra Packages for Enterprise Linux 7 - $basearch - Source | ||
+ | # | ||
+ | mirrorlist=https:// | ||
+ | failovermethod=priority | ||
+ | enabled=0 | ||
+ | gpgkey=file:/// | ||
+ | gpgcheck=1 | ||
priority=10 | priority=10 | ||
- | ... | ||
</ | </ | ||
+ | Wichtig ist hier, im Verzeichnis | ||
+ | * **''/ | ||
+ | den dort enthaltenen Repository Konfigurationsdateien | ||
+ | * **'' | ||
+ | * **'' | ||
+ | durch Ergänzung nachfolgender Zeile, eine **Priorität höher als die für die Standard-Repositories** zuzuweisen | ||
+ | |||
+ | (**nur relevanter Ausschnitt**): | ||
+ | < | ||
+ | ... | ||
+ | priority=10 | ||
+ | ... | ||
+ | </ |
tachtler/epel_centos_7.1417331499.txt.gz · Zuletzt geändert: 2014/11/30 08:11 von klaus