FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-16-2012, 12:36 PM
Steve Clark
 
Default dependency issue

Hello List,

I am trying to install php-snmp into my CentOS 6.2 system and it doesn't work,
and I am not sure why. It looks like it is trying to install php-snmp from 6.3.
Error: Package: php-snmp-5.3.3-14.el6_3.i686 (updates)
Requires: php-common = 5.3.3-14.el6_3
Installed: php-common-5.3.13-1.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)

Also why wouldn't 5.3.13-1 be a higher revision than 5.3.3-14?

[root@Z703108 ~]# cat /etc/redhat-release
CentOS release 6.2 (Final)

[root@Z703108 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base cr elrepo epel extras rpmforge updates
Cleaning up Everything
Cleaning up list of fastest mirrors

[root@Z703108 ~]# rpm -qa | grep php
php-5.3.13-1.el6.i686
php-pgsql-5.3.13-1.el6.i686
php-common-5.3.13-1.el6.i686
php-ldap-5.3.13-1.el6.i686
php-cli-5.3.13-1.el6.i686
php-pdo-5.3.13-1.el6.i686

[root@Z703108 ~]# yum --disablerepo=* --enablerepo=base,updates update php
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: centos.digitalcompass.net
* updates: centosmirror.quintex.com
base | 3.7 kB 00:00
base/primary_db | 3.5 MB 00:24
updates | 3.5 kB 00:00
updates/primary_db | 1.7 MB 00:11
Setting up Update Process
No Packages marked for Update

[root@Z703108 ~]# yum --disablerepo=* --enablerepo=base,updates install php-snmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.digitalcompass.net
* updates: centosmirror.quintex.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-snmp.i686 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-snmp-5.3.3-14.el6_3.i686
--> Finished Dependency Resolution
Error: Package: php-snmp-5.3.3-14.el6_3.i686 (updates)
Requires: php-common = 5.3.3-14.el6_3
Installed: php-common-5.3.13-1.el6.i686 (@anaconda-CentOS-201112130233.i386/6.2)
php-common = 5.3.13-1.el6
Available: php-common-5.3.3-3.el6_2.8.i686 (base)
php-common = 5.3.3-3.el6_2.8
Available: php-common-5.3.3-14.el6_3.i686 (updates)
php-common = 5.3.3-14.el6_3
You could try using --skip-broken to work around the problem


--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@netwolves.com
http://www.netwolves.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-16-2012, 12:56 PM
James Hogarth
 
Default dependency issue

> [root@Z703108 ~]# cat /etc/redhat-release
> CentOS release 6.2 (Final)
>

yum update that to bring it up to 6.3 and then try and install...
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org