-
Notifications
You must be signed in to change notification settings - Fork 904
Description
In the setup script you try to install Chromium by installing both chromium-browser and chromium, I guess to cover whatever the package is called. The problem with that is you get this as an error from the setup script.
[*] Installing Chromium browser and ChromeDriver...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package chromium-browser 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 'chromium-browser' has no installation candidate
E: Unable to locate package chromium-chromedriver
Reading package lists... Done
I saw that, assumed something had gone wrong, so started trying to work out what was missing and what needed fixing. I can see why you've done it, and that you catch if Chromium doesn't get installed, but seeing that error as an installer isn't good.
I would suggest adding an if around that install so you use the right package name for the appropriate distro. If not, you could at least print a warning message along with the "Installing" message to say that there might be an error but you can ignore it.
I'm on the latest Debian:
setup $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 13 (trixie)
Release: 13
Codename: trixie