Open RecursiveFunctions opened 6 months ago
sudo apt install --only-upgrade ffmpeg chromium-browser chromium-chromedriver -y
ought to fix it
Thanks for looking into this! Can you explain how it works? I'm admittedly not well versed in the differences between apt-get and apt. My understanding is apt-get update will fetch all the most recent versions from the repositories.
If that is removed, how does apt know that it is fetching the latest version?
It doesn't, you're right. Actually I think the error handling might've been the true culprit here. ideally when running setup.sh it shouldn't exit out just because some unrelated package doesn't have a release file
It is intentional that the script exits if apt-get update doesn't work. I think that if a user is using an invalid repository, the user should fix that issue. Otherwise, the setup script cannot guarantee that the packages it installs will be up to date and compatible.
E: The repository 'https://cli.github.com/packages bookworm Release' does not have a Release file.
In my case the error actually has nothing to do with the other pikaraoke packages and continuing the setup leads to no problems.
Perhaps it could be modified to check for specific error codes that would cause problems with the installation?
To Reproduce Steps to reproduce the behavior: -The user must have installed at least one package from a repository that does not have a release file (in this case cli.github.com/packages bookworm release)
-run setup.sh
Platform :
Error is the same whether you run it as user or root.