2015-02-24 52 views
2

我试图安装msyql,工作台安装mysql-工作台。无法使用以下命令</p> <pre><code>sudo apt-get install mysql-workbench </code></pre> <p>,但它显示了以下错误在我的Ubuntu 12.10在Ubuntu 12.10

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
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: python-all but it is not going to be installed 
       Recommends: mysql-utilities but it is not installable 

我已经试过

sudo apt-get install python-all 

,但它显示的错误,

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
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: 
python-all : Depends: python (= 2.7.3-0ubuntu2.2) but 2.7.3-0ubuntu7 is to be installed 
E: Unable to correct problems, you have held broken packages. 

下面的命令也没有工作

sudo apt-get -f install mysql-workbench 

回答

3

this link,所有下载的油墨都可以,然后用CTRL +˚F搜索ubu1204 U将得到不同的分布,选择位32/64,然后使用软件中心运行的文件,它的工作原理。

mysql ubuntu distributions

+0

不过我收到同样的错误 – 2015-03-05 10:12:47

0

试着做一个sudo易于得到安装python-all和sudo apt-g然后安装mysql-utilities。然后再试一次。

0

运行此命令:

sudo apt-get -f install 

,MySQL的工作台后,应安装罚款。

确保您从下拉列表中选择了Ubuntu Linux。 Here

1

尝试sudo apt-get update,然后尝试安装

5
sudo add-apt-repository ppa:olivier-berten/misc 

sudo apt-get update 

sudo apt-get install mysql-workbench 

这个工作对我来说ref link

0

我不知道这是解决这个错误很好的解决办法,但我在Ubuntu已经解决16.04

您必须将我的resources.list文件复制并粘贴到您的位置/ etc/apt/so urces.list

我的资源。列表文件

=========================================== ===============================

# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted 

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to 
# newer versions of the distribution. 
deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted 

## Major bug fix updates produced after the final release of the 
## distribution. 
deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team. Also, please note that software in universe WILL NOT receive any 
## review or updates from the Ubuntu security team. 
deb http://in.archive.ubuntu.com/ubuntu/ xenial universe 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial universe 
deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu 
## security team. 
deb http://in.archive.ubuntu.com/ubuntu/ xenial multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial multiverse 
deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse 

## N.B. software from this repository may not have been tested as 
## extensively as that contained in the main release, although it includes 
## newer versions of some applications which may provide useful features. 
## Also, please note that software in backports WILL NOT receive any review 
## or updates from the Ubuntu security team. 
deb http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 

deb http://security.ubuntu.com/ubuntu xenial-security main restricted 
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted 
deb http://security.ubuntu.com/ubuntu xenial-security universe 
deb-src http://security.ubuntu.com/ubuntu xenial-security universe 
deb http://security.ubuntu.com/ubuntu xenial-security multiverse 
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse 

## Uncomment the following two lines to add software from Canonical's 
## 'partner' repository. 
## This software is not part of Ubuntu, but is offered by Canonical and the 
## respective vendors as a service to Ubuntu users. 
# deb http://archive.canonical.com/ubuntu trusty partner 
# deb-src http://archive.canonical.com/ubuntu trusty partner 

deb http://archive.canonical.com/ xenial partner 
# deb-src http://archive.canonical.com/ trusty partner 

============ ================================================== ============

及以下运行命令后

  1. sudo易于得到更新

  2. sudo易于得到安装mysql-工作台

它将工作.....

相关问题