我试图在Ubuntu 14.04安装Rattle,但是我收到这个错误:
Error in loadNamespace(name) : there is no package called ‘RGtk2’
但是当我尝试安装RGtk2时,我得到:
configure: error: GTK version 2.8.0 required ERROR: configuration Failed for package ‘RGtk2’
当我尝试安装libgtk2.0-dev
同
sudo apt-get install libgtk2.0-dev
我得到:
The following packages have unmet dependencies: libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.1 is to be installed Depends: libglib2.0-dev (>= 2.27.3) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
当我尝试
sudo apt-get install libgtk2.0
我得到:
The following packages have unmet dependencies: libgtk2.0-0-dbg : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.1 is to be installed libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.1 is to be installed Depends: libglib2.0-dev (>= 2.27.3) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
根据
http://rattle.togaware.com/rattle-install-troubleshooting.html
如果你在Ubuntu中有这个问题,Rattle的来源就是这样解决的
wajig install libgtk2.0-dev
我做了它,它的工作,你的电脑可能会要求你安装wajig做
sudo apt-get install wajig
继续做它.