I am trying to install MySQL Workbench through the System Settings and I get the following error:
The following packages have unmet dependencies:
mysql-workbench: Depends: libgcc1 (>= 1:3.0) but 1:6.0.1-0ubuntu1 is to be installed
Depends: libgdal.so.1-1.11.3 but it is a virtual package
Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but 1:2.24.4-2 is to be installed
Depends: libpcrecpp0v5 (>= 7.7) but 2:8.38-3.1 is to be installed
Depends: python:any (>= 2.6.6-7~) but it is a virtual package
Depends: mysql-workbench-data (= 6.3.6+dfsg-0ubuntu1) but 6.3.6+dfsg-0ubuntu1 is to be installed
How do I solve this?
sudo apt-get install -f
– George Udosen Jan 12 '18 at 15:03
– Isaac A Jan 12 '18 at 18:11Removing mysql-server-5.7 (5.7.20-0ubuntu0.16.04.1) ... update-alternatives: error: /var/lib/dpkg/alternatives/my.cnf corrupt: invalid status dpkg: error processing package mysql-server-5.7 (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: mysql-server-5.7 E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
– George Udosen Jan 12 '18 at 18:14sudo dpkg --configure -a
Ran well, no results/printouts.
– Isaac A Jan 12 '18 at 18:15The following packages have unmet dependencies: mysql-workbench : Depends: libgdal.so.1-1.11.3 Depends: libgdal1i (>= 1.8.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
That's what I get when I try to install the workbench.
– Isaac A Jan 12 '18 at 18:43sudo apt update
, thensudo dpkg --configure -a
– George Udosen Jan 12 '18 at 18:44
– Isaac A Jan 12 '18 at 18:48E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.