[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-12 Thread agb
@Robie Basak
done #1569163
thank you!

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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


Re: [Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-10 Thread Robie Basak
@agb

I think you have a completely different issue. If you think this is a
bug in Ubuntu, please could you report it as a separate bug? Please use
"ubuntu-bug" to report it so we get information on package versions etc.
in the report. Thanks!

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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


[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-10 Thread agb
Yesterday (04/09/2016) I perfomed dist-upgrade on 16.04beta
Apt-get Pocess removed mysql-server 5.6 and do nothing else (did not install 
5.7 instead).
Then I intalled mysql-server 5.7 (5.7.11-0ubuntu5) by myself.
But I got this error:

--
Setting up mysql-server-5.7 (5.7.11-0ubuntu5) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: script virtualbox: service virtualbox already provided!
Job for mysql.service failed because the control process exited with error 
code. See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ systemctl status mysql.service
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: 
enabled)
   Active: activating (start-post) (Result: exit-code) since Вс 2016-04-10 
21:59:18 EEST; 24s ago
  Process: 25917 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  Process: 25913 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre 
(code=exited, status=0/SUCCESS)
 Main PID: 25917 (code=exited, status=1/FAILURE); : 25918 
(mysql-systemd-s)
Tasks: 2 (limit: 512)
   CGroup: /system.slice/mysql.service
   └─control
 ├─25918 /bin/bash /usr/share/mysql/mysql-systemd-start post
 └─25979 sleep 1

апр 10 21:59:18 home systemd[1]: Starting MySQL Community Server...
апр 10 21:59:18 home systemd[1]: mysql.service: Main process exited, 
code=exited, status=1/FAILURE


$ journalctl -xe
апр 10 21:59:18 home systemd[1]: mysql.service: Service hold-off time over, 
scheduling restart.
апр 10 21:59:18 home systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has finished shutting down.
апр 10 21:59:18 home systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has begun starting up.
апр 10 21:59:18 home mysqld[25917]: mysqld: Can't read dir of 
'/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
апр 10 21:59:18 home mysqld[25917]: mysqld: [ERROR] Fatal error in defaults 
handling. Program aborted!
апр 10 21:59:18 home systemd[1]: mysql.service: Main process exited, 
code=exited, status=1/FAILURE
апр 10 21:59:48 home systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has failed.
-- 
-- The result is failed.
апр 10 21:59:48 home systemd[1]: mysql.service: Unit entered failed state.
апр 10 21:59:48 home systemd[1]: mysql.service: Failed with result 'exit-code'.
апр 10 21:59:48 home systemd[1]: mysql.service: Service hold-off time over, 
scheduling restart.
апр 10 21:59:48 home systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has finished shutting down.
апр 10 21:59:48 home systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mysql.service has begun starting up.
апр 10 21:59:48 home mysqld[25999]: mysqld: Can't read dir of 
'/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
апр 10 21:59:48 home mysqld[25999]: mysqld: [ERROR] Fatal error in defaults 
handling. Program aborted!
апр 10 21:59:48 home systemd[1]: mysql.service: Main process exited, 
code=exited, status=1/FAILURE

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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

[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-07 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-5.7 - 5.7.11-0ubuntu5

---
mysql-5.7 (5.7.11-0ubuntu5) xenial; urgency=medium

  * d/mysql-server-5.7.postinst: ignore mysql_upgrade's exit status when
it is one that includes the indication that there is nothing to do
(LP: #1566406).

 -- Robie Basak   Thu, 07 Apr 2016 11:58:28
+0100

** Changed in: mysql-5.7 (Ubuntu)
   Status: Fix Committed => Fix Released

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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


[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-07 Thread Robie Basak
** Changed in: mysql-5.7 (Ubuntu)
   Status: In Progress => Fix Committed

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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


[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-07 Thread Robie Basak
Upstream bug: http://bugs.mysql.com/bug.php?id=80995

** Bug watch added: MySQL Bug System #80995
   http://bugs.mysql.com/bug.php?id=80995

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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


[Bug 1566406] Re: postinst fails on mysql_upgrade if database is already upgraded

2016-04-07 Thread Robie Basak
** Summary changed:

- package mysql-server-5.7 5.7.11-0ubuntu3 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 2
+ postinst fails on mysql_upgrade if database is already upgraded

** Changed in: mysql-5.7 (Ubuntu)
   Status: Confirmed => Triaged

** Changed in: mysql-5.7 (Ubuntu)
   Importance: Undecided => High

** Changed in: mysql-5.7 (Ubuntu)
   Status: Triaged => In Progress

** Changed in: mysql-5.7 (Ubuntu)
 Assignee: (unassigned) => Robie Basak (racb)

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

Title:
  postinst fails on mysql_upgrade if database is already upgraded

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

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