Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script fails due to package not found #9

Open
GTP95 opened this issue Jan 29, 2023 · 2 comments
Open

Script fails due to package not found #9

GTP95 opened this issue Jan 29, 2023 · 2 comments

Comments

@GTP95
Copy link

GTP95 commented Jan 29, 2023

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
Copy link
Author

GTP95 commented Jan 29, 2023

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
Copy link
Author

GTP95 commented Jan 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant