[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-03-02 Thread Lars Tangvald
The script in /var/lib/mysql-files seems very old;
We do something similar now, but the "install plugin" line was removed, because 
that line will return an error if the plugin is already installed, aborting the 
script before it reaches shutdown, thus causing the installation to hang.

If that file is somehow set to be used it could cause a hang, but it
would either need to be specified in the config file (which we've never
done automatically) or somehow have the filename postinst expects to
find (which we generate with mktemp --tmpdir /var/lib/mysql-files).

So not entirely sure what's happened here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-03-01 Thread Shaikh Aazar
** Description changed:

  $ sudo apt purge mysql-server
  $ sudo rm -rf /etc/mysql
  $ dpkg -l | grep mysql
  result:
  ii  libmysqlclient21:amd64 8.0.23-0ubuntu0.20.04.1
 amd64MySQL database client library
  ii  mysql-common   5.8+1.0.5ubuntu2   
 all  MySQL database common files, e.g. /etc/mysql/my.cnf
  
  sudo apt-get install mysql-server
  result:
  Reading package lists... Done
- Building dependency tree   
+ Building dependency tree
  Reading state information... Done
  The following additional packages will be installed:
-   libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7
-   libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl libmecab2
-   mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client-8.0
-   mysql-client-core-8.0 mysql-server-8.0 mysql-server-core-8.0
+   libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7
+   libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl libmecab2
+   mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client-8.0
+   mysql-client-core-8.0 mysql-server-8.0 mysql-server-core-8.0
  Suggested packages:
-   libipc-sharedcache-perl mailx tinyca
+   libipc-sharedcache-perl mailx tinyca
  The following NEW packages will be installed:
-   libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7
-   libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl libmecab2
-   mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client-8.0
-   mysql-client-core-8.0 mysql-server mysql-server-8.0 mysql-server-core-8.0
+   libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7
+   libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl libmecab2
+   mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client-8.0
+   mysql-client-core-8.0 mysql-server mysql-server-8.0 mysql-server-core-8.0
  0 upgraded, 16 newly installed, 0 to remove and 2 not upgraded.
  Need to get 30,6 MB/30,6 MB of archives.
  After this operation, 249 MB of additional disk space will be used.
- Do you want to continue? [Y/n] 
+ Do you want to continue? [Y/n]
  Get:1 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 
mysql-client-core-8.0 amd64 8.0.23-0ubuntu0.20.04.1 [4.215 kB]
  Get:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 
mysql-client-8.0 amd64 8.0.23-0ubuntu0.20.04.1 [22,0 kB]
  Get:3 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libaio1 amd64 
0.3.112-5 [7.184 B]
  Get:4 http://id.archive.ubuntu.com/ubuntu focal/main amd64 
libevent-core-2.1-7 amd64 2.1.11-stable-1 [89,1 kB]
  Get:5 http://id.archive.ubuntu.com/ubuntu focal/main amd64 
libevent-pthreads-2.1-7 amd64 2.1.11-stable-1 [7.372 B]
  Get:6 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libmecab2 amd64 
0.996-10build1 [233 kB]
  Get:7 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 
mysql-server-core-8.0 amd64 8.0.23-0ubuntu0.20.04.1 [17,7 MB]
  Get:8 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 
mysql-server-8.0 amd64 8.0.23-0ubuntu0.20.04.1 [1.275 kB]
  Get:9 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcgi-pm-perl all 
4.46-1 [186 kB]
  Get:10 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libfcgi-perl 
amd64 0.79-1 [33,1 kB]
  Get:11 http://id.archive.ubuntu.com/ubuntu focal/main amd64 libcgi-fast-perl 
all 1:2.15-1 [10,5 kB]
  Get:12 http://id.archive.ubuntu.com/ubuntu focal/main amd64 
libhtml-template-perl all 2.97-1 [59,0 kB]
  Get:13 http://id.archive.ubuntu.com/ubuntu focal/main amd64 mecab-utils amd64 
0.996-10build1 [4.912 B]
  Get:14 http://id.archive.ubuntu.com/ubuntu focal/main amd64 mecab-ipadic all 
2.7.0-20070801+main-2.1 [6.714 kB]
  Get:15 http://id.archive.ubuntu.com/ubuntu focal/main amd64 mecab-ipadic-utf8 
all 2.7.0-20070801+main-2.1 [4.380 B]
- Fetched 30,6 MB in 2min 11s (233 kB/s)
 
+ Fetched 30,6 MB in 2min 11s (233 kB/s)
  Preconfiguring packages ...
  Selecting previously unselected package mysql-client-core-8.0.
  (Reading database ... 171059 files and directories currently installed.)
  Preparing to unpack 
.../00-mysql-client-core-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb ...
  Unpacking mysql-client-core-8.0 (8.0.23-0ubuntu0.20.04.1) ...
  Selecting previously unselected package mysql-client-8.0.
  Preparing to unpack .../01-mysql-client-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb 
...
  Unpacking mysql-client-8.0 (8.0.23-0ubuntu0.20.04.1) ...
  Selecting previously unselected package libaio1:amd64.
  Preparing to unpack .../02-libaio1_0.3.112-5_amd64.deb ...
  Unpacking libaio1:amd64 (0.3.112-5) ...
  Selecting previously unselected package libevent-core-2.1-7:amd64.
  Preparing to unpack .../03-libevent-core-2.1-7_2.1.11-stable-1_amd64.deb ...
  Unpacking libevent-core-2.1-7:amd64 (2.1.11-stable-1) ...
  Selecting previously unselected package libevent-pthreads-2.1-7:amd64.
  Preparing to unpack .../04-libevent-pthreads-2.1-7_2.1.11-stable-1_amd64.deb 
...
  

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-19 Thread Christian Ehrhardt 
** Changed in: mysql-8.0 (Ubuntu)
 Assignee: (unassigned) => Lars Tangvald (lars-tangvald)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-18 Thread Yuan Song
Looks like there is some environment handling issue during the
migration.  I found a way to clean up the issue.


1. dpkg -l |grep mysql
2. purge all mysql packages.
3. rm -rf /etc/mysql  rm -rf /var/lib/mysql*
4. apt-get install mysql-server.  this will work.

Looks like it is the /var/lib/mysql-files directory that caused the
hang.  It only contained some temporary files that had the following
sql.

USE mysql;
INSTALL PLUGIN auth_socket SONAME 'auth_socket.so';
ALTER USER 'root'@'localhost' IDENTIFIED WITH 'auth_socket';
SHUTDOWN;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-18 Thread Yuan Song
Here are the steps to recreate the issue.

1.  Use the following tutorial to install mysql 5.7 on ubuntu 20.04. Insert 
some data into the database.
   https://techexpert.tips/mysql/installing-mysql-5-7-ubuntu-20-04/

2.  Uninstall mysql-client,  mysql-community-server, and mysql-server. 
apt-get remove  mysql-community-server mysql-community-client mysql-server 
mysql-common mysql-client
3.  remove /etc/apt/preferences.d/mysql
4.  install the default verson of mysql-server.
apt-get install mysql-server

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-18 Thread Yuan Song
I stopped mysql server with "systemctl stop mysql" and tried to start it
with " systemctl start mysql".  Same thing happened.  systemctl hanged
even though mysql server came up.  I can connect to mysql server with no
issue.

** Changed in: mysql-8.0 (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-18 Thread Paride Legovini
Hi Yuan, please do not call the /etc/init.d scripts directly, they're
not guaranteed to work as one may expect and are in good part a legacy a
pre-systemd times. Please use systemctl(1) instead, e.g.:

  $ systemctl status mysql
  $ systemctl stop mysql
  $ systemctl start mysql

and similar.


** Changed in: mysql-8.0 (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-17 Thread Yuan Song
Looks like it is an issue of /etc/init.d/mysql.   I did not see any
error except /etc/init.d/mysql hanged.  mysql server runs ok.  I
compared mysql 5.7 version of /etc/init.d/mysql and the mysql 8 version
of /etc/init.d/mysql.  Those two files are identical.  Should that
script be updated?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-17 Thread Yuan Song
/etc/init.d/mysql start does not return even though msyql server runs
fine.  I can run mysql to connect to the db server.

021-02-17T20:58:31.388560Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld 
(mysqld 8.0.23-0ubuntu0.20.04.1) starting as process 362367
2021-02-17T20:58:31.415192Z 1 [System] [MY-013576] [InnoDB] InnoDB 
initialization has started.
2021-02-17T20:58:32.025870Z 1 [System] [MY-013577] [InnoDB] InnoDB 
initialization has ended.
2021-02-17T20:58:32.101689Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx 
reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create 
lock file /var/run/mysqld/mysqlx.sock.lock'
2021-02-17T20:58:32.102024Z 0 [System] [MY-011323] [Server] X Plugin ready for 
connections. Bind-address: '::' port: 33060
2021-02-17T20:58:32.226743Z 0 [Warning] [MY-010068] [Server] CA certificate 
ca.pem is self signed.
2021-02-17T20:58:32.226960Z 0 [System] [MY-013602] [Server] Channel mysql_main 
configured to support TLS. Encrypted connections are now supported for this 
channel.
2021-02-17T20:58:32.242717Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: 
ready for connections. Version: '8.0.23-0ubuntu0.20.04.1'  socket: 
'/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-17 Thread Yuan Song
** Changed in: mysql-8.0 (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-05 Thread Christian Ehrhardt 
Hi Muhammad,
IMHO the problem is right at the start, one should not manually remove /ect/* 
files :-)
But ok, let us consider it happened somehow and you now need to resolve things.

If you look at this example you'll see that /etc/mysql belongs not to
the package you purged

root@f:~# for i in $(find /etc/mysql); do dpkg -S $i; done
mysql-common, mysql-server-8.0: /etc/mysql
mysql-common: /etc/mysql/my.cnf.fallback
mysql-server-8.0: /etc/mysql/mysql.conf.d
mysql-server-8.0: /etc/mysql/mysql.conf.d/mysql.cnf
mysql-server-8.0: /etc/mysql/mysql.conf.d/mysqld.cnf
mysql-server-8.0: /etc/mysql/debian-start
mysql-common: /etc/mysql/conf.d
mysql-common: /etc/mysql/conf.d/mysql.cnf
mysql-common: /etc/mysql/conf.d/mysqldump.cnf
dpkg-query: no path found matching pattern /etc/mysql/my.cnf
dpkg-query: no path found matching pattern /etc/mysql/debian.cnf
mysql-server-8.0: /etc/mysql/mysql.cnf


And if you purge as you do, only the listed package will be purged

root@f:~# apt purge mysql-server
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-7
  libevent-pthreads-2.1-7 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl
  liblwp-mediatypes-perl libmecab2 libtimedate-perl liburi-perl mecab-ipadic
  mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-client-core-8.0 
mysql-common
  mysql-server-8.0 mysql-server-core-8.0
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  mysql-server*
0 upgraded, 0 newly installed, 1 to remove and 36 not upgraded.
After this operation, 112 kB disk space will be freed.
Do you want to continue? [Y/n] 

That means after your manual rm -rf /etc/mysql (again, one should not do
this) muliple packages are in a bad state. E.g. mysql-common + mysql-
server-8.0 can't differentiate your file removal from an intentional
config by the admin. So they have to work with what they find and that
is nothing.

Therefore follow on install/upgrades will break.
You manually fixed a little bit of it, but it is worse.


If you really want to purge and remove not only the named, but also the related 
packages then I'd recommend:
a) list all of them
apt purge mysql-server mysql-client-8.0 mysql-client-core-8.0 ...
# it is a bit of work to collect the list, but the ouput of the purge command 
will tell you
b) purge with autoremove
$ apt --purge autoremove
$ apt purge mysql-server
# for this you should be sure that formerly nothing was listed for autoremove 
or you rmight purge more than you wanted


Only now /etc/mysql is almost empty and no package relies on it anymore.
Installing mysql-server now works as there is no old misconfiguration (and rm 
configfiles is a misconfiguration, just as much as a bad value in a config 
file) works fine now.

Marking as invalid, as this seems to be a local config issue and not a
bug in the package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-05 Thread Christian Ehrhardt 
Thank you for your report.

This looks like a local configuration problem, rather than a bug in
Ubuntu.

You can find pointers to get help for this sort of problem here:
http://www.ubuntu.com/support/community

Since we use this bug tracker to track bugs in Ubuntu, rather than
configuration problems, I'm marking this bug as Invalid. This helps us
to focus on fixing bugs in Ubuntu.

If you believe that this is really a bug, then you may find it helpful
to read "How to report bugs effectively"
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
if you would then provide a more complete description of the problem,
explain why you believe this is a bug in Ubuntu rather than a problem
specific to your system, and then change the bug status back to New.

** Changed in: mysql-8.0 (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-04 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1914636] Re: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

2021-02-04 Thread Muhammad Naufal Hilmy Makarim
-
Fixing method:
Check if /etc/mysql directory exist. If it exist, then check if 
/etc/mysql/conf.d/ exist. It it not exist, then check if 
/etc/mysql/mysql.conf.d exist. If it exist then run the command below.
$ sudo ln -s /etc/mysql/mysql.conf.d /etc/mysql/conf.d
That command create symbolic link to provide compatibility. After that, run 
command below.
$ sudo apt-get --fix-broken install

That's it ^_^

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636

Title:
  package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
  install/upgrade: installed mysql-server-8.0 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs