package mysql-common 5.7.20-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
cannot stat file '/usr/lib/
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-common 5.7.20-
ProcVersionSign
Uname: Linux 4.10.0-32-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Thu Nov 9 12:49:41 2017
Dependencies:
DuplicateSignature:
package:
Setting up firefox (56.0+build6-
update-
dpkg: error processing package firefox (--configure):
subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2017-07-11 (121 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Logs.var.
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
PackageArchitec
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: mysql-5.7
Title: package mysql-common 5.7.20-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi Mahmoud,
it seems that some java setup issue is leaking in here.
On Update alternatives (which might be called by some packages postinst) it crashes due to a broken setup.
From your log: 0ubuntu0. 16.04.1) ... alternatives: error: cannot stat file '/usr/lib/ jvm/java- 8-oracle/ bin/javac' : Too many levels of symbolic links
Setting up mysql-common (5.7.20-
update-
Check the path that was mentioned and how the links there are set up (likely a loop).
I couldn't find that path in an official package from Ubuntu.
You most likely need to check from which package/tar/... this file comes to avoid it being recreated that way sooner or later.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.
If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Or 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.