Answers:
现在安装了这些版本 https://launchpad.net/~tista/+archive/ubuntu/wayland/+build/8264511
将以下文件下载到一个文件夹中
gir1.2-ibus-1.0_1.5.11+git20151104-2-0ubuntu1~xenial1_amd64.deb
ibus_1.5.11+git20151104-2-0ubuntu1~xenial1_amd64.deb
ibus-gtk_1.5.11+git20151104-2-0ubuntu1~xenial1_amd64.deb
ibus-gtk3_1.5.11+git20151104-2-0ubuntu1~xenial1_amd64.deb
libibus-1.0-5_1.5.11+git20151104-2-0ubuntu1~xenial1_amd64.deb
安装
sudo dpkg -i *.deb
不要注意警告并重新启动
dpkg
但是在Ubuntu 14.04 LTS中安装似乎失败了:Errors were encountered while processing: gir1.2-ibus-1.0:amd64 ibus
即使现在ibus version
显示IBus 1.5.11
。
mkdir -p /tmp/ibus && cd /tmp/ibus && curl -O http://launchpadlibrarian.net/234615974/gir1.2-ibus-1.0_1.5.11-1ubuntu2_amd64.deb -O http://launchpadlibrarian.net/234615976/ibus-gtk_1.5.11-1ubuntu2_amd64.deb -O http://launchpadlibrarian.net/234615975/ibus-gtk3_1.5.11-1ubuntu2_amd64.deb -O http://launchpadlibrarian.net/234615978/ibus_1.5.11-1ubuntu2_amd64.deb -O http://launchpadlibrarian.net/234615979/libibus-1.0-5_1.5.11-1ubuntu2_amd64.deb && sudo dpkg -i *.deb
基于一些评论,我选择安装ibus 1.5.12。我正在使用Ubuntu 14.04,根据@Fabio的回复,这对我有用,这是源位置:https ://launchpad.net/~tista/+archive/ubuntu/wayland/+build/8927526
gir1.2-ibus-1.0_1.5.12+git20160201-0ubuntu1-xenial1_amd64.deb
ibus_1.5.12+git20160201-0ubuntu1-xenial1_amd64.deb
ibus-gtk3_1.5.12+git20160201-0ubuntu1-xenial1_amd64.deb
ibus-gtk_1.5.12+git20160201-0ubuntu1-xenial1_amd64.deb
libibus-1.0-5_1.5.12+git20160201-0ubuntu1-xenial1_amd64.deb
编辑-dpkg
错误解包时的错误可能与未满足的依赖项有关。
从Ubuntu-Packages下载缺少的软件包。
手动解包,直到满足依赖性为止。
然后尝试重新包装上述包装。
从https://launchpad.net/~tista/+archive/ubuntu/wayland/+build/8927526dpkg -i *.deb
下载软件包,
然后在下载的软件包上运行后,运行
apt-get install -f
修复dpkg安装期间发生的错误(缺少某些依赖项)。
可以确认它可以在Ubuntu 15.10上运行
我在Ubuntu 14.04.5上,在Android Studio中遇到了同样的问题。如果可能,我更喜欢升级ibus。原来,这很容易^^。
sources.list
用以下两行更新:
deb http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted
更新ibus:
sudo apt-get update
sudo apt-get install ibus
从中删除添加的行sources.list
。
更新之前sources.list
:
sudo apt-cache policy ibus
ibus:
Installed: 1.5.5-1ubuntu3.2
Candidate: 1.5.5-1ubuntu3.2
Version table:
*** 1.5.5-1ubuntu3.2 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty-updates/main
amd64 Packages
100 /var/lib/dpkg/status
1.5.5-1ubuntu3 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
更新ibus之后:
sudo apt-cache policy ibus
ibus:
Installed: 1.5.11-1ubuntu2
Candidate: 1.5.11-1ubuntu2
Version table:
*** 1.5.11-1ubuntu2 0
500 http://ca.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
100 /var/lib/dpkg/status
1.5.5-1ubuntu3.2 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
1.5.5-1ubuntu3 0
500 http://ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
^^太容易了。我很怀疑即将发生爆炸。