8

Using Ubuntu 18.04.2 LTS.

sean@sean-mcmahon:~$  sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://ie.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:4 http://ie.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:5 http://ie.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:6 http://dl.google.com/linux/chrome/deb stable Release                     
Ign:7 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic InRelease    
Err:8 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic Release     
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done                      
E: The repository 'http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic 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.

So update complete, now install

sean@sean-mcmahon:~$ sudo apt-get install mysql-workbench-community
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql-workbench-community
sean@sean-mcmahon:~$ 

I am following this guide. Any ideas why it cannot locate the package?

5 Answers 5

13

If you want to install Mysql Workbench Just run this command in terminal

sudo apt install mysql-workbench

You are good to go with Mysql Workbench

For Ubuntu 20.04 or higher version:

sudo snap install mysql-workbench-community

Happy Ubuntu!

5
  • 5
    Now it says "Package mysql-workbench is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'mysql-workbench' has no installation candidate" Jun 6, 2019 at 9:36
  • This did not work for me on Debian 10, i know this is not for debian but i don't find anywhere else about this, besides ubuntu is generic from Debian Sep 16, 2019 at 19:11
  • @HassanDadKhan askubuntu.com/a/1362504/1180538
    – mr.loop
    Sep 8, 2021 at 5:51
  • Doesn't work on ubuntu 20.
    – Pandian Le
    Sep 27, 2021 at 18:46
  • @PandianLe I have updated my answer Sep 28, 2021 at 9:41
9
snap install mysql-workbench-community

the problem that all snap packages are sanboxed and need to get permission to access local files & connect to DB.

Cannot connect MySQL Workbench to MySQL server

access files

or install dbeaver which is more stable.

2

First

sudo apt update && sudo apt upgrade

Then

sudo apt install mysql-workbench
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libreadline5 mariadb-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gdal-data libaec0 libarmadillo8 ... etc.

So it looks like community should not have been in the install statement

1

At the time of my wrinting it seems that only a snap version is available:

sudo snap install mysql-workbench-community

1
  • 1
    Hi karel, there is outdated information. apt install mysql-workbench and apt install mysql-workbench-community do -not- work anymore.
    – Bodo
    Jan 29, 2021 at 10:41
1

This happened to me when using the native mysql repo which is there by default.

Rather, according to the same guide referred in question, download the .deb package from https://dev.mysql.com/downloads/repo/apt/

and then after installing using the instructions you can install workbench using

sudo apt-get install mysql-workbench-community

assuming you didn't touched the defaults in the installation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.