#1142408 mysql-9.7: No upgrade path from 8.0.46

Package:
mysql-server
Source:
mysql-server
Description:
MySQL database server and system database setup
Submitter:
Andreas Metzler
Date:
2026-07-20 10:49:01 UTC
Severity:
normal
#1142408#5
Date:
2026-07-19 12:45:17 UTC
From:
To:
Today's sid upgrade tried to install the new mysql-server (9.7.1-1),
however it failed with:

dpkg: error processing package mysql-server (--configure):
 old mysql-server package postinst maintainer script subprocess failed with exit status 1
Errors were encountered while processing:
 mysql-server

and /var/log/mysql/error.log says:
026-07-19T12:33:13.141476Z 1 [ERROR] [MY-014060] [Server] Invalid MySQL server upgrade: Cannot upgrade from 80046 to 90701. Upgrade to next major version is only allowed from the last LTS release, which version 80046 is not.

cu Andreas

#1142408#16
Date:
2026-07-20 10:47:39 UTC
From:
To:
Thanks for reporting this Andreas.

I think the best option for transitioning existing MySQL 8.0 servers would be
making MySQL 8.4 available in Debian unstable. From there you can stay on that
LTS which is currently supported or upgrade to 9.7 afterward. Working on that now.