![E:无法找到软件包 mysql-workbench-community](https://linux22.com/image/909645/E%EF%BC%9A%E6%97%A0%E6%B3%95%E6%89%BE%E5%88%B0%E8%BD%AF%E4%BB%B6%E5%8C%85%20mysql-workbench-community.png)
使用 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.
更新完成,现在安装
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:~$
我正在关注指导. 知道为什么它无法找到该包吗?
答案1
如果你想安装Mysql 工作台只需在终端中运行此命令
sudo apt install mysql-workbench
您可以使用 Mysql Workbench
对于 Ubuntu 20.04 或更高版本:
sudo snap install mysql-workbench-community
祝 Ubuntu 愉快!
答案2
snap install mysql-workbench-community
问题是所有 snap 包都是沙盒化的,需要获得权限才能访问本地文件和连接到 DB。
无法将 MySQL Workbench 连接到 MySQL 服务器
或安装数据库更加稳定。
答案3
第一的
sudo apt update && sudo apt upgrade
然后
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.
因此看起来社区不应该出现在安装声明中
答案4
当我使用默认的本机 mysql repo 时发生了这种情况。
相反,根据同一指导提到问题,.deb
从下载软件包https://dev.mysql.com/downloads/repo/apt/
然后按照说明安装后,您可以使用安装工作台
sudo apt-get install mysql-workbench-community
假设您没有触及安装中的默认设置。