Error while updating percona-server-server-5.1 to percona-server-server-5.5

Bug #754755 reported by zizop
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Medium
Ignacio Nin

Bug Description

When updating packages percona-server-server-5.1 to percona-server-server-5.5 and percona-server-client-5.1 to percona-server-client-5.5 got an error: " E: Sub-process /usr/bin/dpkg returned an error code (1) ". Package "percona-server-server-5.1" can not be delete.

Trouble can be because of version libmysqlclient16 (with percona 5.1) and libmysqlclient18 (with 5.5).

Common solution:

delete all packages refers to percona(mysql) like libmysqlclient16 php5-mysql and perconas packages, than install it all:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get remove libmysqlclient16 libmysqlclient-dev
sudo apt-get purge percona-server-client percona-server-server percona-server-common
sudo apt-get install percona-server-server percona-server-client
ln -s /usr/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient_r.so.16
rm /usr/lib/libmysqlclient.so
ln -s /usr/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so
apt-get install php5-mysql phpmyadmin

Solution in Russian: http://tokarchuk.ru/2011/04/percona-server-5-1-to-5-5-upgrad/

Stewart Smith (stewart)
Changed in percona-server:
assignee: nobody → Ignacio Nin (ignacio-nin)
tags: added: pkg
removed: percona
Stewart Smith (stewart)
Changed in percona-server:
importance: Undecided → High
Revision history for this message
Ignacio Nin (ignacio-nin) wrote :

Tried to reproduce the error in squeeze and lucid, in both architectures, however the upgrade works fine and the 5.1 version gets uninstalled. Probably a bug in an old version that has been fixed in recent ones.

Changed in percona-server:
importance: High → Medium
status: New → Invalid
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1195

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.