次のような依存関係パッケージエラーが発生しています。
root@osscube:/home/abdul/Downloads# dpkg -i mysql-workbench-gpl-5.2.47-1ubu1004-AMD64.deb
Selecting previously unselected package mysql-workbench-gpl.
(Reading database ... 153925 files and directories currently installed.)
Unpacking mysql-workbench-gpl (from mysql-workbench-gpl-5.2.47-1ubu1004-AMD64.deb) ...
dpkg: dependency problems prevent configuration of mysql-workbench-gpl:
mysql-workbench-gpl depends on libmysqlclient16 (>= 5.1.21-1); however:
Package libmysqlclient16 is not installed.
mysql-workbench-gpl depends on libpython2.6 (>= 2.6); however:
Package libpython2.6 is not installed.
mysql-workbench-gpl depends on libzip1 (>= 0.9); however:
Package libzip1 is not installed.
mysql-workbench-gpl depends on python-paramiko; however:
Package python-paramiko is not installed.
mysql-workbench-gpl depends on python-pysqlite2; however:
Package python-pysqlite2 is not installed.
dpkg: error processing mysql-workbench-gpl (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
mysql-workbench-gpl
apt-get -f install
を実行しようとしましたが、成功しませんでした。また、これらの依存パッケージを次のようにインストールしようとしました。
apt-get install libmysqlclient16 libpython2.6 libzip1 python-paramiko python-pysqlite2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmysqlclient16 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
Package libpython2.6 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
Package libzip1 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 'libmysqlclient16' has no installation candidate
E: Package 'libpython2.6' has no installation candidate
E: Package 'libzip1' has no installation candidate
どうすれば修正できますか?
Gdebiで試しましたか?次のようにして正常にインストールしました。
Sudo apt-get install gdebi-core
Sudo gdebi ~/Downloads/mysql-workbench-gpl-5.2.47-1ubu1204-AMD64.deb
apt
とは異なり、gdebi
は依存関係を正しく解決できます。
buntu Software Center に移動して入力するだけで簡単です
mysql-client
依存関係もインストールされるようにインストールします。次に、ターミナルを開いて次を入力します。
Sudo -i
dpkg -i package.deb <use your package name here>
うまくいくと思います。
このコマンドを使用
Sudo apt-get upgrade
Sudo dpkg --force-all -i mysql-workbench-community-6.0.8-1ubu1304-AMD64.deb
そしてそれを削除する
Sudo apt-get -f install
これは好ましい方法ではないかもしれませんが、サイトからインストールします。
http://dev.mysql.com/downloads/tools/workbench/
12.04を使用している場合はかなり時代遅れであり、MySQLワークベンチのようなプログラムは最新かつ最高の機能を取得するのに適したプログラムです。