Skip to content

Dependency check needs updating in setup.deb.sh #2667

@adegoodyer

Description

@adegoodyer

Description

Hi, I get the following error when trying to install Task on Ubuntu 24.02 (Noble)..

curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash
[sudo] password for adegoodyer:
Executing the  setup script for the 'task/task' repository ...

   OK: Checking for required executable 'curl' ...
   OK: Checking for required executable 'apt-get' ...
   OK: Detecting your OS distribution and release using system methods ...
 ^^^^: ... Detected/provided for your OS/distribution, version and architecture:
 >>>>:
 >>>>: ... distro=ubuntu  version=24.04  codename=noble  arch=x86_64
 >>>>:
 NOPE: Checking for apt dependency 'apt-transport-https' ...
   OK: Updating apt repository metadata cache ...

According to a bit of quick research, apt-transport-https no longer exists as a separate package as HTTPS support is now built directly into apt - so the dependency check will obviously fail if you've not got it installed.

Most probably have it installed from previous package installations - but this was on a fresh install of ubuntu so perhaps a bit too clean.

The GPG keys are added before the script exits though and so sudo apt install task will still work afterwards.

Probably just needs a tweak in the script for dependency checking based of what apt version is being used - or updated error output explaining the situation (or both).

Version

3.48.0

Operating system

Ubuntu 24.02 (Noble)

Experiments Enabled

No response

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions