LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-11-2010, 03:12 AM   #1
devwink
Member
 
Registered: May 2006
Posts: 49

Rep: Reputation: 15
Yum "Package(s) php available, but not installed. No Packages marked for update"


Hi All,

I have enabled jasonlitika's repo for a php 5.2.6 upgrade on centOs5
www.jasonlitka.com/yum-repositories

after much updating and installing . ... . .

#yum update php or yum install php
returns

649 packages excluded due to repository priority protections
Setting up Upgrade Process
Package(s) php available, but not installed.
No Packages marked for Update

# rpm -qa |grep php

returns
php-ldap-5.1.6-24.el5_4.5
php-cli-5.1.6-24.el5_4.5
php-gd-5.1.6-24.el5_4.5
php-common-5.1.6-24.el5_4.5



Could someone please advise how i can get Yum to not pass over php install
php 5.1.6 has been "erased" and doesn't work anymore, but i cant get 5.2.6 on .... have tried every article.

Centos 5.2 installation with 5.1.6 php

86_64 Installation


Thanks in advance any ideas .. regards

David

Last edited by devwink; 03-11-2010 at 03:15 AM.
 
Old 03-11-2010, 05:35 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
First : typos in the link, you show ..
http://www.jasonlitka.com/yum-repository/

Next : check, that the repo file is right :

[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Testing the new repo : # yum search php

And when it appears, please use the full name like ..
# yum install php-5.2.11-jason.1.x86_64
.....
.....

Or use the "Karanbir.repo" http://centos.karan.org/
( Seems to be down today ).

Or the "Remi.repo" http://rpms.famillecollet.com/enterprise/5/
.....
 
Old 03-11-2010, 06:08 AM   #3
devwink
Member
 
Registered: May 2006
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks so much for the reply .

i've pasted repo file details in Nano GNU and ctl E exited.


now

#yum search php returns this .....

[root@115-64-82-107 ~]# yum search phpLoaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
================================= Matched: php =================================
php-eaccelerator.x86_64 : PHP accelerator, optimizer, encoder and dynamic
: content cacher
php-pear.noarch : PHP Extension and Application Repository framework
php-xcache.x86_64 : PHP accelerator, optimizer, encoder and dynamic content
: cacher
compat-readline43.i386 : The readline 4.3 library for compatibility with older
: software.
compat-readline43.x86_64 : The readline 4.3 library for compatibility with older
: software.
fonts-arabic.noarch : Fonts for Arabic
gollem-h3.noarch : The Horde web-based File Manager.
hddtemp.x86_64 : Hard disk temperature tool
horde.noarch : The common Horde Framework for all Horde modules.
imp-h3.noarch : The Internet Messaging Program: webmail access to IMAP/POP3
: accounts.
ingo-h3.noarch : The Horde web-based Email Filter Rules Manager.
iproute.x86_64 : Advanced IP routing and network device configuration tools.
kronolith-h3.noarch : The Horde calendar application.
libc-client.i386 : C-client mail access routines for IMAP and POP protocols
libc-client.x86_64 : C-client mail access routines for IMAP and POP protocols
mnemo-h3.noarch : The Horde note manager application.
nag-h3.noarch : The Horde task list manager.
php.x86_64 : The PHP HTML-embedded scripting language. (PHP: Hypertext
: Preprocessor)
php-apc.x86_64 : APC caches and optimizes PHP intermediate code
php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
php-cli.x86_64 : Command-line interface for PHP
php-common.x86_64 : Common files for PHP
php-dba.x86_64 : A database abstraction layer module for PHP applications
php-dbase.x86_64 : Standard dBase module for PHP applications
php-devel.x86_64 : Files needed for building PHP extensions.
php-embedded.x86_64 : PHP library for embedding in applications
php-gd.x86_64 : A module for PHP applications for using the gd graphics library
php-imap.x86_64 : A module for PHP applications that use IMAP.
php-ldap.x86_64 : A module for PHP applications that use LDAP.
php-mbstring.x86_64 : A module for PHP applications which need multi-byte string
: handling
php-mcrypt.x86_64 : Standard PHP module provides mcrypt library support
php-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-mhash.x86_64 : Standard PHP module provides mhash support
php-mssql.x86_64 : Standard PHP module provides mssql support
php-mysql.x86_64 : A module for PHP applications that use MySQL databases.
php-ncurses.x86_64 : A module for PHP applications for using ncurses interfaces
php-odbc.x86_64 : A module for PHP applications that use ODBC databases.
php-pdo.x86_64 : A database access abstraction module for PHP applications
php-pear-Auth-SASL.noarch : PEAR: Abstraction of various SASL mechanism
: responses
php-pear-DB.noarch : PEAR: Database Abstraction Layer
php-pear-Date.noarch : Date and Time Zone Classes
php-pear-File.noarch : Common file and directory routines
php-pear-HTTP-Request.noarch : Provides an easy way to perform HTTP requests
php-pear-Log.noarch : Abstracted logging facility for PHP
php-pear-MDB2.noarch : Database Abstraction Layer
php-pear-MDB2-Driver-mysql.noarch : MySQL MDB2 driver
php-pear-Mail.noarch : Class that provides multiple interfaces for sending
: emails
php-pear-Mail-Mime.noarch : Classes to create and decode mime messages
php-pear-Net-SMTP.noarch : Provides an implementation of the SMTP protocol
php-pear-Net-Sieve.noarch : Communication with timsieved
php-pear-Net-Socket.noarch : Network Socket Interface
php-pear-Net-URL.noarch : Easy parsing of URLs
php-pecl-Fileinfo.x86_64 : Fileinfo is a PHP extension that wraps the libmagic
: library
php-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-pgsql.x86_64 : A PostgreSQL database module for PHP.
php-pspell.x86_64 : A module for PHP applications for using pspell interfaces
php-readline.x86_64 : Standard PHP module provides readline library support
php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices.
php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php-tidy.x86_64 : Standard PHP module provides tidy library support
php-xml.x86_64 : A module for PHP applications which use XML
php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
readline.i386 : A library for editing typed command lines.
readline.x86_64 : A library for editing typed command lines.
readline-devel.i386 : Files needed to develop programs which use the readline
: library.
readline-devel.x86_64 : Files needed to develop programs which use the readline
: library.
squirrelmail.noarch : SquirrelMail webmail client
totem.i386 : Movie player for GNOME 2
totem.x86_64 : Movie player for GNOME 2
totem-devel.i386 : Libraries/include files for Totem
totem-devel.x86_64 : Libraries/include files for Totem
totem-mozplugin.x86_64 : Mozilla plugin for Totem
turba-h3.noarch : The Horde contact management application.
velocity.x86_64 : Java-based template engine









[root@115-64-82-107 ~]# yum search phpLoaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
================================= Matched: php =================================
php-eaccelerator.x86_64 : PHP accelerator, optimizer, encoder and dynamic
: content cacher
php-pear.noarch : PHP Extension and Application Repository framework
php-xcache.x86_64 : PHP accelerator, optimizer, encoder and dynamic content
: cacher
compat-readline43.i386 : The readline 4.3 library for compatibility with older
: software.
compat-readline43.x86_64 : The readline 4.3 library for compatibility with older
: software.
fonts-arabic.noarch : Fonts for Arabic
gollem-h3.noarch : The Horde web-based File Manager.
hddtemp.x86_64 : Hard disk temperature tool
horde.noarch : The common Horde Framework for all Horde modules.
imp-h3.noarch : The Internet Messaging Program: webmail access to IMAP/POP3
: accounts.
ingo-h3.noarch : The Horde web-based Email Filter Rules Manager.
iproute.x86_64 : Advanced IP routing and network device configuration tools.
kronolith-h3.noarch : The Horde calendar application.
libc-client.i386 : C-client mail access routines for IMAP and POP protocols
libc-client.x86_64 : C-client mail access routines for IMAP and POP protocols
mnemo-h3.noarch : The Horde note manager application.
nag-h3.noarch : The Horde task list manager.
php.x86_64 : The PHP HTML-embedded scripting language. (PHP: Hypertext
: Preprocessor)
php-apc.x86_64 : APC caches and optimizes PHP intermediate code
php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
php-cli.x86_64 : Command-line interface for PHP
php-common.x86_64 : Common files for PHP
php-dba.x86_64 : A database abstraction layer module for PHP applications
php-dbase.x86_64 : Standard dBase module for PHP applications
php-devel.x86_64 : Files needed for building PHP extensions.
php-embedded.x86_64 : PHP library for embedding in applications
php-gd.x86_64 : A module for PHP applications for using the gd graphics library
php-imap.x86_64 : A module for PHP applications that use IMAP.
php-ldap.x86_64 : A module for PHP applications that use LDAP.
php-mbstring.x86_64 : A module for PHP applications which need multi-byte string
: handling
php-mcrypt.x86_64 : Standard PHP module provides mcrypt library support
php-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-mhash.x86_64 : Standard PHP module provides mhash support
php-mssql.x86_64 : Standard PHP module provides mssql support
php-mysql.x86_64 : A module for PHP applications that use MySQL databases.
php-ncurses.x86_64 : A module for PHP applications for using ncurses interfaces
php-odbc.x86_64 : A module for PHP applications that use ODBC databases.
php-pdo.x86_64 : A database access abstraction module for PHP applications
php-pear-Auth-SASL.noarch : PEAR: Abstraction of various SASL mechanism
: responses
php-pear-DB.noarch : PEAR: Database Abstraction Layer
php-pear-Date.noarch : Date and Time Zone Classes
php-pear-File.noarch : Common file and directory routines
php-pear-HTTP-Request.noarch : Provides an easy way to perform HTTP requests
php-pear-Log.noarch : Abstracted logging facility for PHP
php-pear-MDB2.noarch : Database Abstraction Layer
php-pear-MDB2-Driver-mysql.noarch : MySQL MDB2 driver
php-pear-Mail.noarch : Class that provides multiple interfaces for sending
: emails
php-pear-Mail-Mime.noarch : Classes to create and decode mime messages
php-pear-Net-SMTP.noarch : Provides an implementation of the SMTP protocol
php-pear-Net-Sieve.noarch : Communication with timsieved
php-pear-Net-Socket.noarch : Network Socket Interface
php-pear-Net-URL.noarch : Easy parsing of URLs
php-pecl-Fileinfo.x86_64 : Fileinfo is a PHP extension that wraps the libmagic
: library
php-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-pgsql.x86_64 : A PostgreSQL database module for PHP.
php-pspell.x86_64 : A module for PHP applications for using pspell interfaces
php-readline.x86_64 : Standard PHP module provides readline library support
php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices.
php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php-tidy.x86_64 : Standard PHP module provides tidy library support
php-xml.x86_64 : A module for PHP applications which use XML
php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
readline.i386 : A library for editing typed command lines.
readline.x86_64 : A library for editing typed command lines.
readline-devel.i386 : Files needed to develop programs which use the readline
: library.
readline-devel.x86_64 : Files needed to develop programs which use the readline
: library.
squirrelmail.noarch : SquirrelMail webmail client
totem.i386 : Movie player for GNOME 2
totem.x86_64 : Movie player for GNOME 2
totem-devel.i386 : Libraries/include files for Totem
totem-devel.x86_64 : Libraries/include files for Totem
totem-mozplugin.x86_64 : Mozilla plugin for Totem
turba-h3.noarch : The Horde contact management application.
velocity.x86_64 : Java-based template engine




Sorry to be so vauge, I have PHP 5.2.6 in now but not sure it is jason's

every rpm needs dependancies, dependancies need dependancies...
I feel i'm getting far from where i should be

Thanks again
 
Old 03-11-2010, 07:23 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Well, just try : # yum install php

.. and watch, what you get,
and also watch, where you get it from.

Also easy to check afterwards with : rpm -qa | grep php
If you don't agree, then : yum remove php<version>

'yum' / rpm accepts two kinds of namings : 1) php
2) (example) : php-5.2.11-jason.1.x86_64
.....
 
1 members found this post helpful.
Old 03-11-2010, 07:40 AM   #5
devwink
Member
 
Registered: May 2006
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks again

# yum install php

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
Setting up Install Process
Package matching php-5.1.6-24.el5_4.5.x86_64 already installed. Checking for update.
Nothing to do
[root@115-64-82-107 ~]# rpm -qu | grep php
-qu: unknown option
[root@115-64-82-107 ~]# rpm -qa | grep php
php-5.2.9-2.el5.centos
php-common-5.2.9-2.el5.centos
php-cli-5.2.9-2.el5.centos
[root@115-64-82-107 ~]#

it appears to be on there

When I go to install php-devel i get


[root@115-64-82-107 ~]# install php-devel
install: missing destination file operand after `php-devel'
Try `install --help' for more information.
[root@115-64-82-107 ~]# yum install php-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.1.6-24.el5_4.5 set to be updated
--> Processing Dependency: php = 5.1.6-24.el5_4.5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-24.el5_4.5.x86_64 from updates has depsolving problems
--> Missing Dependency: php = 5.1.6-24.el5_4.5 is needed by package php-devel-5.1.6-24.el5_4.5.x86_64 (updates)
Error: Missing Dependency: php = 5.1.6-24.el5_4.5 is needed by package php-devel-5.1.6-24.el5_4.5.x86_64 (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.



am i to understang that i need to then google and find php = 5.1.6-24.el5_4.5.... i know the php= is php- but still cant find it.

i need phpize to load Pecl APC .....

Sorry to keep bugging you all , this process seems sooo painfull..

great when things do work though.
 
Old 03-11-2010, 07:47 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Absolute necessary to do :

# yum remove php-devel

Or do this : # yum install php-devel
.. to get php-devel-5.2.11-jason.1.x86_64 ( and php-5.2...)

.....
 
1 members found this post helpful.
Old 03-11-2010, 07:58 AM   #7
devwink
Member
 
Registered: May 2006
Posts: 49

Original Poster
Rep: Reputation: 15
# yum remove php-devel
Loaded plugins: fastestmirror, priorities
Setting up Remove Process
No Match for argument: php-devel
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
Package(s) php-devel available, but not installed.
No Packages marked for removal

#yum install php-devel

yum install php-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.3fl.net.au
* base: mirror.3fl.net.au
* extras: ftp.swin.edu.au
* updates: ftp.swin.edu.au
53 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:5.1.6-24.el5_4.5 set to be updated
--> Processing Dependency: php = 5.1.6-24.el5_4.5 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-24.el5_4.5.x86_64 from updates has depsolving problems
--> Missing Dependency: php = 5.1.6-24.el5_4.5 is needed by package php-devel-5.1.6-24.el5_4.5.x86_64 (updates)
Error: Missing Dependency: php = 5.1.6-24.el5_4.5 is needed by package php-devel-5.1.6-24.el5_4.5.x86_64 (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.

I can't find dependancies would you use a source rpm?
php-5.1.6-24.el5_4.5



Thanks again for your valued advice.
 
Old 03-11-2010, 08:44 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
So far the new repo isn't even enabled ?, and yum is just
trying to reinstall version 5.1.6. May be this new repo
has a wrong name ? Must be like /etc/yum.repos.d/name.repo

Rebuilding php5 , example :
http://www.linuxquestions.org/questi...-5.0-764323/#3

Info : LQ Search → "Tag Name" = php5

Setting up an unprivileged rpmbuild account in /home/<user>/
http://www.linuxquestions.org/questi...5.1-766486/#13
.....

Last edited by knudfl; 03-11-2010 at 08:48 AM.
 
1 members found this post helpful.
Old 03-11-2010, 12:38 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,286

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
About dependencies : Some of these ( LAMP ) packages have
a bug in a pre install script, that makes it depend on itself.
( Origin : e.g. php.spec → "" Requires : php "" )

The solution is to download the package and install with :
# rpm -Uvh --nodeps php-<version>.rpm
http://www.jasonlitka.com/media/EL5/...n.1.x86_64.rpm

http://www.jasonlitka.com/media/EL5/x86_64/
.....
 
2 members found this post helpful.
Old 03-11-2010, 06:00 PM   #10
devwink
Member
 
Registered: May 2006
Posts: 49

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks Kknudfl,

after 4 days (and i only bother you guys after extensive trying) , you

have nailed it ... as always.

Thank you ..thank you ..thank you

I try to give back in the forums, but as you can tell my understanding is limited.

Cheers
 
  


Reply

Tags
centos, centos5, php, repo, repos, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum: What "Package Group" can provide a package? stefanlasiewski Red Hat 7 03-21-2013 02:31 PM
Difference betweenn "yum install" and "yum update" john lee Linux - Newbie 1 02-12-2008 12:26 AM
"yum info python" gave me 2 installed items. Why? gneeot Linux - General 3 06-29-2006 02:07 AM
Huge log file grow since "yum update" on 29 April cubensys Fedora 1 05-21-2006 07:34 AM
Update Fedora2 using "yum update" problem chinaundead Fedora 9 04-27-2004 10:25 AM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration