Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dpkg: error processing package mysql-client

105 views
Skip to first unread message

William Torrez Corea

unread,
Jul 20, 2023, 8:00:07 PM7/20/23
to
I try to update, upgrade my operating system but i get the following error:

Setting up mysql-common (8.0.34-1debian11) ...
update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback doesn't
exist
dpkg: error processing package mysql-common (--configure):
 installed mysql-common package post-installation script subprocess returned err
or exit status 2
dpkg: dependency problems prevent configuration of mysql-community-server:
 mysql-community-server depends on mysql-common (>= 8.0.34-1debian11); however:
  Package mysql-common is not configured yet.
  Version of mysql-common on system, provided by mysql-common:amd64, is <none>.

dpkg: error processing package mysql-community-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-community-server (= 8.0.34-1debian11); however:
  Package mysql-community-server is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-community-client:
 mysql-community-client depends on mysql-common (>= 8.0.34-1debian11); however:
  Package mysql-common is not configured yet.
  Version of mysql-common on system, provided by mysql-common:amd64, is <none>.

dpkg: error processing package mysql-community-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-client:
 mysql-client depends on mysql-community-client (= 8.0.34-1debian11); however:
  Package mysql-community-client is not configured yet.

dpkg: error processing package mysql-client (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-common
 mysql-community-server
 mysql-server
 mysql-community-client
 mysql-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

--

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀


Greg Wooledge

unread,
Jul 20, 2023, 8:20:06 PM7/20/23
to
On Thu, Jul 20, 2023 at 05:55:12PM -0600, William Torrez Corea wrote:
> Setting up mysql-common (8.0.34-1debian11) ...

This package did not come from Debian. That's not a Debian version
string (*none* of them have that pattern, with the literal word "debian"
in between numbers), and besides, looking at
<http://packages.debian.org/mysql-common> you can clearly see that no
version of Debian has a mysql-common package with a version number
that high.

If your third-party MySQL packages are not working, you might seek help
from whoever built them. Failing that, you should *definitely* back
up your database(s) if possible, and then give serious thought to
purging these packages by whatever means, and then reinstalling them.
Or installing Debian's Mariadb packages instead.

Once you get a working database back on the system, then you can restore
your backed-up data.

Andy Smith

unread,
Jul 20, 2023, 8:40:06 PM7/20/23
to
Hello,

On Thu, Jul 20, 2023 at 08:17:34PM -0400, Greg Wooledge wrote:
> On Thu, Jul 20, 2023 at 05:55:12PM -0600, William Torrez Corea wrote:
> > Setting up mysql-common (8.0.34-1debian11) ...
>
> This package did not come from Debian.

[…]

> If your third-party MySQL packages are not working, you might seek help
> from whoever built them.

I would add that the fact that OP is having problems on an upgrade
with third party packages probably means that OP did not read the
release notes regarding identifying third party repositories, so OP
should also definitely go and read those before any upgrade.

https://www.debian.org/releases/stable/releasenotes
https://www.debian.org/releases/bullseye/releasenotes

(not sure which release OP is upgrading to; 11 (bullseye)
maybe.)

Cheers,
Andy

--
https://bitfolk.com/ -- No-nonsense VPS hosting
0 new messages