Skip to content

apt install ./docker-desktop-amd64.deb fails with "Unsupported file" error on Ubuntu 24.04 (Noble) #24085

@ket3l4

Description

@ket3l4

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

When following the standard installation instructions for Docker Desktop on Ubuntu 24.04, running
sudo apt install ./docker-desktop-amd64.deb fails.

The system returns an error:
Reading package lists... Done
E: Unsupported file ./docker-desktop-amd64.deb given on commandline
The file is unsupported, even though the .deb package is valid.

The installation succeeds if the absolute path is provided instead:
sudo apt install /home/user/path/to/docker-desktop-amd64.deb

Location

https://docs.docker.com/desktop/setup/install/linux/ubuntu/

Suggestion

apt should resolve the local path and install the package along with its dependencies. Since it doesn't at the moment, add the work around sudo apt install /home/user/path/to/docker-desktop-amd64.deb stated in the description to the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions