yum ์ฃผ์ ์ฌ์ฉ๋ฒ ๋ฐ ๊ณ ๊ธ ์ฌ์ฉ๋ฒ (history ๊ด๋ฆฌ, plugin ์ฌ์ฉ, ํธ๋์ญ์ undo ๋ฑ)
๊ฐ์
yum ์ย Yellowdog Updater Modified ์ ์ฝ์๋ก ๋ํํ ํจํค์ง ๊ด๋ฆฌ ์์คํ ์ด๋ค. wikipedia ์ ๋ฐ๋ฅด๋ฉด Duke ๋ํ๊ต์ย ๋ฌผ๋ฆฌํ๊ณผ์์ ์ฌ์ฉํ๋ Red Hat Linux ์์คํ ์ ๊ด๋ฆฌ๋ฅผ ํธํ๊ฒ ํ๊ธฐ ์ํด ๋ง๋ค์ด ์ก๋ค๊ณ ํ๋ค.
Slackware ๋ ์ฌ์ฉํ๋ .tgz ํจํค์ง์ ๋นํด rpm ์ ์์กด์ฑ ๊ด๋ฆฌ์ ๋ฒ์ ๊ด๋ฆฌ๋ผ๋ ์ฅ์ ์ด ์์์ง๋ง ์ค์ rpm ์ผ๋ก Linux ์์คํ ์ ๊ด๋ฆฌํ ๊ฒฝ์ฐ ๋ค์๊ณผ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์๋ค.
- ํน์ rpm ์ ์์กด์ฑ ์๋ ํจํค์ง๊ฐ ์์ ๊ฒฝ์ฐ ์ผ์ผ์ด ๋ค์ด๋ฐ์์ ์์กด์ฑ ์๋ rpm์ ์ค์นํด์ผ ํจ.
- rpm ์ด update ๋์ ๊ฒฝ์ฐ ย update ๋๋ค๋ ์ฌ์ค์ ์๊ธฐ๊ฐ ์ด๋ ค์(ํจํค์ง๋ง๋ค ์ง์ ํ์ธ ํ์)
yum ์ central repository ๋ฅผ ํตํด rpm ์ ๋ฐฐํฌํ๊ณ ์์กด์ฑ ๊ด๋ฆฌ๋ฅผ ํ๋ฏ๋ก ์์ฝ๊ฒ ํจํค์ง๋ฅผ ๊ด๋ฆฌํ ์ ์๋ค.
์ฃผ์ ๋ช ๋ น์ด์ ์ต์
yum ์ command ์ option ์ผ๋ก ๊ตฌ์ฑ๋์ด ์๋ค. yum --help ๋ก ์ ์ฒด ๋ช ๋ น์ด์ ์ต์ ์ ํ์ธํ ์ ์๋ค.
๋ง์ด ์ฐ์ด๋ options ๋ ๋ค์๊ณผ ๊ฐ๋ค.
--enablerepo=[repo] | ์ฌ๋ฌ๊ฐ์ yum repository๊ฐ ์์ ๊ฒฝ์ฐ ์ฌ์ฉํ repos ๋ฅผ ์ง์ ํ๋ค. * ๊ฐ์ wildcard๋ฅผ ์ฌ์ฉํ ์ ์๋ค. |
---|---|
--disablerepo=[repo] | ์ฌ์ฉํ์ง ์์ repos ๋ฅผ ์ง์ ํ๋ค. wildcard ์ฌ์ฉ ๊ฐ๋ฅ |
--nogpgcheck | GPG ์๋ช ๊ฒ์ฆ์ ์ฌ์ฉํ์ง ์๋๋ค. ํด๋น repos ์ ๊ณต๊ฐํค๊ฐ ์์ด์ ์๋ช ๊ฒ์ฆ์ ์คํจํ ๊ฒฝ์ฐ์ ์ฌ์ฉํ๋ค. |
-d [debug level] | debugging level์ ์ง์ ํ๋ค. 0 - 10 ๊น์ง ๊ฐ๋ฅํ๋ฉฐ ์ซ์๊ฐ ํด์๋ก ์์ธํ ์ ๋ณด๋ฅผ ์ถ๋ ฅํ๋ค. |
-y, --assumeyes | yum ์งํ์ค ๋์ค๋ ์ง๋ฌธ์ ๋ชจ๋ yes ๋ก ์ฒ๋ฆฌํ๋ค. ์ญ์ ํ ๊ฒฝ์ฐ์๋ ์์กด์ฑ์๋ ๋ชจ๋ ํจํค์ง๊น์ง ์ญ์ ๋๋ฏ๋ก ์ฃผ์ํด์ผ ํ๋ค. |
install
ํจํค์ง๋ฅผ ์ค์นํ๋ค. ์์กด์ฑ์๋ ํจํค์ง๊น์ง ๊ฐ์ด ์ค์นํด ์ค๋ค.
updateย
yum update httpd ์ ๊ฐ์ด ํจํค์ง๋ช ์ด ์ฃผ์ด์ง ๊ฒฝ์ฐ ํด๋น ํจํค์ง์ ์ ๋ฒ์ ์ด ์์ผ๋ฉด update ํ๋ค. ํจํค์ง๋ช ์ด ์์ ๊ฒฝ์ฐ ์ ์ฒด ์์คํ ์์ update ๋ ํจํค์ง๋ฅผ ํ์ธํ update ํ๋ค. -y ์ต์ ์ ์ค ๊ฒฝ์ฐ ๋ฌป์ง ์๊ณ ์ ๋ฐ์ดํธํ๋ฏ๋ก ์ฃผ์ํด์ผ ํ๋ค.
์ ์ฒด update ์ํ์ ๋ฐฐํฌ๋ณธ์ minor ๋ฒ์ ์ด ๋ณ๊ฒฝ๋ ์ ์๋ค. Ex: RHEL 6.1 -> 6.4
check-update
update ๋ ํจํค์ง์ ๋ชฉ๋ก์ ์ถ๋ ฅํ๋ค.
clean
The following are the ways which you can invoke yum in clean mode. Note that "all files" in the commands below meansย "all files in currently enabled repositories". If you want to also clean any (temporarily) disabled repositories youย need to use --enablerepo=โ*โ option.
check
check Checks the local rpmdb and produces information on any problems it finds. You can pass the check command theย arguments "dependencies" or "duplicates", to limit the checking that is performed (the default is "all" whichย does both).
The info command can also take ranges of transaction ids, of the form start..end, which will then display aย merged history as if all the transactions in the range had happened at once.
Eg. "history info 1..4" will merge the first four transactions and display them as a single transaction.ย help Produces help, either for all commands or if given a command name then the help for that particular command.
repolist
ํ์ฌ ๋ฑ๋ก๋ repossitory list ๋ฅผ ์ถ๋ ฅํ๋ค. repository ์ค์ ์ /etc/yum.repos.d/ ์์ ํ์ธํ ์ ์๋ค.
search
yum search string
ํจํค์ง๋ช ๋ฐ description ์ "string" ๋ค์ด๊ฐ ํจํค์ง๋ค์ ์ถ๋ ฅํ๋ค.ย
provides
yum search path-string
ํจํค์ง์ ํฌํจ๋ ํ์ผ๋ช ์ด string ๊ณผ ์ผ์นํ๋ ํจํค์ง๋ค์ ์ถ๋ ฅํ๋ค. ย ์๋ก ๋ค์ ๋ช ๋ น์ด๋ httpd.conf ๋ ํ์ผ์ด ์๋ ๋ชจ๋ ํจํค์ง๋ฅผ ์ถ๋ ฅํ๋ค.
yum provides '*/httpd.conf' ย 389-admin-1.1.29-1.el6.i686 : 389 Administration Server (admin) Repo : epel Matched from: Filename : /etc/dirsrv/admin-serv/httpd.conf piranha-0.8.6-2.el6_4.1.x86_64 : Cluster administation tools Repo : updates Matched from: Filename : /etc/sysconfig/ha/conf/httpd.conf
์์ ๊ฐ์ด /etc/dirsrv/admin-serv/์ ์๋ httpd.conf ๋ ์ถ๋ ฅ์ด ๋๋ค. /etc/httpd/ ๋ฐ์ httpd.conf ๊ฐ ์๋ ํจํค์ง๋ง ์ถ๋ ฅํ๊ณ ์ถ๋ค๋ฉด ๋ค์๊ณผ ๊ฐ์ด ๊ฒฝ๋ก๋ฅผ ์ง์ ํ๋ค.
yum provides '/etc/http*/httpd.conf' ย httpd-2.2.15-28.el6.centos.x86_64 : Apache HTTP Server Repo : updates Matched from: Filename : /etc/httpd/conf/httpd.conf
localinstall
yum repository ๋ฅผ ์ ๊ณตํ์ง ์๊ณ rpm ์ผ๋ก๋ง ์ ๊ณตํ๋ ํจํค์ง๊ฐ ์์ ๊ฒฝ์ฐ (Ex: MySQL) ์ ์ฉํ ๋ช ๋ น์ด๋ค.
rpm ์ ๋ก์ปฌ์ ๋ค์ด๋ก๋ํ๊ณ yum localinstall ๋ก ์ค์นํ๋ฉด ๋๋ค.
rpm -ivh ๋ก ์ค์นํ ์๋ ์์ง๋ง yum ย ์ผ๋ก ์์ ํ๋ฉด transaction ๊ธฐ๋ก์ด ๋จ์ผ๋ฏ๋ก yum history ๋ฅผ ์ฌ์ฉํ์ฌ rollback ์ด ๊ฐ๋ฅํ๋ค.
rpm ์ ์์ฌ์ ์๋ช ์ด ์์ด์ ์๋ฌ๊ฐ ๋ ์ ์์ผ๋ฏ๋ก --nogpgcheck ์ต์ ์ ์ถ๊ฐํด์ผ ํ ๊ฒฝ์ฐ๋ ์๋ค.
yum plugin
yum ์ plugin ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ค. ์ฌ์ฉ๊ฐ๋ฅํ ์ ์ฒด ํ๋ฌ๊ทธ์ธ ๋ชฉ๋ก์ "yum search yum-plugin" ๋ช ๋ น์ด๋ก ๋ณผ์ ์๋ค.
yum ์ ์คํํ๋ฉด ๋ค์๊ณผ ๊ฐ์ด ํ์ฌ ๊ธฐ๋๋ plugin ๋ชฉ๋ก์ ํ์ํ๋ค.
Loaded plugins: fastestmirror, presto, refresh-packagekit
์ ์ฉํ ํ๋ฌ๊ทธ์ธ์ ๋ค์๊ณผ ๊ฐ๋ค.
yum download only plugin
yum package ๋ฅผ ์ค์นํ์ง ์๊ณ rpm ์ ๋ค์ด๋ก๋๋ง ํด์ฃผ๋ ํ๋ฌ๊ทธ์ธ์ด๋ค.
plugin ์ค์น๋ ๋ค์ yum ๋ช ๋ น์ผ๋ก ์ค์นํ์.
yum install yum-downloadonly
download ์์๋ --downloadonly ์ต์ ์ ๋ถ์ฌ์ yum ์ ์คํํ๋ฉด ๋๋ค.
yum install postfix -y --downloadonly ย
CentOS 7 ์์๋ yumdownloader ๋ผ๋ ๋ณ๋์ ๋ช ๋ น์ด๋ก ๋ถ๋ฆฌ๋์์ต๋๋ค
$ yumdownloader python --source
/var/cache/yum/ ์ ๋ค์ด๋ก๋ ํจํค์ง ์ ์ฅ๋๋ ์๋์ฒ๋ผ ํ๋ฉด ๋จ
yum installย postfixย -y --downloadonly --downloaddir=/opt
์ฐธ๊ณ
verify plugin
์ค์น๋ ํจํค์ง๋ฅผ ๊ฒ์ฆํด ์ฃผ๋ ํ๋ฌ๊ทธ์ธ์ด๋ค.
๋ค์ ๋ช ๋ น์ด๋ก httpd ํจํค์ง๋ฅผ ๊ฒ์ฆํ ์ ์๋ค.
yum verify httpd
httpd ํจํค์ง์ ์ค์ ํ์ผ์ ์์ ์ฌ๋ถ๋ฅผ ๊ฒ์ฆํ๋ ค๋ฉด ๋ค์๊ณผ ๊ฐ์ด ์ํํ๋ค.
yum verify --verify-filenames='/etc/httpd/*'ย ย --verify-configuration-files=yes
ํน์ ํ๋ฌ๊ทธ์ธ disable
yum ์คํ์ --disableplugin ์ต์ ์ผ๋ก ํน์ ํ๋ฌ๊ทธ์ธ์ ์ฌ์ฉ์ ์ ์ ์ค์งํ ์ ์๋ค. RHEL ์ ๊ฒฝ์ฐ ๋คํธ์์ด ๋ฏธ๊ตฌ์ฑ๋์๊ฑฐ๋ ์์ง subscription ์ ๋ฑ๋ก ์ ํ์ ๊ฒฝ์ฐ yum ์คํ์ RHN(RedHat Network) ์ ์ฐ๊ฒฐํ๋ ค๊ณ ํ๋ฏ๋ก DVD ๋ ISO ๋ก local repository ๋ฅผ ๋ง๋ค์ด๋ ํจํค์ง๋ฅผ ์ค์นํ ์ ์๋ค. ์ด๋ด ๊ฒฝ์ฐ ๋ค์๊ณผ ๊ฐ์ด ๋ ๊ฐ์ plugin ์ ์ ์ ์ค์ง์์ผ์ฃผ๋ฉด RHN ์ฐ๊ฒฐ๊ณผ ์๊ด์์ด ํจํค์ง๋ฅผ ์ค์นํ ์ ์๋ค.
yum --disableplugin=subscription-manager,rhnplugin install git -y
yum ์ค์น history ๋ฐ transaction ๊ด๋ฆฌ
ํจํค์ง ์ค์น, ๋ณ๊ฒฝ, ์ญ์ ๋ก ์ธํด ๋ด๋ถ ์ ์ฅ์๊ฐ ๋ณ๊ฒฝ๋๋ ์์ ์ ํธ๋์ญ์ ์ด๋ผ๊ณ ํ๋ฉฐ RHEL6/CentOS 6 ์ ํฌํจ๋ yum ๋ถํฐ๋ ํธ๋์ญ์ ๋ด์ญ์ ํ์ธํ๊ณ rollback ์ ํ ์ ์๋ค.ย
ํธ๋์ญ์ ๋ชฉ๋ก ๋ณด๊ธฐ
yum history ๋ฅผ ์ต์ ์์ด ์คํํ๊ฑฐ๋ ์ต์ ์ list ๋ฅผ ์ฃผ๋ฉด ์ต๊ทผ ํธ๋์ญ์ ๋ชฉ๋ก์ ๋ณผ ์ ์๋ค.
root@localhost:~:> yum history list ย Loaded plugins: fastestmirror, security ID | Login user | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 8 | root <root> | 2014-01-08 05:51 | Install | 1 7 | root <root> | 2014-01-08 04:23 | Reinstall | 1 6 | root <root> | 2014-01-08 03:18 | Reinstall | 1 5 | root <root> | 2014-01-07 06:44 | I, U | 4 4 | root <root> | 2014-01-02 05:32 | I, U | 3 3 | root <root> | 2014-01-01 03:48 | Install | 4 EE 2 | root <root> | 2014-01-01 03:15 | I, U | 28 1 | System <unset> | 2013-12-15 03:43 | Install | 534
๋ชจ๋ ํธ๋์ญ์ ์ ๋ณด๋ ค๋ฉด list ์ต์ ๋ค์ all ๋ค์ ํค์๋๋ฅผ ์ฃผ๋ฉด ๋๋ค.
root@localhost:~:> yum history list all
ํน์ ๋ฒ์๋ด ํธ๋์ญ์ ๋ง ๋ณด๋ ค๋ฉด "์์ ํธ๋์ญ์ ๋ฒํธ".."์ข ๋ฃ ํธ๋์ญ์ ๋ฒํธ" ํ์์ผ๋ก ์ ๋ ฅํ๋ฉด ๋๋ค. ๋ค์์ ํธ๋์ญ์ ๋ฒํธ๊ฐ 30 ์์ 35์ธ ๋ชฉ๋ก์ ์ถ๋ ฅํ๋ค.
yum history list 30..35 Loaded plugins: fastestmirror, replace ID | Login user | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 35 | root <root> | 2014-01-12 16:53 | I, U | 3 EE 34 | root <root> | 2014-01-12 14:05 | Install | 1 33 | root <root> | 2014-01-12 14:05 | Erase | 2 32 | root <root> | 2014-01-12 13:00 | Install | 2 31 | root <root> | 2014-01-12 13:00 | Erase | 1 30 | root <root> | 2014-01-02 10:18 | Install | 5 history list
ํธ๋์ญ์ ์์ ์ ๋ณด ์ถ์ถ
๋ง์ง๋ง ํธ๋์ญ์ ์ ๋ณด ๋ณด๊ธฐ
root@localhost:~:> yum history info Loaded plugins: fastestmirror, security Transaction ID : 8 Begin time : Wed Jan 8 05:51:29 2014 Begin rpmdb : 541:b7c34882afac2a58081bb274b5aaf30c2f993335 End time : 05:51:31 2014 (2 seconds) End rpmdb : 542:4124c5c718def4131929c4ca08df78611232aa42 User : root <root> Return-Code : Success Command Line : install mc Transaction performed with: Installed rpm-4.8.0-37.el6.x86_64 @anaconda-CentOS-201311272149.x86_64/6.5 Installed yum-3.2.29-43.el6.centos.noarch @updates Installed yum-plugin-fastestmirror-1.1.30-14.el6.noarch @anaconda-CentOS-201311272149.x86_64/6.5 Packages Altered: Install mc-1:4.7.0.2-3.el6.x86_64 @base history info
ID ๊ฐ 4 ์ธ ํธ๋์ญ์ ์ ๋ณด ๋ณด๊ธฐ
root@localhost:~:> yum history info 4 Loaded plugins: fastestmirror, security Transaction ID : 4 Begin time : Thu Jan 2 05:32:21 2014 Begin rpmdb : 539:85ca42f3d13cc18b6c4e179d32d564ba2ad47345 End time : 05:32:30 2014 (9 seconds) End rpmdb : 540:a28a774308ff5f83227157e08f47bb2b3aa02618 User : root <root> Return-Code : Success Command Line : localinstall git-1.8.3.1-1.sdl6.x86_64.rpm perl-Git-1.8.3.1-1.sdl6.noarch.rpm Transaction performed with: Installed rpm-4.8.0-37.el6.x86_64 @anaconda-CentOS-201311272149.x86_64/6.5 Installed yum-3.2.29-43.el6.centos.noarch @updates Installed yum-plugin-fastestmirror-1.1.30-14.el6.noarch @anaconda-CentOS-201311272149.x86_64/6.5 Packages Altered: Updated git-1.7.1-3.el6_4.1.x86_64 @anaconda-CentOS-201311272149.x86_64/6.5 Update 1.8.3.1-1.sdl6.x86_64 @/git-1.8.3.1-1.sdl6.x86_64 Updated perl-Git-1.7.1-3.el6_4.1.noarch @anaconda-CentOS-201311272149.x86_64/6.5 Update 1.8.3.1-1.sdl6.noarch @/perl-Git-1.8.3.1-1.sdl6.noarch Dep-Install perl-TermReadKey-2.30-13.el6.x86_64 @base history info
ํธ๋์ญ์ ๋๋๋ฆฌ๊ธฐ
yum history undo ID ๋ช ๋ น์ด๋ก ํน์ ํธ๋์ญ์ ์ ๋๋๋ฆด ์ ์๋ค. (ID๋ ํธ๋์ญ์ ๋ฒํธ์ด๋ค)
์๋ก ๋ค์๊ณผ ๊ฐ์ด ํธ๋์ญ์ 8์์ mc ๋ผ๋ ํจํค์ง๋ฅผ ์ค์นํ์ ๊ฒฝ์ฐ
root@localhost:~:> yum history list Loaded plugins: fastestmirror, security ID | Login user | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 8 | root <root> | 2014-01-08 05:51 | Install | 1 7 | root <root> | 2014-01-08 04:23 | Reinstall | 1 6 | root <root> | 2014-01-08 03:18 | Reinstall | 1 5 | root <root> | 2014-01-07 06:44 | I, U | 4 4 | root <root> | 2014-01-02 05:32 | I, U | 3 3 | root <root> | 2014-01-01 03:48 | Install | 4 EE 2 | root <root> | 2014-01-01 03:15 | I, U | 28 1 | System <unset> | 2013-12-15 03:43 | Install | 534 history list
yum history undo 8 ์ ์คํํ๋ฉด 8๋ฒ ํธ๋์ญ์ ์ ๋ํด undo ๋ฅผ ์ํํ๋ค. undoย ์ ๊ฒฐ๊ณผ๋ ํด๋น ํธ๋์ญ์ ์ด ๋ฌด์์ด์๋์ง์ ๋ฐ๋ผ ๋ค๋ฅด๋ค. ์ค์น์์ผ๋ฉด undo ๋ ์ญ์ ๊ฐ ๋๊ณ ์ญ์ ์๋ค๋ฉด undo ๋ ์ค์น๊ฐ ๋๋ค.
์๋ก ํธ๋์ญ์ 8๋ฒ์์ mc ๋ผ๋ ํจํค์ง๋ฅผ ์ค์นํ์ผ๋ฉด undo 8์ ๊ฒฐ๊ณผ๋ mc ํจํค์ง์ ์ญ์ ๊ฐ ๋๋ค
root@localhost:~:> ย yum history undo 8 Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: data.nicehosting.co.kr * extras: data.nicehosting.co.kr * updates: data.nicehosting.co.kr Undoing transaction 8, from Wed Jan 8 05:51:29 2014 Install mc-1:4.7.0.2-3.el6.x86_64 @base Resolving Dependencies --> Running transaction check ---> Package mc.x86_64 1:4.7.0.2-3.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================= Package Arch Version Repository Size ================================================================================================================= Removing: mc x86_64 1:4.7.0.2-3.el6 @base 5.4 M Transaction Summary ================================================================================================================= Remove 1 Package(s) Installed size: 5.4 M Is this ok [y/N]: y
undo์ ๊ฒฐ๊ณผ๋ก ๋ค์๊ณผ ๊ฐ์ด transaction 9๋ฒ์ด ์๊ฒผ๊ณ Action ์ Erase ๊ฐ ๋๋ค.
root@localhost:~:> yum history list ย Loaded plugins: fastestmirror, security ID | Login user | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 9 | root <root> | 2014-01-08 05:58 | Erase | 1 8 | root <root> | 2014-01-08 05:51 | Install | 1 7 | root <root> | 2014-01-08 04:23 | Reinstall | 1 6 | root <root> | 2014-01-08 03:18 | Reinstall | 1 5 | root <root> | 2014-01-07 06:44 | I, U | 4 4 | root <root> | 2014-01-02 05:32 | I, U | 3 3 | root <root> | 2014-01-01 03:48 | Install | 4 EE 2 | root <root> | 2014-01-01 03:15 | I, U | 28 1 | System <unset> | 2013-12-15 03:43 | Install | 534 history list
๋ชจ๋ history ๋ฅผ ์ญ์ ํ๋ ์ํํ ๋ช ๋ น์ด์ด๋ค. ํน๋ณํ ์ด์ ๊ฐ ์๋ค๋ฉด ์คํํ์ง ์๋๋ค.
yum history new
๊ฐ์ด ๋ณด๊ธฐ
- rpm command ์ ๋ฆฌ ๋ฐ ์ฌ์ฉ๋ฒ
- yum ์ผ๋ก ํจํค์ง ๊ด๋ฆฌํ๊ธฐ
- RHEL/CentOS 5,6 ์ EPEL ๊ณผ Remi/WebTatic Repository ์ค์นํ๊ธฐ
- CentOS 6 ์ yum ์ผ๋ก MySQL 5.5 ์ค์น
- CentOS 6 ์ subversion 1.7 ์ด์ ์ค์น ๋ฐ ์ค์ ํ๊ธฐ
์ฐธ๊ณ
- https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Yum-Transaction_History.html
- http://www.if-not-true-then-false.com/2010/yum-history-list-info-summary-repeat-redo-undo-new/
- http://yum.baseurl.org/wiki/YumHistory
- http://yum.baseurl.org/wiki/Faq
- What is yum and how do I use it? - https://access.redhat.com/site/solutions/9934
- How to use yum history to roll back an update in Red Hat Enterprise Linux 6 - https://access.redhat.com/site/solutions/64069