LinuxQuestions.org
Visit Jeremy's Blog.
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 06-21-2012, 01:08 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
installing php53 gives warning to remove qmail toaster packages


my server has php5.1 installed.and which is needed for qmail installation.but now i need to update php5.1 to 5.3.
when i try to remove php-common-5.1
it gives depencies warinig for removing packages link with php5.1

Dependencies Resolved

==================================================================================================== ====================================================================
Package Arch Version Repository Size
==================================================================================================== ====================================================================
Removing:
php x86_64 5.1.6-34.el5_8 installed 6.2 M
Removing for dependencies:
control-panel-toaster noarch 0.5-1.3.7 installed 35 k
ezmlm-cgi-toaster x86_64 0.53.324-1.3.6 installed 70 k
isoqlog-toaster x86_64 2.1-1.3.7 installed 119 k
php-devel x86_64 5.1.6-34.el5_8 installed 2.5 M
php-mcrypt x86_64 5.1.6-15.el5.centos.1 installed 37 k
php-mhash x86_64 5.1.6-15.el5.centos.1 installed 9.4 k
php-mssql x86_64 5.1.6-15.el5.centos.1 installed 52 k
php-pear noarch 1:1.4.9-8.el5 installed 1.8 M
php-pear-Auth-SASL noarch 1.0.2-4.el5.centos installed 33 k
php-pear-DB noarch 1.7.13-1.el5.centos installed 693 k
php-pear-Date noarch 1.4.7-2.el5.centos installed 402 k
php-pear-File noarch 1.2.2-1.el5.centos installed 74 k
php-pear-HTTP-Request noarch 1.4.2-1.el5.centos installed 70 k
php-pear-Log noarch 1.9.13-1.el5.centos installed 204 k
php-pear-MDB2 noarch 2.4.1-2.el5.centos installed 724 k
php-pear-MDB2-Driver-mysql noarch 1.4.1-3.el5.centos installed 184 k
php-pear-Mail noarch 1.1.14-1.el5.centos installed 85 k
php-pear-Mail-Mime noarch 1.4.0-1.el5.centos installed 126 k
php-pear-Net-SMTP noarch 1.2.10-1.el5.centos installed 50 k
php-pear-Net-Sieve noarch 1.1.5-2.el5.centos installed 253 k
php-pear-Net-Socket noarch 1.0.8-1.el5.centos installed 26 k
php-pear-Net-URL noarch 1.0.15-1.el5.centos installed 26 k
php-pecl-memcache x86_64 2.2.3-1.el5_2 installed 74 k
php-readline x86_64 5.1.6-15.el5.centos.1 installed 16 k
php-tidy x86_64 5.1.6-15.el5.centos.1 installed 46 k
qmailadmin-toaster x86_64 1.2.15-1.3.9 installed 3.4 M
qmailmrtg-toaster x86_64 4.2-1.3.6 installed 27 k
squirrelmail-toaster noarch 1.4.20-1.3.17 installed 2.8 M
vqadmin-toaster x86_64 2.3.4-1.3.6 installed 210 k

Transaction Summary
==================================================================================================== ====================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 30 Package(s)


here some pacakges is of qmail toaster.....
if i answered yes to uninstall then above toaster pakages will also get uninstalled but i need to update php 5.1 to 5.3.. without effecting the above toaster packages.

please provide me some step how to update php5.1 to 5.3 without effecting above toaster packages...

Last edited by centos123; 06-21-2012 at 01:09 AM.
 
Old 06-22-2012, 11:27 AM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Why are you trying to remove php 5.1 instead of just upgrading PHP which should also upgrade/resolve its dependencies?

---------- Post added 06-22-12 at 09:28 AM ----------

You can add the atomic repo and do a yum upgrade php...

Code:
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
Code:
yum upgrade php
 
Old 06-22-2012, 11:29 AM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
NOTE: Your mysql will probably be upgraded as a dependency of PHP! When it does make sure to run the following command after yum upgrades the packages:

Code:
mysql_upgrade -uroot -p
 
Old 06-23-2012, 03:37 AM   #4
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
thanks...

i followed this step
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*


but also not upgraded..

Last edited by centos123; 06-24-2012 at 11:36 PM.
 
Old 06-24-2012, 11:33 PM   #5
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
@Kustom42
i run your sugessted command but it result not completed....
at the end of upgradation it ERROR...


Total 29 kB/s | 15 MB 08:39
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
php-common is needed by (installed) php-ncurses-5.1.6-34.el5_8.x86_64
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])
 
Old 06-25-2012, 12:23 AM   #6
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Atomic Archive installer, version 2.0.6

BY INSTALLING THIS SOFTWARE AND BY USING ANY AND ALL SOFTWARE
PROVIDED BY ATOMICORP LIMITED YOU ACKNOWLEDGE AND AGREE:

THIS SOFTWARE AND ALL SOFTWARE PROVIDED IN THIS REPOSITORY IS
PROVIDED BY ATOMICORP LIMITED AS IS, IS UNSUPPORTED AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATOMICORP LIMITED, THE
COPYRIGHT OWNER OR ANY CONTRIBUTOR TO ANY AND ALL SOFTWARE PROVIDED
BY OR PUBLISHED IN THIS REPOSITORY BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

Do you agree to these terms? (yes/no) [Default: yes] yes

Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK



The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages
 
Old 06-25-2012, 10:57 AM   #7
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
I ran into this issue on Plesk control panels before. Its a bit tricky but heres what ya do:


Code:
rpm -e --nodeps php-ncurses-5.1.6-34.el5_8.x86_64
Code:
yum upgrade php mysql
yum install php-ncurses

Then run the mysql upgrade command from above.
 
Old 06-27-2012, 02:35 AM   #8
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
irun
yum upgrade php


================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
php x86_64 5.3.14-6.el5.art atomic 2.8 M
replacing php-mhash.x86_64 5.1.6-15.el5.centos.1

php-cli x86_64 5.3.8-2.el5.art atomic 2.6 M
replacing php-readline.x86_64 5.1.6-15.el5.centos.1

php-common x86_64 5.3.8-2.el5.art atomic 982 k
replacing php-pecl-Fileinfo.x86_64 1.0.4-3.el5.centos

php-common x86_64 5.3.14-6.el5.art atomic 1.0 M
replacing php-pecl-Fileinfo.x86_64 1.0.4-3.el5.centos

Installing for dependencies:
libedit x86_64 3.0-2.20090923cvs.el5.art atomic 81 k
mysql-libs x86_64 5.5.25-7.el5.art atomic 1.1 M
php-common i386 5.3.8-2.el5.art atomic 979 k
t1lib x86_64 5.1.2-2.el5.art atomic 208 k
Updating for dependencies:
php-bcmath x86_64 5.3.14-6.el5.art atomic 40 k
php-cli x86_64 5.3.14-6.el5.art atomic 2.6 M
php-dba x86_64 5.3.14-6.el5.art atomic 61 k
php-devel x86_64 5.3.14-6.el5.art atomic 1.3 M
php-gd x86_64 5.3.14-6.el5.art atomic 209 k
php-imap x86_64 5.3.14-6.el5.art atomic 88 k
php-ldap x86_64 5.3.14-6.el5.art atomic 56 k
php-mbstring x86_64 5.3.14-6.el5.art atomic 2.3 M
php-mcrypt x86_64 5.3.14-6.el5.art atomic 48 k
php-mssql x86_64 5.3.14-6.el5.art atomic 67 k
php-mysql x86_64 5.3.14-6.el5.art atomic 95 k
php-odbc x86_64 5.3.14-6.el5.art atomic 88 k
php-pdo x86_64 5.3.14-6.el5.art atomic 120 k
php-pecl-memcache x86_64 3.0.6-1.el5.art atomic 65 k
php-pgsql x86_64 5.3.14-6.el5.art atomic 134 k
php-snmp x86_64 5.3.14-6.el5.art atomic 40 k
php-soap x86_64 5.3.14-6.el5.art atomic 279 k
php-tidy x86_64 5.3.14-6.el5.art atomic 53 k
php-xml x86_64 5.3.14-6.el5.art atomic 225 k
php-xmlrpc x86_64 5.3.14-6.el5.art atomic 86 k

Transaction Summary
================================================================================
Install 8 Package(s)
Update 20 Package(s)
Remove 0 Package(s)

Total size: 18 M
Total download size: 979 k
Is this ok [y/N]: y
Downloading Packages:
php-common-5.3.8-2.el5.art.i386.rpm | 979 kB 00:35
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /etc/my.cnf from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.x86_64
file /etc/my.cnf from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.25-7.el5.art.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386

Error Summary
-------------
 
Old 06-27-2012, 11:40 AM   #9
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You need to run

Code:
yum upgrade php mysql
You can't upgrade your php without upgrading MySQL due to the dependencies/versioning.
 
1 members found this post helpful.
Old 06-28-2012, 02:36 AM   #10
centos123
Member
 
Registered: Apr 2011
Posts: 397

Original Poster
Rep: Reputation: 16
thank you....it work...
 
  


Reply


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
[Qmail Toaster] qmail-inject don't sign with dk echomeme Linux - Server 0 02-26-2010 09:43 AM
Qmail Toaster relaying lima25 Linux - Server 2 02-24-2010 11:54 AM
Some issues with Qmail-Toaster mail4vijay Linux - General 1 02-24-2010 08:35 AM
Qmail toaster problem fandar Linux - Networking 0 02-27-2007 01:46 AM
Qmail Toaster Problem Ryand833 Linux - Software 0 04-14-2005 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:07 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
Open Source Consulting | Domain Registration