• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Upgrading to MySQL 5.7 fails

PluginDB

New Pleskian
Hello! I tried to upgrade to MySQL 5.7 today due to missing functions in 5.6 but It can't seem to install the packages

first I got the sources using the debian package

Code:
# wget http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb

# dpkg -i mysql-apt-config_0.7.3-1_all.deb

Then I installed the community server:

Code:
# apt-get install mysql-community-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  mysql-community-server
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
5 not fully installed or removed.
Need to get 54.9 MB of archives.
After this operation, 176 MB of additional disk space will be used.
Get:1 http://repo.mysql.com/apt/debian/ wheezy/mysql-5.7 mysql-community-server amd64 5.7.19-1debian7 [54.9 MB]
Fetched 54.9 MB in 4s (11.7 MB/s)
Preconfiguring packages ...
(Reading database ... 149660 files and directories currently installed.)
Unpacking mysql-community-server (from .../mysql-community-server_5.7.19-1debian7_amd64.deb) ...
................
dpkg: error processing /var/cache/apt/archives/mysql-community-server_5.7.19-1debian7_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-community-server_5.7.19-1debian7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the part where it always fails. Nothing found on the Internet, any advice?
 
Have you tried

# rm -f /var/lib/mysql/debian-*.flag

?
 
Back
Top