MySQL 5.6.29 for Wheezy

MySQL 5.6.29 has been released by Oracle on February 5th 2016. Please read the full Changelog fore more details.

The corresponding packages are now available for Debian 7 “Wheezy”, on both amd64 and i386 architectures.

7 replies on “MySQL 5.6.29 for Wheezy”

Wanted to leave this comment under the “PHP 5.6.17 for Wheezy” post but can’t leave a comment.

Why are the following php mods missing ??

php-imlib php5-adodb php5-exactimage php5-ffmpeg php5-ps php5-sasl php5-svn

I need php5-ffmpeg php5-ps php5-sasl php5-svn php-imlib at least

@Ferri Sutanto : I have no plan to provide MariaDB for Wheezy. But if you upgrade to Jessie, you’ll be glad to know that MariaDB is available directly from Debian.

Hello Guillaume,

I’m facing an issue while upgrading my server, i get this error message :

# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
mysql-server-5.6 : Depends: mysql-server-core-5.6 (= 5.6.25-1~dotdeb+7.1) but 5.6.29-1~dotdeb+7.1 is installed
Recommends: mysql-common-5.6 but it is not installed
E: Unmet dependencies. Try using -f.

Here all packages of mysql :

# dpkg -l | grep mysql
ii libdbd-mysql-perl 4.021-1+b1 amd64 Perl5 database interface to the M ySQL database
iU libmysqlclient-dev 5.6.29-1~dotdeb+7.1 amd64 MySQL database development files
iU libmysqlclient18:amd64 5.6.29-1~dotdeb+7.1 amd64 MySQL database client library
ii mysql-client 5.6.25-1~dotdeb+7.1 all MySQL database client (metapackag e depending on the latest version)
iU mysql-client-5.6 5.6.29-1~dotdeb+7.1 amd64 MySQL database client binaries
iU mysql-client-core-5.6 5.6.29-1~dotdeb+7.1 amd64 MySQL database core client binari es
ii mysql-common 5.6.29-1~dotdeb+7.1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.6.25-1~dotdeb+7.1 all MySQL database server (metapackag e depending on the latest version)
ii mysql-server-5.6 5.6.25-1~dotdeb+7.1 amd64 MySQL database server binaries an d system database setup
iU mysql-server-core-5.6 5.6.29-1~dotdeb+7.1 amd64 MySQL database server binaries

The “apt-get -f install” wont solve the issue :

~# apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
Suggested packages:
Recommended packages:
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
15 not fully installed or removed.
Need to get 0 B/14.7 MB of archives.
After this operation, 578 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Reading changelogs… Done
Preconfiguring packages …
(Reading database … 57030 files and directories currently installed.)
Preparing to replace mysql-server-5.6 5.6.25-1~dotdeb+7.1 (using …/mysql-server-5.6_5.6.29-1~dotdeb+7.1_amd64.deb) …
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Stopping MySQL database server: mysqld.
cp: cannot overwrite directory `/var/lib/mysql-upgrade/’ with non-directory
dpkg: error processing /var/cache/apt/archives/mysql-server-5.6_5.6.29-1~dotdeb+7.1_amd64.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
[ ok ] Stopping MySQL database server: mysqld.
[….] Starting MySQL database server: mysqldNo directory, logging in with HOME=/
[ ok ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you have an idea about this ?

Thanks in advance,


@Alexandre : sorry for that. Could you please use dselect or aptitude to find which dependency or package prevents the upgrade?

And is your /var/lib/mysql/ directory a regular directory or a symlink/partition?

@Guillaume : Thanks you for your answer.

To resolve the issue, I had to delete the existing mysql-upgrade folder (it is a symlink partition). After that, the update process was able to be done.
Is it normal that this folder is still remaining after the update ?

l /var/lib/mysql-upgrade
total 0
lrwxrwxrwx 1 root root 11 Mar 18 09:05 -> /home/mysql

Best regards

@Alexandre : unfortunately, the MySQL upgrade script does not work when your MySQL data directory is a symlink or a partition. You may want to set your MySQL datadir configuration directive to /home/mysql instead of /var/lib/mysql and retry to upgrade.

Comments are closed.