Ubuntu 13.04 - 32 位
(Reading database ... 216964 files and directories currently installed.)
Unpacking mysql-workbench-community (from mysql-workbench-community-6.0.6-1ubu1304-i386.deb) ...
dpkg: error processing mysql-workbench-community-6.0.6-1ubu1304-i386.deb (--install):
trying to overwrite '/usr/share/mysql-workbench/model_view.glade', which is also in package mysql-workbench-data 5.2.40+dfsg-2ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
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-6.0.6-1ubu1304-i386.deb
请帮忙..
答案1
清除旧包:
sudo apt-get purge mysql-workbench*
并安装带有--force-all
以下标志的新包:
sudo dpkg --force-all -i mysql-workbench-community-6.0.6-1ubu1204-i386.deb
它解决了我的问题。