2015-02-16 11 views
12

sto cercando di installare Rattle in Ubuntu 14.04, ma sto ottenendo questo errore:errore sull'installazione Rattle in Ubuntu

Error in loadNamespace(name) : there is no package called ‘RGtk2’ 

Ma quando provo ad installare RGtk2 ottengo questo:

configure: error: GTK version 2.8.0 required 
ERROR: configuration failed for package ‘RGtk2’ 

Quando provo ad installare libgtk2.0-dev

con

sudo apt-get install libgtk2.0-dev 
.515.053.691,36321 milioni

ottengo:

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 

E quando provo

sudo apt-get install libgtk2.0 

ottengo:

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 
+2

Avete installato qualcosa come 'libgtk2.0-dev'? –

+0

no non l'ho installato. Come posso installarlo? –

+2

'sudo apt-get install libgtk2.0-dev' –

risposta

18

di tronchi con a http://rattle.togaware.com/rattle-install-troubleshooting.html

la fonte di Rattle se avete questo problema in ubuntu, è risolto facendo questo

wajig install libgtk2.0-dev 

l'ho fatto e ha funzionato, il computer potrebbe chiedere di installare wajig facendo

sudo apt-get install wajig 

andare avanti e farlo.

+2

Ho usato questo per installare il pacchetto' clusterfly' in 'R 3.2.2' su' Ubuntu 16.04' che ha richiamato lo stesso messaggio di errore. Oltre a 'libgtk2.0-dev' ho anche dovuto installare' ggobi' manualmente con 'sudo apt-get install ggobi' per eseguire' clusterfly'. Ora tutto è stato installato correttamente grazie al tuo codice. – joaoal