{"id":7622,"date":"2018-06-23T09:45:08","date_gmt":"2018-06-23T01:45:08","guid":{"rendered":"http:\/\/rmohan.com\/?p=7622"},"modified":"2018-06-23T09:45:08","modified_gmt":"2018-06-23T01:45:08","slug":"downgrade-with-glibc-update-to-using-yum-2","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7622","title":{"rendered":"Downgrade with glibc Update to using YUM"},"content":{"rendered":"<p>Downgrade with glibc Update to using YUM<\/p>\n<p>1). Existing RPM version checking and backup<br \/>\n#rpm -qa | grep glibc<br \/>\ncompat-glibc-headers-2.3.4-2.26<br \/>\nglibc-common-2.5-81<br \/>\nglibc-devel-2.5-81<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\nglibc-2.5-81<br \/>\nglibc-headers-2.5-81<br \/>\nglibc-devel-2.5-81<br \/>\nglibc-2.5-81<\/p>\n<p>2). createrepo REPODATA<br \/>\n\/usr\/local\/src\/new_glibc<\/p>\n<p># pwd<br \/>\n\/usr\/local\/src\/new_glibc<\/p>\n<p>#createrepo .\/<br \/>\n12\/12 &#8211; glibc-devel-2.5-123.el5_11.1.i386.rpm<br \/>\nSaving Primary metadata<br \/>\nSaving file lists metadata<br \/>\nSaving other metadata<\/p>\n<p>3). old_glibc.repo<br \/>\n#vim \/etc\/yum.repos.d\/new_glibc.repo<br \/>\n[old-glibc]<br \/>\nbaseurl=file:\/\/\/usr\/local\/src\/new_glibc\/<br \/>\nenabled=1<br \/>\ngpgcheck=0<\/p>\n<p># yum repolist<br \/>\nLoaded plugins: katello, product-id, security, subscription-manager<br \/>\nUpdating certificate-based repositories.<br \/>\nRepository &#8216;new-glibc&#8217; is missing name in configuration, using id<br \/>\nUnable to read consumer identity<br \/>\nnew-glibc| 951 B 00:00<br \/>\nnew-glibc\/primary| 10 kB 00:00 new-glibc12\/12<br \/>\nrepo id repo name status<br \/>\nnew-glibc new-glibc 12<br \/>\nrhel-DVD Red Hat Enterprise Linux 5Server &#8211; x86_64 &#8211; DVD 3,285<br \/>\nrepolist: 3,297<\/p>\n<p># yum update glibc<br \/>\nLoaded plugins: katello, product-id, security, subscription-manager<br \/>\nUpdating certificate-based repositories.<br \/>\nRepository &#8216;new-glibc&#8217; is missing name in configuration, using id<br \/>\nUnable to read consumer identity<br \/>\nSkipping security plugin, no data<br \/>\nSetting up Update Process<br \/>\nResolving Dependencies<br \/>\nSkipping security plugin, no data<br \/>\n&#8211;&gt; Running transaction check<br \/>\n&#8211;&gt; Processing Dependency: glibc = 2.5-81 for package: glibc-devel<br \/>\n&#8211;&gt; Processing Dependency: glibc = 2.5-81 for package: glibc-headers<br \/>\n&#8211;&gt; Processing Dependency: glibc = 2.5-81 for package: nscd<br \/>\n&#8211;&gt; Processing Dependency: glibc = 2.5-81 for package: glibc-devel<br \/>\n&#8212;&gt; Package glibc.i686 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8211;&gt; Processing Dependency: glibc-common = 2.5-123.el5_11.1 for package: glibc<br \/>\n&#8212;&gt; Package glibc.x86_64 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8211;&gt; Running transaction check<br \/>\n&#8212;&gt; Package glibc-common.x86_64 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8212;&gt; Package glibc-devel.i386 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8212;&gt; Package glibc-devel.x86_64 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8212;&gt; Package glibc-headers.x86_64 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8212;&gt; Package nscd.x86_64 0:2.5-123.el5_11.1 set to be updated<br \/>\n&#8211;&gt; Finished Dependency Resolution<\/p>\n<p>Dependencies Resolved<\/p>\n<p>=====================================================================<br \/>\nPackage Arch Version Repository Size<br \/>\n=====================================================================<br \/>\nUpdating:<br \/>\nglibc i686 2.5-123.el5_11.1 new-glibc 5.4 M<br \/>\nglibc x86_64 2.5-123.el5_11.1 new-glibc 4.8 M<br \/>\nUpdating for dependencies:<br \/>\nglibc-common x86_64 2.5-123.el5_11.1 new-glibc 16 M<br \/>\nglibc-devel i386 2.5-123.el5_11.1 new-glibc 2.1 M<br \/>\nglibc-devel x86_64 2.5-123.el5_11.1 new-glibc 2.4 M<br \/>\nglibc-headers x86_64 2.5-123.el5_11.1 new-glibc 602 k<br \/>\nnscd x86_64 2.5-123.el5_11.1 new-glibc 178 k<\/p>\n<p>Transaction Summary<br \/>\n====================================================================<br \/>\nInstall 0 Package(s)<br \/>\nUpgrade 7 Package(s)<\/p>\n<p>Total download size: 32 M<br \/>\nIs this ok [y\/N]: y<br \/>\nDownloading Packages:<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nTotal 14 GB\/s | 32 MB 00:00<br \/>\nRunning rpm_check_debug<br \/>\nRunning Transaction Test<br \/>\nFinished Transaction Test<br \/>\nTransaction Test Succeeded<br \/>\nRunning Transaction<br \/>\nUpdating : glibc-common 1\/14<br \/>\nUpdating : glibc 2\/14<br \/>\nUpdating : nscd 3\/14<br \/>\nUpdating : glibc-headers 4\/14<br \/>\nUpdating : glibc-devel 5\/14<br \/>\nUpdating : glibc 6\/14<br \/>\nUpdating : glibc-devel 7\/14<br \/>\nCleanup : glibc-headers 8\/14<br \/>\nCleanup : glibc-common 9\/14<br \/>\nCleanup : glibc 10\/14<br \/>\nCleanup : glibc 11\/14<br \/>\nCleanup : nscd 12\/14<br \/>\nCleanup : glibc-devel 13\/14<br \/>\nCleanup : glibc-devel 14\/14<br \/>\nInstalled products updated.<\/p>\n<p>Updated:<br \/>\nglibc.i686 0:2.5-123.el5_11.1<br \/>\nglibc.x86_64 0:2.5-123.el5_11.1<\/p>\n<p>Dependency Updated:<br \/>\nglibc-common.x86_64 0:2.5-123.el5_11.1<br \/>\nglibc-devel.i386 0:2.5-123.el5_11.1<br \/>\nglibc-devel.x86_64 0:2.5-123.el5_11.1<br \/>\nglibc-headers.x86_64 0:2.5-123.el5_11.1<br \/>\nnscd.x86_64 0:2.5-123.el5_11.1<\/p>\n<p>Complete!<\/p>\n<p>#rpm -qa | grep glibc<br \/>\nglibc-devel-2.5-123.el5_11.1<br \/>\ncompat-glibc-headers-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\nglibc-2.5-123.el5_11.1<br \/>\nglibc-2.5-123.el5_11.1<br \/>\nglibc-devel-2.5-123.el5_11.1<br \/>\nglibc-headers-2.5-123.el5_11.1<br \/>\nglibc-common-2.5-123.el5_11.1<\/p>\n<p>1).<\/p>\n<p>#rpm -qa | grep glibc<br \/>\nglibc-devel-2.5-123.el5_11.1<br \/>\ncompat-glibc-headers-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\nglibc-2.5-123.el5_11.1<br \/>\nglibc-2.5-123.el5_11.1<br \/>\nglibc-devel-2.5-123.el5_11.1<br \/>\nglibc-headers-2.5-123.el5_11.1<br \/>\nglibc-common-2.5-123.el5_11.1<\/p>\n<p>2). yum downgrade<\/p>\n<p># yum downgrade glibc glibc-devel glibc-headers glibc-common nscd<br \/>\nLoaded plugins: katello, product-id, security, subscription-manager<br \/>\nUpdating certificate-based repositories.<br \/>\nRepository &#8216;new-glibc&#8217; is missing name in configuration, using id<br \/>\nUnable to read consumer identity<br \/>\nSetting up Downgrade Process<br \/>\nNo Match for available package: nscd-2.5-81.x86_64<br \/>\nResolving Dependencies<br \/>\n&#8211;&gt; Running transaction check<br \/>\n&#8212;&gt; Package glibc.i686 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc.x86_64 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc.i686 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8212;&gt; Package glibc.x86_64 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8212;&gt; Package glibc-common.x86_64 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc-common.x86_64 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8212;&gt; Package glibc-devel.i386 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc-devel.x86_64 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc-devel.i386 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8212;&gt; Package glibc-devel.x86_64 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8212;&gt; Package glibc-headers.x86_64 0:2.5-81 set to be updated<br \/>\n&#8212;&gt; Package glibc-headers.x86_64 0:2.5-123.el5_11.1 set to be erased<br \/>\n&#8211;&gt; Finished Dependency Resolution<\/p>\n<p>Dependencies Resolved<\/p>\n<p>===========================================<br \/>\nPackage Arch Version Repository Size<br \/>\n===========================================<br \/>\nDowngrading:<br \/>\nglibc i686 2.5-81 rhel-DVD 5.3 M<br \/>\nglibc x86_64 2.5-81 rhel-DVD 4.8 M<br \/>\nglibc-common x86_64 2.5-81 rhel-DVD 16 M<br \/>\nglibc-devel i386 2.5-81 rhel-DVD 2.0 M<br \/>\nglibc-devel x86_64 2.5-81 rhel-DVD 2.4 M<br \/>\nglibc-headers x86_64 2.5-81 rhel-DVD 596 k<\/p>\n<p>Transaction Summary<br \/>\n===========================================<br \/>\nRemove 0 Package(s)<br \/>\nReinstall 0 Package(s)<br \/>\nDowngrade 6 Package(s)<\/p>\n<p>Total download size: 32 M<br \/>\nIs this ok [y\/N]: y<br \/>\nDownloading Packages:<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nTotal 10 GB\/s | 32 MB 00:00<br \/>\nRunning rpm_check_debug<br \/>\nRunning Transaction Test<br \/>\nFinished Transaction Test<br \/>\nTransaction Test Succeeded<br \/>\nRunning Transaction<br \/>\nInstalling : glibc-common 1\/12<br \/>\nInstalling : 2\/12<br \/>\nInstalling : glibc-headers 3\/12<br \/>\nInstalling : glibc-devel 4\/12<br \/>\nInstalling : glibc 5\/12<br \/>\nInstalling : glibc-devel 6\/12<br \/>\nCleanup : glibc-headers 7\/12<br \/>\nCleanup : glibc-common 8\/12<br \/>\nCleanup : glibc 9\/12<br \/>\nCleanup : glibc 10\/12<br \/>\nCleanup : glibc-devel 11\/12<br \/>\nCleanup : glibc-devel 12\/12<br \/>\nInstalled products updated.<\/p>\n<p>Removed:<br \/>\nglibc.i686 0:2.5-123.el5_11.1<br \/>\nglibc.x86_64 0:2.5-123.el5_11.1<br \/>\nglibc-common.x86_64 0:2.5-123.el5_11.1<br \/>\nglibc-devel.i386 0:2.5-123.el5_11.1<br \/>\nglibc-devel.x86_64 0:2.5-123.el5_11.1<br \/>\nglibc-headers.x86_64 0:2.5-123.el5_11.1<\/p>\n<p>Installed:<br \/>\nglibc.i686 0:2.5-81<br \/>\nglibc.x86_64 0:2.5-81<br \/>\nglibc-common.x86_64 0:2.5-81<br \/>\nglibc-devel.i386 0:2.5-81<br \/>\nglibc-devel.x86_64 0:2.5-81<br \/>\nglibc-headers.x86_64 0:2.5-81<\/p>\n<p>Complete!<\/p>\n<p>3).<br \/>\n# rpm -qa | grep glibc<br \/>\nglibc-2.5-81<br \/>\nglibc-2.5-81<br \/>\ncompat-glibc-headers-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\ncompat-glibc-2.3.4-2.26<br \/>\nglibc-headers-2.5-81<br \/>\nglibc-devel-2.5-81<br \/>\nglibc-common-2.5-81<br \/>\nglibc-devel-2.5-81<\/p>\n<p>http:\/\/www.cgplacenta.to\/<br \/>\nhttp:\/\/www.99res.com\/?s=Linux+Academy<br \/>\nhttp:\/\/www.99res.com\/archives\/312346.html<\/p>\n<p>tomcat guide to prepare<br \/>\nhttp:\/\/documents.tips\/documents\/tomcatppt.html<\/p>\n<p>http:\/\/ebookee.org\/Linux-Academy-Red-Hat-Certified-System-Administrator-rhcsa-V7-professional-Level_2778727.html<\/p>\n<p>http:\/\/www.tnctr.com\/topic\/320006-linux-academy-docker-deep-dive\/<\/p>\n<p>http:\/\/www.heroturko.info\/tutorials\/9023-linux-academy-aws-certified-solutions-architect-professional-level.html<\/p>\n<p>http:\/\/nitroflare.com\/view\/7815FEA616C50FA\/6._LinuxAcademy_-_Jenkins_and_Build_Automation.part1.rar<\/p>\n<p>http:\/\/youbookpdf.com\/e-learning\/260653-linux-academy-centos-7-enterprise-linux-server-update-professional-level.html<\/p>\n<p>http:\/\/youbookpdf.com\/e-learning\/260656-linux-academy-postgresql-94-administration-professional-level.html<\/p>\n<p>http:\/\/www.heroturko.info\/tutorials\/9023-linux-academy-aws-certified-solutions-architect-professional-level.html<\/p>\n<p>http:\/\/www.99res.com\/?s=Linux+Academy<\/p>\n<p>http:\/\/dlebook.me\/index.php?do=search<\/p>\n<p>http:\/\/www.downturk.biz\/index.php?do=search<\/p>\n<p>MARIADB<\/p>\n<p>http:\/\/itfish.net\/article\/40768.html<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"hWAqQurqc7\"><p><a href=\"https:\/\/blog.laimbock.com\/2014\/07\/08\/howto-setup-mariadb-galera-cluster-10-on-centos\/\">How to setup MariaDB Galera Cluster 10.0 on CentOS<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/blog.laimbock.com\/2014\/07\/08\/howto-setup-mariadb-galera-cluster-10-on-centos\/embed\/#?secret=hWAqQurqc7\" data-secret=\"hWAqQurqc7\" width=\"600\" height=\"338\" title=\"&#8220;How to setup MariaDB Galera Cluster 10.0 on CentOS&#8221; &#8212; Patrick&#039;s Blog(2)\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>RHEL 7 APACHE CLUSTER<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"gZw5cdTiPo\"><p><a href=\"https:\/\/www.itzgeek.com\/how-tos\/linux\/centos-how-tos\/configure-high-avaliablity-cluster-on-centos-7-rhel-7.html\">Configure High-Avaliablity Cluster on CentOS 7 \/ RHEL 7<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.itzgeek.com\/how-tos\/linux\/centos-how-tos\/configure-high-avaliablity-cluster-on-centos-7-rhel-7.html\/embed#?secret=gZw5cdTiPo\" data-secret=\"gZw5cdTiPo\" width=\"600\" height=\"338\" title=\"&#8220;Configure High-Avaliablity Cluster on CentOS 7 \/ RHEL 7&#8221; &#8212; ITzGeek\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>tomcat 8<\/p>\n<p>https:\/\/www.ntu.edu.sg\/home\/ehchua\/programming\/howto\/Tomcat_HowTo.html<\/p>\n<p>http:\/\/documents.tips\/documents\/tomcatppt.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Downgrade with glibc Update to using YUM<\/p>\n<p>1). Existing RPM version checking and backup #rpm -qa | grep glibc compat-glibc-headers-2.3.4-2.26 glibc-common-2.5-81 glibc-devel-2.5-81 compat-glibc-2.3.4-2.26 compat-glibc-2.3.4-2.26 glibc-2.5-81 glibc-headers-2.5-81 glibc-devel-2.5-81 glibc-2.5-81<\/p>\n<p>2). createrepo REPODATA \/usr\/local\/src\/new_glibc<\/p>\n<p># pwd \/usr\/local\/src\/new_glibc<\/p>\n<p>#createrepo .\/ 12\/12 &#8211; glibc-devel-2.5-123.el5_11.1.i386.rpm Saving Primary metadata Saving file lists metadata Saving other metadata<\/p>\n<p>3). old_glibc.repo #vim \/etc\/yum.repos.d\/new_glibc.repo [old-glibc] [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7622"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7622"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7622\/revisions"}],"predecessor-version":[{"id":7623,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7622\/revisions\/7623"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}