[debian-mysql] Bug#789589: Bug#789589: +1
Otto Kekäläinen
otto at seravo.fi
Fri Jul 3 14:13:04 UTC 2015
2015-06-27 1:35 GMT+03:00 Olaf van der Spek <olaf at xwis.net>:
> Hi,
>
> I might've hit the same issue:
It is probably not the same issue, but the symptoms look similar.
> Setting up mariadb-server-10.0 (10.0.20-1) ...
> 150627 0:30:08 [Note] /usr/sbin/mysqld (mysqld 10.0.20-MariaDB-1) starting
> as process 1025 ...
> mv: missing destination file operand after ‘/etc/mysql/debian.cnf’
> Try 'mv --help' for more information.
> dpkg: error processing package mariadb-server-10.0 (--configure):
> subprocess installed post-installation script returned error exit status 1
The culprint is this line:
https://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/tree/debian/mariadb-server-10.0.postinst?id=53ec8b7dd63ed47bf44d92207f188f8db63be1f1#n187
It seems that in your situation the variable $oldconf was empty and
the test '[ -e $oldconf ] && mv $oldconf $dc' does not work as
expected.
This should now be fixed in commit
https://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/debian/mariadb-server-10.0.postinst
More information about the pkg-mysql-maint
mailing list