dpkg: dependency problems prevent configuration of mysql-workbench-community for Ubuntu 13.04

While installing mysql-workbench-community-6.0.9 on Ubuntu 13.04 if you get below error.

root@Dell-XPS:/home/nilnandan/Downloads# dpkg -i mysql-workbench-community-6.0.9-1ubu1204-amd64.deb
Selecting previously unselected package mysql-workbench-community.
(Reading database … 203112 files and directories currently installed.)
Unpacking mysql-workbench-community (from mysql-workbench-community-6.0.9-1ubu1204-amd64.deb) …
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on libctemplate0; however:
  Package libctemplate0 is not installed.
 mysql-workbench-community depends on libgtkmm-2.4-1c2a (>= 1:2.24.0); however:
  Package libgtkmm-2.4-1c2a is not installed.
 mysql-workbench-community depends on libpcrecpp0 (>= 7.7); however:
  Package libpcrecpp0 is not installed.
 mysql-workbench-community depends on libtinyxml2.6.2; however:
  Package libtinyxml2.6.2 is not installed.
 mysql-workbench-community depends on libzip2 (>= 0.10); however:
  Package libzip2 is not installed.
 mysql-workbench-community depends on python-paramiko; however:
  Package python-paramiko is not installed.
 mysql-workbench-community depends on python-pysqlite2; however:
  Package python-pysqlite2 is not installed.
dpkg: error processing mysql-workbench-community (–install):
 dependency problems – leaving unconfigured
Processing triggers for mime-support …
Processing triggers for hicolor-icon-theme …
Processing triggers for shared-mime-info …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for desktop-file-utils …
Processing triggers for gnome-menus …
Errors were encountered while processing:
mysql-workbench-community
root@Dell-XPS:/home/nilnandan/Downloads#

Download libctempate0 from here and install it : http://ftp.br.debian.org/debian/pool/main/c/ctemplate/libctemplate0_0.97-1_amd64.deb

After that if you still getting error for Package libgtkmm-2.4-1c2a then,

root@Dell-XPS:/home/nilnandan/Downloads# apt-get install libgtkmm-2.4-1c2a
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
mysql-workbench-community : Depends: libpcrecpp0 (>= 7.7) but it is not going to be installed
Depends: libtinyxml2.6.2 but it is not going to be installed
Depends: libzip2 (>= 0.10) but it is not going to be installed
Depends: python-paramiko but it is not going to be installed
Depends: python-pysqlite2 but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
root@Dell-XPS:/home/nilnandan/Downloads#
root@Dell-XPS:/home/nilnandan/Downloads# apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
libgtkmm-2.4-1c2a libpcrecpp0 libtinyxml2.6.2 libzip2 python-paramiko python-pysqlite2
Suggested packages:
python-pysqlite2-doc python-pysqlite2-dbg
The following NEW packages will be installed:
libgtkmm-2.4-1c2a libpcrecpp0 libtinyxml2.6.2 libzip2 python-paramiko python-pysqlite2
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1,991 kB of archives.
After this operation, 12.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://in.archive.ubuntu.com/ubuntu/ raring/main libgtkmm-2.4-1c2a amd64 1:2.24.2-1ubuntu2 [1,067 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ raring/main libpcrecpp0 amd64 1:8.31-2 [16.5 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ raring/universe libtinyxml2.6.2 amd64 2.6.2-1build1 [35.3 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ raring/universe libzip2 amd64 0.10.1-1.1 [29.0 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ raring/main python-paramiko all 1.7.7.1-3.1ubuntu1 [807 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ raring/universe python-pysqlite2 amd64 2.6.3-3 [36.4 kB]
Fetched 1,991 kB in 39s (50.4 kB/s)
Selecting previously unselected package libgtkmm-2.4-1c2a:amd64.
(Reading database … 204090 files and directories currently installed.)
Unpacking libgtkmm-2.4-1c2a:amd64 (from …/libgtkmm-2.4-1c2a_1%3a2.24.2-1ubuntu2_amd64.deb) …
Selecting previously unselected package libpcrecpp0:amd64.
Unpacking libpcrecpp0:amd64 (from …/libpcrecpp0_1%3a8.31-2_amd64.deb) …
Selecting previously unselected package libtinyxml2.6.2.
Unpacking libtinyxml2.6.2 (from …/libtinyxml2.6.2_2.6.2-1build1_amd64.deb) …
Selecting previously unselected package libzip2.
Unpacking libzip2 (from …/libzip2_0.10.1-1.1_amd64.deb) …
Selecting previously unselected package python-paramiko.
Unpacking python-paramiko (from …/python-paramiko_1.7.7.1-3.1ubuntu1_all.deb) …
Selecting previously unselected package python-pysqlite2.
Unpacking python-pysqlite2 (from …/python-pysqlite2_2.6.3-3_amd64.deb) …
Processing triggers for doc-base …
Processing 1 added doc-base file…
Setting up libgtkmm-2.4-1c2a:amd64 (1:2.24.2-1ubuntu2) …
Setting up libpcrecpp0:amd64 (1:8.31-2) …
Setting up libtinyxml2.6.2 (2.6.2-1build1) …
Setting up libzip2 (0.10.1-1.1) …
Setting up python-paramiko (1.7.7.1-3.1ubuntu1) …
Setting up python-pysqlite2 (2.6.3-3) …
Setting up mysql-workbench-community (6.0.9-1ubu1204) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
root@Dell-XPS:/home/nilnandan/Downloads#

Now Finally install,

root@Dell-XPS:/home/nilnandan/Downloads# dpkg -i mysql-workbench-community-6.0.9-1ubu1204-amd64.deb
(Reading database … 204402 files and directories currently installed.)
Preparing to replace mysql-workbench-community 6.0.9-1ubu1204 (using mysql-workbench-community-6.0.9-1ubu1204-amd64.deb) …
Unpacking replacement mysql-workbench-community …
Setting up mysql-workbench-community (6.0.9-1ubu1204) …
Processing triggers for mime-support …
Processing triggers for hicolor-icon-theme …
Processing triggers for shared-mime-info …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for desktop-file-utils …
Processing triggers for gnome-menus …
root@Dell-XPS:/home/nilnandan/Downloads#

Leave a Reply