Impossibile installare GitKraken


16

Ho appena installato GitKraken (A Git GUI) scaricandolo dal sito Web. Quando provo a installarlo tramite "Discover Center", non funziona. Quindi ho trovato da qualche parte online il comando dpkg -i [filename], l'ho usato su gitkraken .deb e andddd MAGIC! Funziona!

Ho quindi provato a eseguire GitKraken (digitando nel gitkrakenterminale), e questo mi ha dato questo bellissimo errore:

Node started time: 1489531028950
libcurl.so.4: cannot open shared object file: No such file or directory
Error: libcurl.so.4: cannot open shared object file: No such file or directory
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:568:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:11:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/v1_5_0.js:7:17)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/versionScripts/index.js:5:28)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/upgradeScripts/index.js:7:24)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at EventEmitter.module.exports.app.on (/usr/share/gitkraken/resources/app.asar/src/appBootstrap/main.js:146:5)
    at emitOne (events.js:101:20)
    at EventEmitter.emit (events.js:188:7)

Qualsiasi aiuto sarebbe molto apprezzato.



@steeldriver GiĆ  visto questa domanda. Nessuna delle risposte ha funzionato.
Matias K

Prova questi sudo apt updatesudo apt dist-upgrade
:,

Risposte:


14

In terminal...

  • sudo apt-get update
  • sudo apt-get install curl libcurl3

Ora la tua app dovrebbe funzionare.


Sei un salvavita.
Matias K

8

Ho installato libgnome-keyring-common e libgnome-keyring-dev su Ubuntu 16.04 che lo ha risolto per me:

sudo apt install libgnome-keyring-common libgnome-keyring-dev 

1
Funziona con le distribuzioni con un ambiente desktop non basato su GNOME, come Kubuntu.
Bruno Finger,

1
questo ha funzionato anche per me su Kubuntu! Grazie!
Brock Vond

1

Ho usato il seguente comando:

$ sudo apt-get install curl libcurl3 

e ottenuto l'errore di seguito:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Quindi ho cambiato il mio comando in:

$ sudo apt-get install curl libcurl4

E ricorda sempre di aggiornare i pacchetti prima, come mostrato da Heynnema!

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.