Problems with upgrading mysql on plesk

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Problems with upgrading mysql on plesk

Unread post by yaax »

Recently I got new server with plesk on centos64
It had mysql 4.1.22 installed there.
I tried to upgrade according to instructions on your site
http://www.atomicorp.com/wiki/index.php/Mysql
wget -q -O - http://www.atomicorp.com/installers/atomic | sh

But it show me next errors:
Transaction Check Error: file /usr/bin/my_print_defaults from install of mysql-5.1.47-1.el4.art conflicts with file from package mysql-server-4.1.22-2.el4_8.3
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.1.47-1.el4.art conflicts with file from package mysql-server-4.1.22-2.el4_8.3
file /etc/php.ini from install of php-common-5.2.14-1.el4.art conflicts with file from package php-4.3.9-3.29

I tried to remove mysql by yum remove mysql but it removed also all plesk components, and then it was successfully updated to new mysql but plesk was removed.
So I installed plesk back and was required to remove new mysql 5.1, so I got plesk back with mysql 4.1.22

Now when I try to upgrade mysql I again get these errors with conflicts with old version....
So how can I upgrade mysql without removing plesk?
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Problems with upgrading mysql on plesk

Unread post by BruceLee »

try to do it step by step not just yum upgrade.
-first update the centos updates
-then update plesk to latest version
-then only PHP
-and then mysql based on ARTs wiki

do a "yum clean all" before each installation
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problems with upgrading mysql on plesk

Unread post by scott »

Ive seen that happen with x86_64 systems running i386 binaries too. You can always try:

yum upgrade packagename.x86_64
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Re: Problems with upgrading mysql on plesk

Unread post by yaax »

BruceLee wrote:try to do it step by step not just yum upgrade.
-first update the centos updates
-then update plesk to latest version
-then only PHP
-and then mysql based on ARTs wiki

do a "yum clean all" before each installation
When I do php update I also get error:
Error: Missing Dependency: php = 4.3.9-3.29 is needed by package php-pear

Setting up Update Process
Setting up repositories
update 100% |=========================| 1.9 kB 00:00
base 100% |=========================| 1.1 kB 00:00
atomic 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 396 kB 00:00
update : ################################################## 892/892
primary.xml.gz 100% |=========================| 715 kB 00:00
base : ################################################## 1844/1844
primary.xml.gz 100% |=========================| 230 kB 00:00
atomic : ################################################## 679/679
primary.xml.gz 100% |=========================| 192 B 00:00
primary.xml.gz 100% |=========================| 40 kB 00:00
extras : ################################################## 146/146
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-5.2.14-1.el4.art.x86_ 100% |=========================| 17 kB 00:00
---> Package php.x86_64 0:5.2.14-1.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.29 for package: php-mysql
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Processing Dependency: php-cli = 5.2.14-1.el4.art for package: php
--> Processing Dependency: php = 4.3.9-3.29 for package: php-mbstring
--> Processing Dependency: php-common = 5.2.14-1.el4.art for package: php
--> Processing Dependency: php = 4.3.9-3.29 for package: php-domxml
--> Processing Dependency: php = 4.3.9-3.29 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.29 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.29 for package: php-gd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.2.14-1.el4 100% |=========================| 15 kB 00:00
---> Package php-mbstring.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-5.2.14-1.el4.ar 100% |=========================| 16 kB 00:00
---> Package php-mysql.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for php-common to pack into transaction set.
php-common-5.2.14-1.el4.a 100% |=========================| 20 kB 00:00
---> Package php-common.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for php-gd to pack into transaction set.
php-gd-5.2.14-1.el4.art.x 100% |=========================| 16 kB 00:00
---> Package php-gd.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.2.13-1.el4.art. 100% |=========================| 16 kB 00:00
---> Package php-xml.x86_64 0:5.2.13-1.el4.art set to be updated
---> Downloading header for php-cli to pack into transaction set.
php-cli-5.2.14-1.el4.art. 100% |=========================| 17 kB 00:00
---> Package php-cli.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for php-imap to pack into transaction set.
php-imap-5.2.14-1.el4.art 100% |=========================| 16 kB 00:00
---> Package php-imap.x86_64 0:5.2.14-1.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd
--> Processing Dependency: php-common = 5.2.13-1.el4.art for package: php-xml
--> Processing Dependency: php = 4.3.9-3.29 for package: php-pear
--> Processing Dependency: php-pdo for package: php-mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-common to pack into transaction set.
php-common-5.2.13-1.el4.a 100% |=========================| 20 kB 00:00
---> Package php-common.i386 0:5.2.13-1.el4.art set to be updated
---> Downloading header for php-pdo to pack into transaction set.
php-pdo-5.2.14-1.el4.art. 100% |=========================| 16 kB 00:00
---> Package php-pdo.x86_64 0:5.2.14-1.el4.art set to be updated
---> Downloading header for t1lib to pack into transaction set.
t1lib-5.1.2-2.el4.art.x86 100% |=========================| 7.1 kB 00:00
---> Package t1lib.x86_64 0:5.1.2-2.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: libcurl.so.3 for package: php-common
--> Processing Dependency: php = 4.3.9-3.29 for package: php-pear
--> Processing Dependency: libidn.so.11 for package: php-common
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libidn to pack into transaction set.
libidn-0.5.6-1.i386.rpm 100% |=========================| 7.2 kB 00:00
---> Package libidn.i386 0:0.5.6-1 set to be updated
---> Downloading header for curl to pack into transaction set.
curl-7.12.1-11.1.el4_8.3. 100% |=========================| 10 kB 00:00
---> Package curl.i386 0:7.12.1-11.1.el4_8.3 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.29 for package: php-pear
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.29 is needed by package php-pear
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Re: Problems with upgrading mysql on plesk

Unread post by yaax »

scott wrote:Ive seen that happen with x86_64 systems running i386 binaries too. You can always try:

yum upgrade packagename.x86_64
When I do yum upgrade mysql.x86_64
I get same exactly errors:
Transaction Check Error: file /usr/bin/my_print_defaults from install of mysql-5.1.47-1.el4.art conflicts with file from package mysql-server-4.1.22-2.el4_8.3
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.1.47-1.el4.art conflicts with file from package mysql-server-4.1.22-2.el4_8.3
file /etc/php.ini from install of php-common-5.2.14-1.el4.art conflicts with file from package php-4.3.9-3.29

Also I tried to search i386 mysql but they seems not exists on my server:
rpm -qa | grep -i mysql | grep i386
I got empty result.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problems with upgrading mysql on plesk

Unread post by scott »

Definitely not a repo issue or a package one then. Its some kind of local configuration problem on your side.
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Re: Problems with upgrading mysql on plesk

Unread post by yaax »

scott wrote:Definitely not a repo issue or a package one then. Its some kind of local configuration problem on your side.
What kind of problem of local configuration it could be?
I think I have just default plesk installation on my server - what problems are there?
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Re: Problems with upgrading mysql on plesk

Unread post by yaax »

I think my problems were caused because I removed some packages by yum and then reinstalled plesk back, so I will post here yum log:
cat yum.log

Aug 01 22:37:38 Updated: libgcc.x86_64 3.4.6-11.el4_8.1
Aug 01 22:37:38 Updated: setup.noarch 2.5.37-4.el4_8.1
Aug 01 22:37:38 Updated: rmt.x86_64 0.4b39-3.EL4.3
Aug 01 22:37:39 Updated: tzdata.noarch 2010i-1.el4
Aug 01 22:37:46 Updated: glibc-common.x86_64 2.3.4-2.43.el4_8.3
Aug 01 22:37:49 Updated: glibc.x86_64 2.3.4-2.43.el4_8.3
Aug 01 22:37:49 Updated: bash.x86_64 3.0-21.el4_8.2
Aug 01 22:37:50 Updated: krb5-libs.x86_64 1.3.4-62.el4_8.2
Aug 01 22:37:50 Updated: openssl.x86_64 0.9.7a-43.17.el4_8.5
Aug 01 22:37:54 Updated: perl.x86_64 3:5.8.5-53.el4
Aug 01 22:37:56 Updated: python.x86_64 2.3.4-14.7.el4_8.2
Aug 01 22:37:56 Updated: audit-libs.x86_64 1.0.16-4.el4_8.1
Aug 01 22:37:56 Updated: libstdc++.x86_64 3.4.6-11.el4_8.1
Aug 01 22:37:56 Updated: openldap.x86_64 2.2.13-12.el4_8.3
Aug 01 22:37:56 Updated: shadow-utils.x86_64 2:4.0.3-66.el4_8.1
Aug 01 22:37:56 Updated: libxml2.x86_64 2.6.16-12.7
Aug 01 22:37:56 Updated: newt.x86_64 0.51.6-10.el4_8.1
Aug 01 22:37:56 Updated: expat.x86_64 1.95.7-4.el4_8.2
Aug 01 22:37:56 Updated: libpng.x86_64 2:1.2.7-3.el4_8.3
Aug 01 22:37:57 Updated: glibc.i686 2.3.4-2.43.el4_8.3
Aug 01 22:37:58 Updated: pam.x86_64 0.77-66.26.el4_8.2
Aug 01 22:37:58 Updated: bind-libs.x86_64 20:9.2.4-30.el4_8.5
Aug 01 22:37:59 Updated: libgcj.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:04 Updated: tetex-fonts.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:06 Updated: tetex-dvips.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:06 Updated: freetype.x86_64 2.1.9-10.el4.7
Aug 01 22:38:06 Updated: xmlsec1.x86_64 1.2.6-3.1
Aug 01 22:38:06 Updated: procps.x86_64 3.2.3-8.17.el4_8.2
Aug 01 22:38:06 Updated: device-mapper.x86_64 1.02.28-2.el4_8.1
Aug 01 22:38:07 Updated: lvm2.x86_64 2.02.42-5.el4_8.4
Aug 01 22:38:07 Updated: libtiff.x86_64 3.6.1-12.el4_8.5
Aug 01 22:38:07 Updated: libvorbis.x86_64 1:1.1.0-3.el4_8.3
Aug 01 22:38:07 Updated: cups-libs.x86_64 1:1.1.22-0.rc1.9.32.el4.6
Aug 01 22:38:10 Updated: tetex.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:10 Updated: bind-utils.x86_64 20:9.2.4-30.el4_8.5
Aug 01 22:38:10 Updated: libxml2-python.x86_64 2.6.16-12.7
Aug 01 22:38:10 Updated: nscd.x86_64 2.3.4-2.43.el4_8.3
Aug 01 22:38:10 Updated: audit.x86_64 1.0.16-4.el4_8.1
Aug 01 22:38:11 Updated: util-linux.x86_64 2.12a-24.el4_8.1
Aug 01 22:38:11 Updated: curl.x86_64 7.12.1-11.1.el4_8.3
Aug 01 22:38:12 Updated: krb5-devel.x86_64 1.3.4-62.el4_8.2
Aug 01 22:38:12 Updated: pango.x86_64 1.6.0-16.el4_8
Aug 01 22:38:13 Updated: samba-common.x86_64 3.0.33-0.19.el4_8.1
Aug 01 22:38:14 Updated: mysql.x86_64 4.1.22-2.el4_8.3
Aug 01 22:38:14 Updated: postgresql-libs.x86_64 7.4.29-1.el4_8.1
Aug 01 22:38:16 Updated: wireshark.x86_64 1.0.11-1.el4_8.5
Aug 01 22:38:16 Updated: cpp.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:17 Updated: parted.x86_64 1.6.19-23.EL.1
Aug 01 22:38:17 Updated: libf2c.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:17 Updated: libtool-libs.x86_64 1.5.6-5.el4_8
Aug 01 22:38:17 Updated: samba-client.x86_64 3.0.33-0.19.el4_8.1
Aug 01 22:38:18 Updated: krb5-workstation.x86_64 1.3.4-62.el4_8.2
Aug 01 22:38:18 Updated: nss_ldap.x86_64 253-7.el4_8.3
Aug 01 22:38:19 Updated: up2date.x86_64 4.8.1-33.el4.centos.1
Aug 01 22:38:19 Updated: xmlsec1-openssl.x86_64 1.2.6-3.1
Aug 01 22:38:20 Updated: gd.x86_64 2.0.28-5.4E.el4_8.1
Aug 01 22:38:20 Updated: tetex-xdvi.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:20 Updated: openssh-server.x86_64 3.9p1-11.el4_8.1
Aug 01 22:38:20 Updated: pam_krb5.x86_64 2.1.17-8.el4_8.1
Aug 01 22:38:20 Updated: elinks.x86_64 0.9.2-4.el4_8.1
Aug 01 22:38:20 Updated: neon.x86_64 0.24.7-4.el4_8.2
Aug 01 22:38:21 Updated: libxml2-devel.x86_64 2.6.16-12.7
Aug 01 22:38:21 Updated: openldap-clients.x86_64 2.2.13-12.el4_8.3
Aug 01 22:38:21 Updated: wget.x86_64 1.10.2-1.el4_8.1
Aug 01 22:38:22 Updated: openssh-clients.x86_64 3.9p1-11.el4_8.1
Aug 01 22:38:23 Updated: net-snmp-libs.x86_64 5.1.2-18.el4_8.2
Aug 01 22:38:24 Updated: fetchmail.x86_64 6.2.5-6.0.1.el4_8.1
Aug 01 22:38:24 Updated: tar.x86_64 1.14-13.el4_8.1
Aug 01 22:38:25 Updated: gcc-g77.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:25 Updated: tcsh.x86_64 6.13-10.el4_8.1
Aug 01 22:38:25 Updated: cscope.x86_64 15.5-10.RHEL4.3
Aug 01 22:38:25 Updated: cpio.x86_64 2.5-16.el4_8.1
Aug 01 22:38:26 Updated: tetex-afm.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:26 Updated: gzip.x86_64 1.3.3-18.el4_8.1
Aug 01 22:38:26 Updated: logrotate.x86_64 3.7.1-11.RHEL4
Aug 01 22:38:26 Updated: strace.x86_64 4.5.16-1.el4_8.11
Aug 01 22:38:26 Updated: dos2unix.x86_64 3.1-21.3
Aug 01 22:38:26 Updated: rsh.x86_64 0.17-25.6.el4
Aug 01 22:38:26 Updated: unix2dos.x86_64 2.2-24.2
Aug 01 22:38:27 Updated: openssl-devel.x86_64 0.9.7a-43.17.el4_8.5
Aug 01 22:38:29 Updated: libgcj-devel.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:29 Updated: glibc-headers.x86_64 2.3.4-2.43.el4_8.3
Aug 01 22:38:29 Updated: glibc-devel.x86_64 2.3.4-2.43.el4_8.3
Aug 01 22:38:30 Updated: gcc.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:31 Updated: ntp.x86_64 4.2.0.a.20040617-8.el4_8.2.centos
Aug 01 22:38:31 Updated: libstdc++-devel.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:36 Updated: tetex-latex.x86_64 2.0.2-22.0.1.EL4.16
Aug 01 22:38:37 Updated: perl-Archive-Tar.noarch 1.39.1-1.el4_8.1
Aug 01 22:38:37 Updated: gcc-c++.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:37 Updated: gcc-java.x86_64 3.4.6-11.el4_8.1
Aug 01 22:38:37 Updated: system-config-date.noarch 1.7.15-0.RHEL4.3.centos.1
Aug 01 22:38:38 Updated: libtool.x86_64 1.5.6-5.el4_8
Aug 01 22:38:38 Updated: curl-devel.x86_64 7.12.1-11.1.el4_8.3
Aug 01 22:38:38 Updated: libvorbis-devel.x86_64 1:1.1.0-3.el4_8.3
Aug 01 22:38:38 Updated: system-config-lvm.noarch 1.1.4-1.3.el4_8.1
Aug 01 22:38:38 Updated: pam-devel.x86_64 0.77-66.26.el4_8.2
Aug 01 22:38:39 Updated: expat-devel.x86_64 1.95.7-4.el4_8.2
Aug 01 22:38:39 Updated: newt-devel.x86_64 0.51.6-10.el4_8.1
Aug 01 22:38:39 Updated: openldap-devel.x86_64 2.2.13-12.el4_8.3
Aug 01 22:38:40 Updated: python-devel.x86_64 2.3.4-14.7.el4_8.2
Aug 01 22:38:52 Installed: kernel-largesmp-devel.x86_64 2.6.9-89.0.25.EL
Aug 01 22:39:03 Installed: kernel-smp-devel.x86_64 2.6.9-89.0.25.EL
Aug 01 22:39:04 Updated: bind-chroot.x86_64 20:9.2.4-30.el4_8.5
Aug 01 22:39:14 Installed: kernel-devel.x86_64 2.6.9-89.0.25.EL
Aug 01 22:39:14 Updated: dump.x86_64 0.4b39-3.EL4.3
Aug 01 22:39:15 Updated: initscripts.x86_64 7.93.35-1.centos4
Aug 01 22:39:16 Updated: bind.x86_64 20:9.2.4-30.el4_8.5
Aug 01 22:39:17 Updated: openssh.x86_64 3.9p1-11.el4_8.1
Aug 01 22:39:18 Updated: cups.x86_64 1:1.1.22-0.rc1.9.32.el4.6
Aug 01 22:39:18 Updated: dhclient.x86_64 7:3.0.1-65.el4_8.1
Aug 01 22:39:18 Updated: kernel-utils.x86_64 1:2.4-20.el4
Aug 01 22:39:18 Updated: acpid.x86_64 1.0.3-2.el4_7.1
Aug 01 22:39:18 Updated: vixie-cron.x86_64 4:4.1-58.el4
Aug 01 22:39:23 Installed: kernel.x86_64 2.6.9-89.0.25.EL
Aug 01 22:39:23 Updated: iptables.x86_64 1.2.11-3.3.el4_8
Aug 01 22:39:23 Updated: systemtap-runtime.x86_64 0.6.2-2.el4_8.1
Aug 01 22:39:23 Updated: systemtap.x86_64 0.6.2-2.el4_8.1
Aug 01 22:39:23 Updated: caching-nameserver.noarch 7.3-3.1.1.el4_8
Aug 01 22:39:28 Installed: kernel-smp.x86_64 2.6.9-89.0.25.EL
Aug 01 22:39:51 Erased: xorg-x11-xfs
Aug 01 22:39:51 Erased: ghostscript
Aug 01 22:39:52 Erased: tetex-latex
Aug 01 22:39:53 Erased: chkfontpath
Aug 01 22:39:53 Erased: netpbm-progs
Aug 01 22:39:53 Erased: system-config-lvm
Aug 01 22:39:53 Erased: xmlto
Aug 01 22:39:53 Erased: xmltex
Aug 01 22:39:53 Erased: passivetex
Aug 01 22:39:54 Erased: ghostscript-fonts
Aug 01 22:39:54 Erased: jadetex
Aug 01 22:39:54 Erased: docbook-utils
Aug 01 22:39:54 Erased: urw-fonts
Aug 01 22:39:55 Erased: docbook-utils-pdf
Aug 01 22:39:55 Erased: linuxdoc-tools
Aug 01 22:39:58 Erased: redhat-lsb
Aug 01 22:39:58 Erased: cups
Aug 01 22:39:58 Erased: tog-pegasus-devel
Aug 01 22:39:59 Erased: tog-pegasus
Aug 02 13:18:26 Updated: postgresql.x86_64 7.4.29-1.el4_8.1
Aug 02 13:18:27 Updated: postgresql-server.x86_64 7.4.29-1.el4_8.1
Aug 03 09:32:32 Installed: sysstat.x86_64 5.0.5-25.el4
Aug 07 17:39:07 Updated: freetype.x86_64 2.1.9-15.el4.8
Aug 07 17:39:07 Updated: perl-Archive-Tar.noarch 1.39.1-1.el4_8.2
Aug 07 17:47:21 Erased: php
Aug 07 17:47:22 Erased: php-mysql
Aug 07 17:47:22 Erased: psa-api-rpc
Aug 07 17:47:22 Erased: php-imap
Aug 07 17:47:23 Erased: psa
Aug 07 17:47:27 Erased: php-gd
Aug 07 17:47:27 Erased: psa-libpam-plesk
Aug 07 17:47:27 Erased: php-domxml
Aug 07 17:47:27 Erased: php-mbstring
Aug 07 17:47:27 Erased: php-pear
Aug 07 17:47:28 Erased: psa-php4-configurator
Aug 07 17:47:46 Installed: php-common.x86_64 5.2.14-1.el4.art
Aug 07 17:47:46 Installed: zlib.i386 1.2.1.2-1.2
Aug 07 17:47:47 Installed: e2fsprogs.i386 1.35-12.24.el4
Aug 07 17:47:47 Installed: php-cli.x86_64 5.2.14-1.el4.art
Aug 07 17:47:47 Installed: krb5-libs.i386 1.3.4-62.el4_8.2
Aug 07 17:47:47 Installed: libgcc.i386 3.4.6-11.el4_8.1
Aug 07 17:47:48 Installed: libstdc++.i386 3.4.6-11.el4_8.1
Aug 07 17:47:48 Installed: gmp.i386 4.1.4-3
Aug 07 17:47:48 Installed: openssl.i686 0.9.7a-43.17.el4_8.5
Aug 07 17:47:48 Installed: libxml2.i386 2.6.16-12.7
Aug 07 17:47:48 Installed: bzip2-libs.i386 1.0.2-14.el4_7
Aug 07 17:47:49 Installed: php.i386 5.2.14-1.el4.art
Aug 07 17:47:49 Installed: php.x86_64 5.2.14-1.el4.art
Aug 07 17:49:13 Erased: psa-mail-qc-driver
Aug 07 17:49:13 Erased: psa-qmail-rblsmtpd
Aug 07 17:49:13 Erased: mysql-server
Aug 07 17:49:13 Erased: psa-qmail
Aug 07 17:49:14 Erased: dovecot
Aug 07 17:49:14 Erased: sw-engine
Aug 07 17:49:14 Erased: psa-mail-driver-common
Aug 07 17:49:14 Erased: perl-DBD-MySQL
Aug 07 17:49:14 Erased: plesk-base
Aug 07 17:49:15 Erased: mysql
Aug 07 17:49:15 Erased: psa-drweb-configurator
Aug 07 17:49:15 Erased: psa-api
Aug 07 17:49:35 Installed: mysql-libs.x86_64 5.1.47-1.el4.art
Aug 07 17:49:35 Installed: mysql-libs.i386 5.1.48-1.el4.art
Aug 07 17:49:41 Installed: ncurses.i386 5.4-15.el4
Aug 07 17:49:41 Installed: mysql.i386 5.1.48-1.el4.art
Aug 07 17:49:42 Installed: mysql.x86_64 5.1.47-1.el4.art
Aug 07 17:50:25 Updated: perl-HTML-Parser.x86_64 3.55-1.el4.art
Aug 07 17:50:25 Installed: perl-Net-SSLeay.x86_64 1.30-4.el4.centos
Aug 07 17:50:26 Installed: perl-Socket6.x86_64 0.19-3.el4.art
Aug 07 17:50:26 Updated: perl-Archive-Tar.noarch 1:1.39.1-2.el4.art
Aug 07 17:50:26 Updated: libgcrypt.x86_64 1.4.3-2.el4.art
Aug 07 17:50:26 Installed: perl-IO-Socket-INET6.noarch 2.51-2.el4.art
Aug 07 17:50:26 Installed: perl-IO-Socket-SSL.x86_64 0.97-1.el4.art
Aug 07 17:50:27 Updated: spamassassin.x86_64 1:3.2.5-1.el4.art
Aug 07 18:03:19 Erased: mysql
Aug 07 18:03:19 Erased: mysql
Aug 07 18:05:03 Erased: mysql-libs
Aug 07 18:07:16 Erased: mysql-libs
Aug 07 18:11:18 Erased: mod_perl
Aug 07 18:11:19 Erased: httpd
Aug 07 18:11:19 Erased: awstats
Aug 07 18:11:19 Erased: psa-mailman-configurator
Aug 07 18:11:19 Erased: php
Aug 07 18:11:19 Erased: mod_ssl
Aug 07 18:11:20 Erased: httpd-suexec
Aug 07 18:11:20 Erased: mailman
Aug 07 18:11:21 Erased: webalizer
Aug 07 18:11:21 Erased: psa-mod-fcgid-configurator
Aug 07 18:11:21 Erased: php
Aug 07 18:11:21 Erased: psa-mod_fcgid
Aug 07 18:12:43 Erased: php-cli
Aug 07 18:12:43 Erased: php-common
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Problems with upgrading mysql on plesk

Unread post by faris »

When I do php update I also get error:
Error: Missing Dependency: php = 4.3.9-3.29 is needed by package php-pear
This is basically saying "I can't upgrade php because php-pear is installed and it needs php version 4.3.9-3.29 and so get lost you silly human"

If you "yum remove php-pear" you can then try the php upgrade again and you should hopefully get somewhere - I seem to remember running into the same issue and doing the above resolved the problem, though I can't remember if I needed a --nodeps to get rid of php-pear or not, without causing problems. Once php was upgraded I was able to install the new php-* stuff if it was needed - I really don't remember the details I'm afraid.

Remember that you can really screw things up if you aren't careful. You were lucky to have been able to re-install plesk without everything going horribly wrong.

So backup first, and don't blame me if what I suggest makes things worse :-)

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
yaax
Forum User
Forum User
Posts: 6
Joined: Sat Aug 07, 2010 8:29 pm

Re: Problems with upgrading mysql on plesk

Unread post by yaax »

faris wrote:
When I do php update I also get error:
Error: Missing Dependency: php = 4.3.9-3.29 is needed by package php-pear
This is basically saying "I can't upgrade php because php-pear is installed and it needs php version 4.3.9-3.29 and so get lost you silly human"

If you "yum remove php-pear" you can then try the php upgrade again and you should hopefully get somewhere - I seem to remember running into the same issue and doing the above resolved the problem, though I can't remember if I needed a --nodeps to get rid of php-pear or not, without causing problems. Once php was upgraded I was able to install the new php-* stuff if it was needed - I really don't remember the details I'm afraid.

Remember that you can really screw things up if you aren't careful. You were lucky to have been able to re-install plesk without everything going horribly wrong.

So backup first, and don't blame me if what I suggest makes things worse :-)

Faris.
Thanks for good advice.
After I did
rpm --nodeps -e php
rpm --nodeps -e mysql
after that I was able to update php and mysql by yum and after many other freaks I finally succeded to run back plesk and all databases on updated mysql and php version.
Post Reply