°Ô½Ã¹° 259°Ç
   
[redhat 6.5] YUM À» ÀÌ¿ëÇÏ¿© glibc Update ¿Í Downgrade Çϱâ
±Û¾´ÀÌ : ÃÖÀå¼· ³¯Â¥ : 2015-02-08 (ÀÏ) 19:02 Á¶È¸ : 6819
  • glibc ¹öÀü : 2.12-1.132 -> 2.12-1.149

    # rpm -qa | grep glibc
    glibc-common-2.12-1.132.el6.x86_64
    glibc-headers-2.12-1.132.el6.x86_64
    compat-glibc-2.5-46.2.x86_64
    compat-glibc-headers-2.5-46.2.x86_64
    glibc-devel-2.12-1.132.el6.x86_64
    glibc-2.12-1.132.el6.i686
    glibc-2.12-1.132.el6.x86_64
  1. glibc ¾÷µ¥ÀÌÆ® Çϱâ
    (RPM °æ·Î - /usr/local/src/ )

    #createrepo . // yum repodata »ý¼ºÇϱâ
    #vim /etc/yum.repos.d/glibc.repo // glibc repo °æ·ÎÁöÁ¤

    [glibc]
    baseurl=file:///usr/local/src/
    enabled=1
    gpgcheck=0

    #yum repolist // yum repoÁ¤º¸ È®ÀÎÇϱâ

    [root@20-VM src]# yum repolist
    Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager,
                  : tmprepo, verify, versionlock
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Loading support for Red Hat kernel ABI
    Repository 'glibc' is missing name in configuration, using id
    repo id                                   repo name                                                                         status
    glibc                                     glibc                                                                                14
    rhel-source                               Red Hat Enterprise Linux 6Server - x86_64 - Source                                3,690
    repolist: 3,704

    #yum update glibc // glibc ¾÷µ¥ÀÌÆ® Çϱâ

    [root@20-VM src]# yum update glibc
    Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager,
                  : tmprepo, verify, versionlock
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Loading support for Red Hat kernel ABI
    Repository 'glibc' is missing name in configuration, using id
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package glibc.i686 0:2.12-1.132.el6 will be updated
    --> Processing Dependency: glibc = 2.12-1.132.el6 for package: glibc-headers-2.12-1.132.el6.x86_64
    --> Processing Dependency: glibc = 2.12-1.132.el6 for package: glibc-common-2.12-1.132.el6.x86_64
    --> Processing Dependency: glibc = 2.12-1.132.el6 for package: glibc-devel-2.12-1.132.el6.x86_64
    ---> Package glibc.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc.i686 0:2.12-1.149.el6_6.5 will be an update
    ---> Package glibc.x86_64 0:2.12-1.149.el6_6.5 will be an update
    --> Running transaction check
    ---> Package glibc-common.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-common.x86_64 0:2.12-1.149.el6_6.5 will be an update
    ---> Package glibc-devel.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be an update
    ---> Package glibc-headers.x86_64 0:2.12-1.132.el6 will be updated
    ---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================
 Package                          Arch                      Version                                Repository                Size
==================================================================================================================================
Updating:
 glibc                            i686                      2.12-1.149.el6_6.5                     glibc                    4.3 M
 glibc                            x86_64                    2.12-1.149.el6_6.5                     glibc                    3.8 M
Updating for dependencies:
 glibc-common                     x86_64                    2.12-1.149.el6_6.5                     glibc                     14 M
 glibc-devel                      x86_64                    2.12-1.149.el6_6.5                     glibc                    983 k
 glibc-headers                    x86_64                    2.12-1.149.el6_6.5                     glibc                    612 k

Transaction Summary
==================================================================================================================================
Upgrade       5 Package(s)

Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 24 M
----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              55 MB/s |  24 MB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : glibc-2.12-1.149.el6_6.5.x86_64                                                                               1/10
  Updating   : glibc-common-2.12-1.149.el6_6.5.x86_64                                                                        2/10
  Updating   : glibc-headers-2.12-1.149.el6_6.5.x86_64                                                                       3/10
  Updating   : glibc-devel-2.12-1.149.el6_6.5.x86_64                                                                         4/10
  Updating   : glibc-2.12-1.149.el6_6.5.i686                                                                                 5/10
  Cleanup    : glibc-devel-2.12-1.132.el6.x86_64                                                                             6/10
  Cleanup    : glibc-2.12-1.132.el6                                                                                          7/10
  Cleanup    : glibc-headers-2.12-1.132.el6.x86_64                                                                           8/10
  Cleanup    : glibc-2.12-1.132.el6                                                                                          9/10
  Cleanup    : glibc-common-2.12-1.132.el6.x86_64                                                                           10/10
  Verifying  : glibc-common-2.12-1.149.el6_6.5.x86_64                                                                        1/10
  Verifying  : glibc-devel-2.12-1.149.el6_6.5.x86_64                                                                         2/10
  Verifying  : glibc-headers-2.12-1.149.el6_6.5.x86_64                                                                       3/10
  Verifying  : glibc-2.12-1.149.el6_6.5.i686                                                                                 4/10
  Verifying  : glibc-2.12-1.149.el6_6.5.x86_64                                                                               5/10
  Verifying  : glibc-2.12-1.132.el6.x86_64                                                                                   6/10
  Verifying  : glibc-2.12-1.132.el6.i686                                                                                     7/10
  Verifying  : glibc-common-2.12-1.132.el6.x86_64                                                                            8/10
  Verifying  : glibc-devel-2.12-1.132.el6.x86_64                                                                             9/10
  Verifying  : glibc-headers-2.12-1.132.el6.x86_64                                                                          10/10

Updated:
  glibc.i686 0:2.12-1.149.el6_6.5                                glibc.x86_64 0:2.12-1.149.el6_6.5                              

Dependency Updated:
  glibc-common.x86_64 0:2.12-1.149.el6_6.5   glibc-devel.x86_64 0:2.12-1.149.el6_6.5   glibc-headers.x86_64 0:2.12-1.149.el6_6.5 

Complete!

[root@20-VM src]# rpm -qa | grep glibc // ¾÷µ¥ÀÌÆ® È®ÀÎ
glibc-devel-2.12-1.149.el6_6.5.x86_64
glibc-2.12-1.149.el6_6.5.x86_64
compat-glibc-2.5-46.2.x86_64
glibc-common-2.12-1.149.el6_6.5.x86_64
compat-glibc-headers-2.5-46.2.x86_64
glibc-headers-2.12-1.149.el6_6.5.x86_64
glibc-2.12-1.149.el6_6.5.i686

2. glibc ´Ù¿î±×·¹À̵å Çϱâ

[root@20-VM src]# yum downgrade glibc glibc-common glibc-devel glibc-headers nscd
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager,
              : tmprepo, verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
Repository 'glibc' is missing name in configuration, using id
Setting up Downgrade Process
No Match for available package: nscd-2.12-1.132.el6.x86_64
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.132.el6 will be a downgrade
---> Package glibc.x86_64 0:2.12-1.132.el6 will be a downgrade
---> Package glibc.i686 0:2.12-1.149.el6_6.5 will be erased
---> Package glibc.x86_64 0:2.12-1.149.el6_6.5 will be erased
---> Package glibc-common.x86_64 0:2.12-1.132.el6 will be a downgrade
---> Package glibc-common.x86_64 0:2.12-1.149.el6_6.5 will be erased
---> Package glibc-devel.x86_64 0:2.12-1.132.el6 will be a downgrade
---> Package glibc-devel.x86_64 0:2.12-1.149.el6_6.5 will be erased
---> Package glibc-headers.x86_64 0:2.12-1.132.el6 will be a downgrade
---> Package glibc-headers.x86_64 0:2.12-1.149.el6_6.5 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================
 Package                         Arch                     Version                             Repository                     Size
==================================================================================================================================
Downgrading:
 glibc                           i686                     2.12-1.132.el6                      rhel-source                   4.3 M
 glibc                           x86_64                   2.12-1.132.el6                      rhel-source                   3.8 M
 glibc-common                    x86_64                   2.12-1.132.el6                      rhel-source                    14 M
 glibc-devel                     x86_64                   2.12-1.132.el6                      rhel-source                   978 k
 glibc-headers                   x86_64                   2.12-1.132.el6                      rhel-source                   608 k

Transaction Summary
==================================================================================================================================
Downgrade     5 Package(s)

Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 24 M
----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                             199 MB/s |  24 MB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : glibc-common-2.12-1.132.el6.x86_64                                                                            1/10
  Installing : glibc-2.12-1.132.el6.x86_64                                                                                   2/10
  Installing : glibc-headers-2.12-1.132.el6.x86_64                                                                           3/10
  Installing : glibc-devel-2.12-1.132.el6.x86_64                                                                             4/10
  Installing : glibc-2.12-1.132.el6.i686                                                                                     5/10
  Cleanup    : glibc-devel-2.12-1.149.el6_6.5.x86_64                                                                         6/10
  Cleanup    : glibc-2.12-1.149.el6_6.5                                                                                      7/10
  Cleanup    : glibc-headers-2.12-1.149.el6_6.5.x86_64                                                                       8/10
  Cleanup    : glibc-common-2.12-1.149.el6_6.5.x86_64                                                                        9/10
  Cleanup    : glibc-2.12-1.149.el6_6.5                                                                                     10/10
  Verifying  : glibc-2.12-1.132.el6.x86_64                                                                                   1/10
  Verifying  : glibc-2.12-1.132.el6.i686                                                                                     2/10
  Verifying  : glibc-common-2.12-1.132.el6.x86_64                                                                            3/10
  Verifying  : glibc-devel-2.12-1.132.el6.x86_64                                                                             4/10
  Verifying  : glibc-headers-2.12-1.132.el6.x86_64                                                                           5/10
  Verifying  : glibc-common-2.12-1.149.el6_6.5.x86_64                                                                        6/10
  Verifying  : glibc-devel-2.12-1.149.el6_6.5.x86_64                                                                         7/10
  Verifying  : glibc-headers-2.12-1.149.el6_6.5.x86_64                                                                       8/10
  Verifying  : glibc-2.12-1.149.el6_6.5.i686                                                                                 9/10
  Verifying  : glibc-2.12-1.149.el6_6.5.x86_64                                                                              10/10

Removed:
  glibc.i686 0:2.12-1.149.el6_6.5           glibc.x86_64 0:2.12-1.149.el6_6.5           glibc-common.x86_64 0:2.12-1.149.el6_6.5 
  glibc-devel.x86_64 0:2.12-1.149.el6_6.5   glibc-headers.x86_64 0:2.12-1.149.el6_6.5 

Installed:
  glibc.i686 0:2.12-1.132.el6               glibc.x86_64 0:2.12-1.132.el6               glibc-common.x86_64 0:2.12-1.132.el6     
  glibc-devel.x86_64 0:2.12-1.132.el6       glibc-headers.x86_64 0:2.12-1.132.el6     

Complete!
[root@20-VM src]# rpm -qa | grep glibc // ´Ù¿î±×·¹À̵å È®ÀÎ
glibc-devel-2.12-1.132.el6.x86_64
glibc-common-2.12-1.132.el6.x86_64
compat-glibc-2.5-46.2.x86_64
glibc-2.12-1.132.el6.i686
compat-glibc-headers-2.5-46.2.x86_64
glibc-2.12-1.132.el6.x86_64
glibc-headers-2.12-1.132.el6.x86_64



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com