tzo*_*zik 3 software-center mysql apt
我过去曾使用 MySQL APT安装过MySQL Workbench。
我的软件存储库列表最近更新了,从那以后我的MySQL Workbench消失了。它仍在磁盘上,但没有启动。
我试图去软件中心并尝试安装它,我收到:
mysql-workbench: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed
Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but 1:2.24.4-1ubuntu1 is to be installed
Depends: libpcrecpp0 (>= 7.7) but 1:8.31-2ubuntu2 is to be installed
Depends: python:any (>= 2.7.1-0ubuntu2) but it is a virtual package
Depends: mysql-workbench-data (= 6.0.8+dfsg-2) but 6.0.8+dfsg-2 is to be installed
Run Code Online (Sandbox Code Playgroud)
如果我尝试从 APT 安装
sudo apt-get install mysql-workbench
Run Code Online (Sandbox Code Playgroud)
我得到
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-workbench : Depends: mysql-client
Recommends: mysql-utilities but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
然后,如果我尝试安装mysql-client依赖项,我会收到类似的错误,说它需要mysql-community-client.
如果我尝试安装这个社区客户端,我会收到另一个错误,说它需要libstdc++6 (>= 4.9) but 4.8.2-19ubuntu1 is to be installed.
如果我尝试安装这个,它说我已经有了这个版本。
我能做什么?
你应该:
sudo apt-get install -f mysql-workbench
Run Code Online (Sandbox Code Playgroud)
我在这种情况下使用aptitude
sudo apt-get install aptitude
Run Code Online (Sandbox Code Playgroud)
进而:
sudo aptitude install mysql-workbench
Run Code Online (Sandbox Code Playgroud)
提出了可以帮助解决您的问题的建议。
| 归档时间: |
|
| 查看次数: |
9879 次 |
| 最近记录: |