我正在尝试在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
答案 0 :(得分:21)
根据{{3}}
如果您在ubuntu中遇到问题,那么Rattle的来源就是通过这样做来解决的
wajig install libgtk2.0-dev
我做了它并且它有效,您的计算机可能会要求您通过执行
来安装wajigsudo apt-get install wajig
继续做下去。