Advertisement
Guest User

Untitled

a guest
Jan 29th, 2014
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 15.23 KB | None | 0 0
  1. [root@ip-10-4-230-55 yum.repos.d]# cat /etc/yum.repos.d/CentOS-Base.repo
  2. # CentOS-Base.repo
  3. #
  4. # The mirror system uses the connecting IP address of the client and the
  5. # update status of each mirror to pick mirrors that are updated to and
  6. # geographically close to the client.  You should use this for CentOS updates
  7. # unless you are manually picking other mirrors.
  8. #
  9. # If the mirrorlist= does not work for you, as a fall back you can try the
  10. # remarked out baseurl= line instead.
  11. #
  12. #
  13.  
  14. [base]
  15. name=CentOS-$releasever - Base
  16. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  17. #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
  18. gpgcheck=1
  19. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  20. exclude=php-common
  21.  
  22. #released updates
  23. [updates]
  24. name=CentOS-$releasever - Updates
  25. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
  26. #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
  27. gpgcheck=1
  28. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  29. exclude=php-common
  30.  
  31. #additional packages that may be useful
  32. [extras]
  33. name=CentOS-$releasever - Extras
  34. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
  35. #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
  36. gpgcheck=1
  37. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  38.  
  39. #additional packages that extend functionality of existing packages
  40. [centosplus]
  41. name=CentOS-$releasever - Plus
  42. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
  43. #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
  44. gpgcheck=1
  45. enabled=0
  46. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  47.  
  48. #contrib - packages by Centos Users
  49. [contrib]
  50. name=CentOS-$releasever - Contrib
  51. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
  52. #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
  53. gpgcheck=1
  54. enabled=0
  55. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  56.  
  57.  
  58. [root@ip-10-4-230-55 yum.repos.d]# cat /etc/yum.repos.d/ius.repo
  59. [ius]
  60. name=IUS Community Packages for Enterprise Linux 6 - $basearch
  61. mirrorlist=http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-centos6&arch=$basearch
  62. enabled=0
  63. gpgcheck=1
  64. gpgkey=http://dl.iuscommunity.org/pub/ius/IUS-COMMUNITY-GPG-KEY
  65. failovermethod=priority
  66.  
  67. [root@ip-10-4-230-55 yum.repos.d]# yum search php-common -v
  68. Loading "fastestmirror" plugin
  69. Loading "presto" plugin
  70. Config time: 0.034
  71. Yum Version: 3.2.29
  72. Setting up Package Sacks
  73. Loading mirror speeds from cached hostfile
  74.  * base: mirror.itc.virginia.edu
  75.  * epel: mirror.symnds.com
  76.  * extras: mirrors-pa.sioru.com
  77.  * remi: rpms.famillecollet.com
  78.  * remi-php55: rpms.famillecollet.com
  79.  * rpmforge: mirror.us.leaseweb.net
  80.  * updates: centos.mirror.nac.net
  81. pkgsack time: 0.243
  82. rpmdb time: 0.000
  83. tags time: 0.029
  84. ================================================================================================ N/S Matched: php-common ================================================================================================
  85. php-common.x86_64 : Common files for PHP
  86. Repo        : remi
  87. Matched from:
  88.  
  89.  
  90.  
  91.  
  92.   Name and summary matches only, use "search all" for everything.
  93.  
  94. [root@ip-10-4-230-55 yum.repos.d]# yum list installed -v| grep php
  95. php-cli.x86_64               5.5.8-1.el6.remi          @remi-php55
  96. php-common.x86_64            5.5.8-1.el6.remi          @remi-php55
  97. php-fpm.x86_64               5.5.8-1.el6.remi          @remi-php55
  98. php-gd.x86_64                5.5.8-1.el6.remi          @remi-php55
  99. php-mbstring.x86_64          5.5.8-1.el6.remi          @remi-php55
  100. php-mcrypt.x86_64            5.5.8-1.el6.remi          @remi-php55
  101. php-mysqlnd.x86_64           5.5.8-1.el6.remi          @remi-php55
  102. php-opcache.x86_64           5.5.8-1.el6.remi          @remi-php55
  103. php-pdo.x86_64               5.5.8-1.el6.remi          @remi-php55
  104. php-pear.noarch              1:1.9.4-23.el6.remi       @remi
  105. php-pecl-apcu.x86_64         4.0.3-1.el6.remi.5.5      @remi-php55
  106. php-pecl-igbinary.x86_64     1.1.2-0.5.git3b8ab7e.el6.remi.1
  107.                                                        @remi-php55
  108. php-pecl-jsonc.x86_64        1.3.3-1.el6.remi.5.5      @remi-php55
  109. php-pecl-memcache.x86_64     3.0.8-1.el6.remi.1        @remi-php55
  110. php-pecl-redis.x86_64        2.2.4-1.el6.remi.1        @remi-php55
  111. php-pecl-zip.x86_64          1.12.3-1.el6.remi.5.5     @remi-php55
  112. php-process.x86_64           5.5.8-1.el6.remi          @remi-php55
  113. php-xml.x86_64               5.5.8-1.el6.remi          @remi-php55
  114. php-xmlrpc.x86_64            5.5.8-1.el6.remi          @remi-php55
  115.  
  116.  
  117. [root@ip-10-4-230-55 yum.repos.d]# yum clean all
  118. Loaded plugins: fastestmirror, presto
  119. Cleaning repos: base boundary epel extras ius-archive newrelic nginx percona puppetlabs-deps puppetlabs-products remi remi-php55 rpmforge updates
  120. Cleaning up Everything
  121. Cleaning up list of fastest mirrors
  122. 0 delta-package files removed, by presto
  123.  
  124.  
  125. [root@ip-10-4-230-55 yum.repos.d]# yum update
  126. Loaded plugins: fastestmirror, presto
  127. Determining fastest mirrors
  128. epel/metalink                                                                                                                                                                                     |  15 kB     00:00
  129.  * base: mirror.itc.virginia.edu
  130.  * epel: mirror.symnds.com
  131.  * extras: mirrors-pa.sioru.com
  132.  * remi: mirrors.mediatemple.net
  133.  * remi-php55: mirrors.mediatemple.net
  134.  * rpmforge: mirror.us.leaseweb.net
  135.  * updates: centos.someimage.com
  136. base                                                                                                                                                                                              | 3.7 kB     00:00
  137. base/primary_db                                                                                                                                                                                   | 4.4 MB     00:00
  138. boundary                                                                                                                                                                                          |  951 B     00:00
  139. boundary/primary                                                                                                                                                                                  | 1.4 kB     00:00
  140. boundary                                                                                                                                                                                                             4/4
  141. epel                                                                                                                                                                                              | 4.2 kB     00:00
  142. epel/primary_db                                                                                                                                                                                   | 5.9 MB     00:00
  143. extras                                                                                                                                                                                            | 3.4 kB     00:00
  144. extras/primary_db                                                                                                                                                                                 |  19 kB     00:00
  145. ius-archive                                                                                                                                                                                       | 2.1 kB     00:00
  146. ius-archive/primary_db                                                                                                                                                                            | 582 kB     00:00
  147. newrelic                                                                                                                                                                                          |  951 B     00:00
  148. newrelic/primary                                                                                                                                                                                  | 2.0 kB     00:00
  149. newrelic                                                                                                                                                                                                             5/5
  150. nginx                                                                                                                                                                                             | 2.9 kB     00:00
  151. nginx/primary_db                                                                                                                                                                                  |  25 kB     00:00
  152. percona                                                                                                                                                                                           |  951 B     00:00
  153. percona/primary                                                                                                                                                                                   |  54 kB     00:00
  154. percona                                                                                                                                                                                                          179/179
  155. puppetlabs-deps                                                                                                                                                                                   | 1.9 kB     00:00
  156. puppetlabs-deps/primary_db                                                                                                                                                                        |  21 kB     00:00
  157. puppetlabs-products                                                                                                                                                                               | 1.9 kB     00:00
  158. puppetlabs-products/primary_db                                                                                                                                                                    | 105 kB     00:00
  159. remi                                                                                                                                                                                              | 2.9 kB     00:00
  160. remi/primary_db                                                                                                                                                                                   | 653 kB     00:00
  161. remi-php55                                                                                                                                                                                        | 2.9 kB     00:00
  162. remi-php55/primary_db                                                                                                                                                                             | 129 kB     00:00
  163. rpmforge                                                                                                                                                                                          | 1.9 kB     00:00
  164. rpmforge/primary_db                                                                                                                                                                               | 2.7 MB     00:00
  165. updates                                                                                                                                                                                           | 3.4 kB     00:00
  166. updates/primary_db                                                                                                                                                                                | 1.4 MB     00:00
  167. Setting up Update Process
  168. Resolving Dependencies
  169. --> Running transaction check
  170. ---> Package php-common.x86_64 0:5.5.8-1.el6.remi will be reinstalled
  171. --> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.8-1.el6.remi.x86_64
  172. ---> Package php-pecl-zip.x86_64 0:1.12.3-1.el6.remi.5.5 will be obsoleted
  173. --> Running transaction check
  174. ---> Package php-pecl-zip.x86_64 0:1.12.3-1.el6.remi.5.5 will be updated
  175. ---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be an update
  176. --> Finished Dependency Resolution
  177.  
  178. Dependencies Resolved
  179.  
  180. =========================================================================================================================================================================================================================
  181.  Package                                             Arch                                          Version                                                       Repository                                         Size
  182. =========================================================================================================================================================================================================================
  183. Installing:
  184.  php-common                                          x86_64                                        5.5.8-1.el6.remi                                              remi-php55                                        1.0 M
  185.      replacing  php-pecl-zip.x86_64 1.12.3-1.el6.remi.5.5
  186. Updating for dependencies:
  187.  php-pecl-zip                                        x86_64                                        1.12.4-1.el6.remi.5.5                                         remi-php55                                        269 k
  188.  
  189. Transaction Summary
  190. =========================================================================================================================================================================================================================
  191. Install       1 Package(s)
  192. Upgrade       1 Package(s)
  193.  
  194. Total download size: 1.3 M
  195. Is this ok [y/N]: y
  196. Downloading Packages:
  197. Setting up and reading Presto delta metadata
  198. Processing delta metadata
  199. Package(s) data still to download: 1.3 M
  200. (1/2): php-common-5.5.8-1.el6.remi.x86_64.rpm                                                                                                                                                     | 1.0 MB     00:01
  201. (2/2): php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64.rpm                                                                                                                                              | 269 kB     00:00
  202. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  203. Total                                                                                                                                                                                    1.0 MB/s | 1.3 MB     00:01
  204. Running rpm_check_debug
  205. Running Transaction Test
  206.  
  207.  
  208. Transaction Check Error:
  209.   package php-common-5.5.8-1.el6.remi.x86_64 is already installed
  210.  
  211. Error Summary
  212. -------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement