2015-02-24 4 views
2

Я пытаюсь установить msyql-верстак в моих убунту 12.10 с помощью следующей командыНе удалось установить MySQL-верстак в Ubuntu 12.10

sudo apt-get install mysql-workbench 

но он показывает следующее сообщение об ошибке.

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 + ф для ubu1204 и будет получать различные распределения, выбрать битовую 32/64, а затем запустить файл с помощью программного обеспечения центра, оно работает ,

mysql ubuntu distributions

+0

Тем не менее я получаю ту же ошибку –

0

Попробуйте сделать Sudo APT-получить установить python-all и sudo apt-g et install mysql-utilities. И затем повторите попытку.

0

Выполнить эту команду вместо:

sudo apt-get -f install 

После этого MySQL Workbench должен быть установлен штраф.

Убедитесь, что вы выбрали 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

Я не уверен, что это хорошее решение, чтобы устранить эту ошибку, но я решил в убунту 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 APT-получить обновление

  2. Sudo APT-получить установку MySQL-верстак

Он будет работать .....