I am trying to upgrate mysql 5.1 to version 5.5 Since official ubuntu repositories do not provide 5.5, I've decided to go with Dotdeb repository.
When I've updated the package information and typed in sudo apt-get install mysql-server
it removed my mysql 5.1 but does not want to install 5.5, giving this error:
dpkg: error processing /var/cache/apt/archives/mysql-client-5.5_5.5.19-1~dotdeb.1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/mysql', which is also in package mysql-client-core-5.1 5.1.54-1ubuntu4
Do you have any ideas how I can fix this?