Yum History Kullanımı

Temmuz 30th, 2013 § Yorum yok

Bütün yum işlerini listele

[root ~]> yum history
### OR ###
[root ~]> yum history list
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
ID     | Login user             | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
    45 | System <unset>         | 2010-01-18 09:57 | I, U           |   21
    44 | User <username>        | 2010-01-14 15:31 | Install        |    1
    43 | System <unset>         | 2010-01-14 08:13 | Update         |   19
    42 | System <unset>         | 2010-01-13 10:39 | I, U           |   40
    41 | System <unset>         | 2010-01-11 07:59 | Update         |   16
    40 | System <unset>         | 2010-01-08 07:58 | Update         |   38
    39 | System <unset>         | 2010-01-07 08:39 | I, O, U        |   39
    38 | System <unset>         | 2010-01-05 08:23 | O, U           |   18
    37 | User <username>        | 2010-01-04 15:43 | Install        |    1
    36 | System <unset>         | 2010-01-04 07:56 | Update         |   66
    35 | User <username>        | 2009-12-30 10:07 | Install        |    2
    34 | User <username>        | 2009-12-30 10:01 | Update         |   15
    33 | User <username>        | 2009-12-30 08:14 | Install        |   13
    32 | System <unset>         | 2009-12-29 07:52 | I, U           |   26
    31 | System <unset>         | 2009-12-28 08:31 | E, I, U        |   66
    30 | System <unset>         | 2009-12-23 12:11 | Update         |    7
    29 | System <unset>         | 2009-12-22 13:59 | Update         |   36
    28 | User <username>        | 2009-12-21 13:21 | Install        |    1
    27 | System <unset>         | 2009-12-18 14:59 | Update         |   56
    26 | User <username>        | 2009-12-18 08:46 | Install        |    1
history list

ID ile history bilgisine ulaşalım:

[root ~]> yum history info 2
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Transaction ID : 2
Begin time     : Tue Jan 19 15:10:13 2010
Begin rpmdb    : 2431:fe4c2c846fd45c9125fb8ab27542a27b22e0d3df
End time       :            15:10:27 2010 (14 seconds)
End rpmdb      : 2430:2eeb12b0b0f2ef3fcb31b4447b439e76e92e3866
User           : User <username>
Return-Code    : Success
Transaction performed with:
    Installed    rpm-4.7.2-1.fc12.i686
    Installed    yum-3.2.25-1.fc12.noarch
    Installed    yum-plugin-fastestmirror-1.1.24-2.fc12.noarch
Packages Altered:
    Erase        arora-0.10.2-2.fc12.i686
history info

ID ile redo ve undo yapmak

[root ~]> yum history repeat 2
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.cogentco.com
 * livna: rpm.livna.org
[...]
Repeating transaction 2, from Tue Jan 19 15:10:13 2010
    Erase        arora-0.10.2-2.fc12.i686
No package matched to remove
history repeat

[root ~]> yum history undo 2
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
[...]
Undoing transaction 2, from Tue Jan 19 15:10:13 2010
    Erase        arora-0.10.2-2.fc12.i686
Resolving Dependencies
--> Running transaction check
---> Package arora.i686 0:0.10.2-2.fc12 set to be updated
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=================================================================================================================================================================================
 Package                                 Arch                                   Version                                          Repository                                 Size
=================================================================================================================================================================================
Installing:
 arora                                   i686                                   0.10.2-2.fc12                                    updates                                   1.1 M
 
Transaction Summary
=================================================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)
 
Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
arora-0.10.2-2.fc12.i686.rpm                                                                                                                              | 1.1 MB     00:00     
[...]
Running Transaction
  Installing     : arora-0.10.2-2.fc12.i686                                                                                                                                  1/1 
 
Installed:
  arora.i686 0:0.10.2-2.fc12                                                                                                                                                     
 
Complete!

[root ~]> yum history redo 2
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
[...]
Repeating transaction 2, from Tue Jan 19 15:10:13 2010
    Erase        arora-0.10.2-2.fc12.i686
Resolving Dependencies
--> Running transaction check
---> Package arora.i686 0:0.10.2-2.fc12 set to be erased
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=================================================================================================================================================================================
 Package                                Arch                                  Version                                           Repository                                  Size
=================================================================================================================================================================================
Removing:
 arora                                  i686                                  0.10.2-2.fc12                                     installed                                  3.7 M
 
Transaction Summary
=================================================================================================================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)
 
Is this ok [y/N]: y
[...]
Running Transaction
  Erasing        : arora-0.10.2-2.fc12.i686                                                                                                                                  1/1 
 
Removed:
  arora.i686 0:0.10.2-2.fc12                                                                                                                                                     
 
Complete!

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Ne yapıyorum ben!?

Yum History Kullanımı başlıklı yazıyı okuyorsun.

Üst Veri