Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
centos:yum_1 [11.07.2014 21:06. ] – angelegt django | centos:yum_1 [22.07.2019 14:54. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Changelog beim Paketupdate ====== | ====== Changelog beim Paketupdate ====== | ||
- | FIXME | + | Wer kennt es nicht, das flaue Gefühl im Magen, wenn mal wieder jede Menge Systemupdates anstehen, oder gerade wieder vulnerability-bug Nachrichten in den einschlägigen Medien auftauchen. Ist bei dem gerade anstehenden Update ein hotfix mit dabei oder was genau wurde wurde in dem Updatepaket geändert? |
+ | |||
+ | Hilfreiche Informationen vermerkt ein Paketmaintainer beim Bauen eines **RPM**s in dessen Changelog. | ||
+ | $ less rpmbuild/ | ||
+ | < | ||
+ | |||
+ | %changelog | ||
+ | * Sun May 04 2014 Django < | ||
+ | - version 2.0.4-3 build with patches from Andreas Schulze: | ||
+ | ° fixwarnings.patch | ||
+ | ° ar-header.patch | ||
+ | ° no_daemon.patch | ||
+ | ° logging.patch | ||
+ | ° insert_header.patch | ||
+ | ° ipv6.patch | ||
+ | Thanx to Andreas! | ||
+ | |||
+ | ... | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Standard Update ===== | ||
+ | Bei einem Paketupdate sehen wir nur nichts von diesen Informationen. | ||
+ | # yum update | ||
+ | |||
+ | < | ||
+ | 1524 packages excluded due to repository priority protections | ||
+ | Setting up Update Process | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ========================================================================================================= | ||
+ | | ||
+ | ========================================================================================================= | ||
+ | Updating: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ========================================================================================================= | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 433 k | ||
+ | Is this ok [y/N]: | ||
+ | </ | ||
+ | |||
+ | ===== Installation ===== | ||
+ | Damit wir bei einem Update die // | ||
+ | # yum install yum-plugin-changelog | ||
+ | |||
+ | Was uns das Paket mitbringt zeigt uns der folgende Aufruf: | ||
+ | # rpm -qil yum-plugin-changelog | ||
+ | < | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Fri 11 Jul 2014 10:48:41 PM CEST | ||
+ | Group : System Environment/ | ||
+ | Size : 41381 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : yum-utils-1.1.31-24.el7.src.rpm | ||
+ | Build Date : Tue 10 Jun 2014 09:49:41 AM CEST | ||
+ | Build Host : worker1.bsys.centos.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This plugin adds a command line option to allow viewing package changelog | ||
+ | deltas before or after updating packages. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ===== man page ===== | ||
+ | Weitere Informationen über das Paket **yum-changelog** finden wir auch in der man-Page des Paketes. | ||
+ | # man yum-changelog | ||
+ | |||
+ | < | ||
+ | |||
+ | NAME | ||
+ | | ||
+ | |||
+ | SYNOPSIS | ||
+ | The yum-changelog package | ||
+ | |||
+ | DESCRIPTION | ||
+ | | ||
+ | will invoke yum-changelog(1) plugin if the --changelog option or the changelog command is used | ||
+ | with yum. | ||
+ | |||
+ | OPTIONS | ||
+ | | ||
+ | Show changelog delta of updated packages | ||
+ | |||
+ | COMMANDS | ||
+ | | ||
+ | Show changelog | ||
+ | argument is required and is either " | ||
+ | changelog | ||
+ | changelog entries. | ||
+ | |||
+ | FILES | ||
+ | / | ||
+ | The system wide configuration file. See yum-changelog.conf(5) for more information. | ||
+ | |||
+ | EXAMPLES | ||
+ | # yum changelog 2008-Jan yum\* | ||
+ | | ||
+ | | ||
+ | * Wed Jan 30 17:00:00 2008 Tim Lauridsen < | ||
+ | - mark as 1.1.11 | ||
+ | | ||
+ | # yum update ktechlab --changelog | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | * Wed Nov 22 23:00:00 2006 Chitlesh Goorah - 0.3-6 | ||
+ | - Rebuilt due to new gpsim-devel release | ||
+ | |||
+ | BUGS | ||
+ | There are of course no bugs, but should you find any, you should first consult the FAQ section | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | AVAILABILITY | ||
+ | | ||
+ | # yum install yum-changelog | ||
+ | |||
+ | AUTHORS | ||
+ | Chitlesh Goorah < | ||
+ | Panu Matilainen < | ||
+ | James Antill < | ||
+ | |||
+ | SEE ALSO | ||
+ | | ||
+ | |||
+ | 08 February 2007 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== manueller Aufruf ===== | ||
+ | Mit der Option **%%--%%changelog** beim Aufruf von **yum update** werden uns nun die Informationen aus dem RPM-Paket angezeigt. | ||
+ | # yum update --changelog | ||
+ | |||
+ | < | ||
+ | 1524 packages excluded due to repository priority protections | ||
+ | Setting up Update Process | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Changes in packages about to be updated: | ||
+ | |||
+ | ChangeLog for: mpg123-1.20.1-1.el6.rf.x86_64 | ||
+ | * Thu Jul 10 14:00:00 2014 Dag Wieers < | ||
+ | - Updated to release 1.20.1. | ||
+ | |||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ========================================================================================================= | ||
+ | | ||
+ | ========================================================================================================= | ||
+ | Updating: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ========================================================================================================= | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 433 k | ||
+ | Is this ok [y/N]: | ||
+ | </ | ||
+ | |||
+ | ===== automatischer Aufruf ===== | ||
+ | Damit wir nun nicht bei jedem Update diese Option "// | ||
+ | # vim / | ||
+ | |||
+ | <file bash / | ||
+ | enabled=1 | ||
+ | |||
+ | # Set to ' | ||
+ | when=pre | ||
+ | # Set to true, to always get the output (removes the cmd line arg) | ||
+ | # Django : 2014-07-11 | ||
+ | # default: always=false | ||
+ | always=true | ||
+ | </ | ||
+ | |||
+ | Nun können wir unser System wie gewohnt einfach updaten und wir erhalten die Information(en) aus dem oder den Paketen angezeigt. | ||
+ | |||
+ | # yum update | ||
+ | < | ||
+ | 1524 packages excluded due to repository priority protections | ||
+ | Setting up Update Process | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | ---> Package mpg123.x86_64 0: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Changes in packages about to be updated: | ||
+ | |||
+ | ChangeLog for: mpg123-1.20.1-1.el6.rf.x86_64 | ||
+ | * Thu Jul 10 14:00:00 2014 Dag Wieers < | ||
+ | - Updated to release 1.20.1. | ||
+ | |||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ========================================================================================================= | ||
+ | | ||
+ | ========================================================================================================= | ||
+ | Updating: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ========================================================================================================= | ||
+ | Upgrade | ||
+ | |||
+ | Total download size: 433 k | ||
+ | Is this ok [y/N]: | ||
+ | </ | ||
+ | |||
+ | ====== Links ====== | ||
+ | * **[[wiki: | ||
+ | * **[[http:// | ||
+ |