Kresus Installation Fail : 'rustc': No such file or directory

Hello,

I posted some weeks ago to tried to solve a problem with the installation of app Kresus, but it was closed due to the lack of activity … I tried to understand more deeply the problem (I really not an expert). I try in English and French, maybe I will get more answers…

The context : I have installed Yunohost on et raspberry pi 4. It was running the app Kresus version 19.2. I tried to update to 19.3, but the process finish with a error. Even if I delete the app, and try to install it, the same error show up. The log are available here :

https://paste.yunohost.org/raw/areseyulaf

In the first post (Kresus échec update / installation), I was told to try to update the pip. So I tried the command :

sudo pip3 install --upgrade pip

But the problem remains.

Since, I tried to understand. In the log, an other link was recommended, so I tried :

pip install --upgrade pip

But I didn’t saw any difference.

Still in the log, I saw the line :
error: command failed: 'rustc': No such file or directory (os error 2)

I followed the links in the log, and I finished on the site of “rust” :

I tried to install “rust”, with the command :
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

On first try, I let the default settings, but at the end of the process, when I tried to check the version installed, the command “rustc” was not found. In the doubt, I tried again to install Kresus, but the error remain. So I searched, and found this :

So I tried this method, and it seems to work, I check the version of rustc and cargo : Seems OK ::

rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
cargo --version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)

I finally tried again (hopeful), but still the same error. (I tried again after rebooting and Update the pip, but no …)

At this point, here my questions :

  • Do I understand correctly the problem or I am wrong ? Is the “rustc” command the origin of the problem or something else ?
  • If the problem is “rustc”, why it does not find it even it is installed ?
  • Or should I search to deal with cryptography ? But how ?

Thank you in advance,

----------------------- Français

Bonjour,

J’ai fait un post il y a quelques semaines pour essayer de résoudre un problème avec l’installation de l’appli Kresus, mais celui-ci a était fermée faute d’activité… J’ai essayé de comprendre plus en profondeur mon problème (je ne suis vraiment pas un expert).

Le contexte : J’ai installé Yunohost sur et raspberry pi 4. Il exécutait l’application Kresus version 19.2. J’ai essayé de mettre à jour vers 19.3, mais le processus se termine par une erreur. Même si je supprime l’application et que j’essaie de l’installer, la même erreur s’affiche. Le log est disponible ici :

https://paste.yunohost.org/raw/areseyulaf

Dans le premier message (Kresus échec update / installation), on m’a dit d’essayer de mettre à jour le pip. J’ai donc essayé avec la commande proposée :

sudo pip3 install --upgrade pip

Mais le problème demeure.

Depuis, j’ai essayé de comprendre. Dans le log, un autre lien était recommandé, j’ai donc essayé :

pip installer --upgrade pip

Mais je n’ai pas vu de différence.

Toujours dans le log, j’ai vu la ligne :
error: command failed: ‘rustc’: No such file or directory (os error 2)

J’ai suivi les liens du log, et j’ai fini sur le site de “rust” :

J’ai essayé d’installer “rust”, avec la commande :
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Au premier essai, j’ai laissé les paramètres par défaut, mais à la fin du processus, lorsque j’ai essayé de vérifier la version installée, la commande “rustc” n’a pas été trouvée. Dans le doute, j’ai réessayé d’installer Kresus, mais l’erreur persiste. Alors j’ai cherché, et j’ai trouvé ça :

J’ai donc essayé cette méthode, et ça semble avoir fonctionné, j’ai vérifié la version de “rustc” et cargo : Semble OK ::

rustc --version
Rustc 1.70.0 (90c541806 2023-05-31)
cargaison --version
cargaison 1.70.0 (ec8a8a0ca 2023-04-25)

J’ai finalement réessayé (plein d’espoir), mais toujours la même erreur. (J’ai réessayé après avoir redémarré et mis à jour le pip, mais non …)

A ce stade, voici mes questions :

  • Est-ce que je comprends bien le problème ou je fais fausse route ? La commande “rustc” est-elle à l’origine du problème ou ce serait autre chose ?
  • Si le problème vient bien de “rustc”, pourquoi il ne le trouve pas alors qu’il est installé ?
  • Sinon faut-il se concentrer plutôt sur cryptographie ? Essayer de faire l’installation autrement ?

Merci d’avance,

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.