Problems installing phpize

Issues related to software problems.
Post Reply
keops17
Posts: 2
Joined: 2011/01/09 03:26:55
Contact:

Problems installing phpize

Post by keops17 » 2011/01/09 03:32:05

[code]
[root@host yum]# phpize
-bash: phpize: command not found

[root@host yum]# yum install php-devel
Loaded plugins: fastestmirror
Repository utterramblings is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: centos.fastbull.org
* base: centos.fastbull.org
* extras: centos.fastbull.org
* rpmforge: ftp-stud.fht-esslingen.de
* updates: centos.fastbull.org
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package php-devel.i386 0:5.2.16-jason.1 set to be updated
--> Processing Dependency: php = 5.2.16-jason.1 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.2.16-jason.1.i386 from utterramblings has depsolving problems
--> Missing Dependency: php = 5.2.16-jason.1 is needed by package php-devel-5.2.16-jason.1.i386 (utterramblings)
Error: Missing Dependency: php = 5.2.16-jason.1 is needed by package php-devel-5.2.16-jason.1.i386 (utterramblings)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

[/code]

The dependencies issue makes sense since I'm running PHP Version 5.3.5 but I'm not sure how to work around this problem. Could use a pointer, or a point in the right direction. Appreciate any help me :-o

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Problems installing phpize

Post by AlanBartlett » 2011/01/09 15:43:43

Welcome to the [i]CentOS[/i] fora.

The recommended reading for all new members starts with the [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url].

With regard to the problem you are experiencing, there are a number of things to be corrected.

The first is this --

[quote]
Repository utterramblings is listed more than once in the configuration
[/quote]
The second is the failing to have the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum-priorities[/url] plugin installed and configured.

The third is this --

[quote]
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
[/quote]
Resolve the above and then, if still having problems, execute [b]./getinfo.sh package[/b] & make the output produced available for viewing -- as detailed in [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How To Provide Information About Your System[/url].

keops17
Posts: 2
Joined: 2011/01/09 03:26:55
Contact:

Re: Problems installing phpize

Post by keops17 » 2011/01/10 22:40:06

[code]
# yum install php-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.fastbull.org
* base: mi.mirror.garr.it
* epel: mirror.yandex.ru
* extras: centos.fastbull.org
* rpmforge: ftp-stud.fht-esslingen.de
* updates: centos.fastbull.org
317 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php = 5.1.6-27.el5_5.3 for package: php-devel
--> Running transaction check
---> Package php.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
--> Finished Dependency Resolution
php-5.1.6-27.el5_5.3.i386 from updates has depsolving problems
--> Missing Dependency: php-cli = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (updates)
php-5.1.6-27.el5_5.3.i386 from updates has depsolving problems
--> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (updates)
Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (updates)
Error: Missing Dependency: php-cli = 5.1.6-27.el5_5.3 is needed by package php-5.1.6-27.el5_5.3.i386 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[/code]

I did say, but the problem continues

I'm sorry I had to do what
:-(

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Problems installing phpize

Post by AlanBartlett » 2011/01/10 23:17:19

The next steps of the recovery are mentioned in the output, shown above.

[quote]
[i][/i]
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
[i][/i]
[/quote]
If you do not already have the [i]yum-utils[/i] package already installed, install it --

[code]
[b]yum --disablerepo \* --enablerepo base,updates install yum-utils[/b]
[/code]
Now execute [b]yum-complete-transaction[/b].

Post Reply