package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

Bug #1660956 reported by Carlos Gonçalves
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

apt-get upgrade failed

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.17-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
Uname: Linux 4.4.0-59-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Wed Feb 1 08:14:37 2017
DpkgHistoryLog:
 Start-Date: 2017-02-01 08:12:24
 Commandline: /usr/bin/unattended-upgrade
 Install: libhybris:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libhybris-common1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libmedia1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic), libhardware2:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7, automatic)
 Upgrade: liboxideqt-qmlplugin:amd64 (1.17.9-0ubuntu0.16.04.1, 1.19.4-0ubuntu0.16.04.1), liboxideqtquick0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.19.4-0ubuntu0.16.04.1), liboxideqtcore0:amd64 (1.17.9-0ubuntu0.16.04.1, 1.19.4-0ubuntu0.16.04.1), oxideqt-codecs-extra:amd64 (1.17.9-0ubuntu0.16.04.1, 1.19.4-0ubuntu0.16.04.1)
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2016-07-26 (189 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['mysqld_safe.pid', 'ib_logfile0', 'poreno_one', 'hidrofit', 'wine', 'ibtmp1', 'custosproducao', 'ibdata1', 'mysql', 'performance_schema', 'debian-5.7.flag', 'sys', 'ib_logfile1', 'mysql_upgrade_info', 'auto.cnf', 'laravel', 'loja', 'ib_buffer_pool']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-59-generic.efi.signed root=UUID=70d74360-4d02-47c8-a8a3-63d7ade4d5cb ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.mysql.mysql.cnf: [modified]
mtime.conffile..etc.mysql.mysql.cnf: 2017-01-31T08:30:48.447365

Revision history for this message
Carlos Gonçalves (ccorreag) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The config set the non default socket = /tmp/mysql.sock.
This is needed at /var/run/mysqld/mysqld.sock for the upgrade to be performed.

Please consider tweaking the conf pre/post the upgrade.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for your report Carlos.

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-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Carlos Gonçalves (ccorreag) wrote : Re: [Bug 1660956] Re: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Download full text (3.3 KiB)

Solved. Thanks!

Em ter, 28 de fev de 2017 às 10:21, ChristianEhrhardt <
<email address hidden>> escreveu:

> The config set the non default socket = /tmp/mysql.sock.
> This is needed at /var/run/mysqld/mysqld.sock for the upgrade to be
> performed.
>
> Please consider tweaking the conf pre/post the upgrade.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1660956
>
> Title:
> package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to
> install/upgrade: sub-processo script post-installation instalado
> retornou estado de saída de erro 1
>
> Status in mysql-5.7 package in Ubuntu:
> Incomplete
>
> Bug description:
> apt-get upgrade failed
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: mysql-server-5.7 5.7.17-0ubuntu0.16.04.1
> ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
> Uname: Linux 4.4.0-59-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2.5
> Architecture: amd64
> Date: Wed Feb 1 08:14:37 2017
> DpkgHistoryLog:
> Start-Date: 2017-02-01 08:12:24
> Commandline: /usr/bin/unattended-upgrade
> Install: libhybris:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7,
> automatic), libhybris-common1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7,
> automatic), libmedia1:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7,
> automatic), libhardware2:amd64 (0.1.0+git20151016+6d424c9-0ubuntu7,
> automatic)
> Upgrade: liboxideqt-qmlplugin:amd64 (1.17.9-0ubuntu0.16.04.1,
> 1.19.4-0ubuntu0.16.04.1), liboxideqtquick0:amd64 (1.17.9-0ubuntu0.16.04.1,
> 1.19.4-0ubuntu0.16.04.1), liboxideqtcore0:amd64 (1.17.9-0ubuntu0.16.04.1,
> 1.19.4-0ubuntu0.16.04.1), oxideqt-codecs-extra:amd64
> (1.17.9-0ubuntu0.16.04.1, 1.19.4-0ubuntu0.16.04.1)
> ErrorMessage: sub-processo script post-installation instalado retornou
> estado de saída de erro 1
> InstallationDate: Installed on 2016-07-26 (189 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> Logs.var.log.daemon.log:
>
> MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
> MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
> [mysqldump]
> quick
> quote-names
> max_allowed_packet = 16M
> MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['mysqld_safe.pid', 'ib_logfile0', 'poreno_one',
> 'hidrofit', 'wine', 'ibtmp1', 'custosproducao', 'ibdata1', 'mysql',
> 'performance_schema', 'debian-5.7.flag', 'sys', 'ib_logfile1',
> 'mysql_upgrade_info', 'auto.cnf', 'laravel', 'loja', 'ib_buffer_pool']
> ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-59-generic.efi.signed
> root=UUID=70d74360-4d02-47c8-a8a3-63d7ade4d5cb ro quiet splash vt.handoff=7
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.1
> apt 1.2.19
> SourcePackage: mysql-5.7
> Title: package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to
> install/upgrade: sub-processo script post-installation instalado retornou
> estado de saída de erro 1
> UpgradeStatus: No upgrade log present (probably fresh install)
> modified.conffile..etc.mysql.mysql.cnf: [modified]
> mtime.conffile..etc.mysql.mysql.cnf: 2017-01-31T08:3...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.