and SYMPTOM: $ apt-get --yes dist-upgrade … Setting up mysql-common (5.7.13-0ubuntu0.16.04.2) ... … cp: cannot overwrite directory '/var/lib/mysql-upgrade/DATADIR.link/mysql' with non-directory … E: Sub-process /usr/bin/dpkg returned an error code (1)
and SYMPTOM: 0ubuntu0. 16.04.2) ... mysql-upgrade/ DATADIR. link/mysql' with non-directory
$ apt-get --yes dist-upgrade
…
Setting up mysql-common (5.7.13-
…
cp: cannot overwrite directory '/var/lib/
…
E: Sub-process /usr/bin/dpkg returned an error code (1)