[Bug 2025389] Re: do-release-upgrade fails from 20.04 to 22.04 due to mysql-server dependency problem

Jerimiah Lee 2025389 at bugs.launchpad.net
Fri Jun 30 03:47:56 UTC 2023


After much back and forth, this is due to an old mysql.cnf setting for
mysql 5. When I comment out these two settings that are no longer
available the do-release-upgrade script doesn't have any issues. It
seems that because mysql-server cannot be configured due to this old
setting the entire upgrade fails.

These are the two settings that we had in the mysql.cnf:

query_cache_limit=1M
query_cach_size=16M

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2025389

Title:
  do-release-upgrade fails from 20.04 to 22.04 due to mysql-server
  dependency problem

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  We have been migrated old Ubuntu 16.04 machines to Ubuntu 22.04. A few
  weeks ago this process worked flawlessly, but suddenly on June 27th,
  the upgrade from 20.04 to 22.04 will fail, crash the upgrade script
  and restarting the machine will give a kernal panic. I've provided the
  dist-upgrade logs.

  The command we use is `do-release-upgrade -f
  DistUpgradeViewNonInteractive`

  The error seems to have something to do with installing mysql-
  server-8.0, and a dependency problem. I can see that mysql-server gets
  installed and then the script stops with an error in the pm.do_install
  command. I have tried with and without the NonInteractive command and
  it always fails on mysql.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2025389/+subscriptions




More information about the foundations-bugs mailing list