我正在尝试在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
Der*_*ran 21
根据http://rattle.togaware.com/rattle-install-troubleshooting.html
如果你在ubuntu中遇到这个问题,那么Rattle的来源就是这样解决的
wajig install libgtk2.0-dev
我做了它并且它有效,你的计算机可能会要求你安装wajig
sudo apt-get install wajig 
继续做吧.
| 归档时间: | 
 | 
| 查看次数: | 7689 次 | 
| 最近记录: |