netflix-install-script icon indicating copy to clipboard operation
netflix-install-script copied to clipboard

Script fails due to package not found

Open GTP95 opened this issue 2 years ago • 2 comments

Greetings,

I just tried this script on a fresh installation of OSMC for Raspberry Pi 3 and it fails printing during execution the following message on the terminal:

Package python3-crypto is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3-crypto' has no installation candidate

Despite this, I still get the "Installation finished!" dialog at the end. The script probably needs to be updated to reference another package, but I would also suggest implementing basic error handling so the user is properly made aware that something went wrong. Thanks for your help,

GTP95

EDIT: maybe we need the python3-cryptography package instead?

GTP95 avatar Jan 29 '23 11:01 GTP95

Unfortunately, after changing the package's name in the script, while the script appears to work now, the installation of the repository still fails: I get an error saying that the installation failed due to the file having a bad structure. Maybe also the link to the repo's zip file needs to be updated?

GTP95 avatar Jan 29 '23 11:01 GTP95

I can confirm that using version 2 of the CastagnaIT repository works, maybe I'll prepare a pull request later to fix these issues.

GTP95 avatar Jan 29 '23 12:01 GTP95