Description
I tried installing task with WSL using both Debian and Ubuntu as per the instructions of the installation page.
But the script couldn't detect the OS distribution, version nor codename and forcing them didn't help.
Command-line and output
$ curl -1sLfk 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | distro=ubuntu version=24.04 codename=noble sudo -E bash
Executing the setup script for the 'task/task' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
RUN: Importing 'task/task' repository GPG keys ...gpg: no valid OpenPGP data found.
OK: Checking for apt signed-by key support ...
OK: Importing 'task/task' repository GPG keys ...
NOPE: Checking if upstream install config is OK ...
^^^^: ... Failed to fetch configuration for your OS distribution release/version.
>>>>:
>>>>: It looks like it might be because the configuration endpoint is not
>>>>: currently available. Please try again in 10-15 minutes. If it still
>>>>: doesn't work after an hour, please contact task
>>>>: for assistance.
>>>>:
>>>>: You can force this script to use a particular value by specifying distro,
>>>>: version, or codename via environment variable. E.g., to specify a distro
>>>>: such as Ubuntu/Xenial (16.04), use the following:
>>>>:
>>>>: <curl command> | distro=ubuntu version=16.04 codename=xenial sudo -E bash
>>>>:
!!!!: Oh no, your setup failed! :-( ... But we might be able to help. :-)
!!!!:
!!!!: You can contact task for further assistance.
!!!!:
!!!!: URL: https://github.com/go-task/task
!!!!:
!!!!: Last 20 log lines from .csm_setup_h8tsyH9rH (might not be errors, nor even relevant):
!!!!:
!!!!: > ii gnupg 2.4.4-2ubuntu17.4
!!!!: > all GNU privacy guard - a free PGP replacement
!!!!: > ii gnupg-l10n 2.4.4-2ubuntu17.4
!!!!: > all GNU privacy guard - localization files
!!!!: > ii gnupg-utils 2.4.4-2ubuntu17.4
!!!!: > amd64 GNU privacy guard - utility programs
lsb_release output
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.4 LTS
Release: 24.04
Codename: noble
Description
I tried installing task with WSL using both Debian and Ubuntu as per the instructions of the installation page.
But the script couldn't detect the OS distribution, version nor codename and forcing them didn't help.
Command-line and output
lsb_release output