[CentOS] exclude the latest php
Tim Dunphy
bluethundr at gmail.com
Mon Mar 21 14:29:37 UTC 2011
hey guys,
I'm attempting to install php 5.2.7 using the webtatic repo.. but it
looks like my exclude isn't working.. I'd appreciate it if someone
could point out the mistake I'm making/flaw in my approach...
## machine info
[root at ec2-174-129-154-179 yum.repos.d]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root at ec2-174-129-154-179 yum.repos.d]# uname -a
Linux ec2-174-129-154-179.compute-1.amazonaws.com 2.6.21.7-2.fc8xen #1
SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
## try to install php using the webtatic repo
[root at ec2-174-129-154-179 yum.repos.d]# yum install php --enablerepo=webtatic
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.ash.fastserv.com
* base: mirror.nexcess.net
* extras: mirror.cogentco.com
* updates: mirror.ash.fastserv.com
webtatic
| 951 B 00:00
Reducing CentOS-5 Testing to included packages only
Finished
Excluding Packages from Webtatic Repository 5 - i386
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.3.6-1.w5 set to be updated
--> Processing Dependency: httpd-mmn = 20051115 for package: php
--> Processing Dependency: php-common = 5.3.6-1.w5 for package: php
--> Processing Dependency: php-cli = 5.3.6-1.w5 for package: php
--> Processing Dependency: httpd for package: php
--> Running transaction check
---> Package httpd.i386 0:2.2.17-1.w5 set to be updated
--> Processing Dependency: httpd-tools = 2.2.17-1.w5 for package: httpd
---> Package php-cli.i386 0:5.3.6-1.w5 set to be updated
---> Package php-common.i386 0:5.3.6-1.w5 set to be updated
--> Running transaction check
---> Package httpd-tools.i386 0:2.2.17-1.w5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================
Package Arch
Version
Repository Size
===============================================================================================================================================================================================================
Installing:
php i386
5.3.6-1.w5
webtatic 1.3 M
Installing for dependencies:
httpd i386
2.2.17-1.w5
webtatic 1.1 M
httpd-tools i386
2.2.17-1.w5
webtatic 70 k
php-cli i386
5.3.6-1.w5
webtatic 2.5 M
php-common i386
5.3.6-1.w5
webtatic 569 k
Transaction Summary
===============================================================================================================================================================================================================
Install 5 Package(s)
Upgrade 0 Package(s)
Total download size: 5.5 M
## and exclude 5.3.6 (shooting for 5.2.17)
[webtatic]
name=Webtatic Repository $releasever - $basearch
#baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/
mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/mirrorlist
exclude="5.3.6"
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
[webtatic-debuginfo]
name=Webtatic Repository $releasever - $basearch - Debug
#baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/debug/
mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/debug/mirrorlist
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
[webtatic-source]
name=Webtatic Repository $releasever - $basearch
#baseurl=http://repo.webtatic.com/yum/centos/5/SRPMS/
mirrorlist=http://repo.webtatic.com/yum/centos/5/SRPMS/mirrorlist
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
thanks in advance!!
tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
More information about the CentOS
mailing list