skip to Main Content

I am following the docker installation tutorial in ubuntu: https://docs.docker.com/desktop/linux/install/ubuntu/

And when I try this step: sudo apt install ./docker-desktop-4.8.1-amd64.deb I am getting the next error: E: Unsupported file ./docker-desktop-4.8.1-amd64.deb given on commandline

Not sure what that means or if I am missing something.

E: Unsupported file ./docker-desktop-4.8.1-amd64.deb given on commandline

I also tried with:

curl https://desktop-stage.docker.com/linux/main/amd64/74134/docker-desktop.deb --output docker-desktop.deb
sudo apt install ./docker-desktop.deb

And got the error:

E: Invalid archive signature
E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,}
E: Could not read meta data from /home/rodolfo/docker-desktop.deb
E: The package lists or status file could not be parsed or opened.

Any ideas?

4

Answers


  1. Try moving the DEB file to HOME folder or Change the directory in terminal to the folder where the file is downloaded

    Login or Signup to reply.
  2. According to official documentation, and the steps I followed to install docker in Ubuntu 22.04 LTS

    1. Visit the following site https://docs.docker.com/engine/install/ubuntu/
    2. Scroll down until you find the Install using the convenience script section.
    3. You will find the following commands:

    $ curl -fsSL https://get.docker.com -o get-docker.sh

    $ DRY_RUN=1 sh ./get-docker.sh

    • the first command will install a shell script with the all needed commands and the other will run this shell script.
    1. You can test the installation by running these commands

    $ sudo docker –version

    $ sudo docker info

    1. If it looks fine, you now have docker in your machine.
    2. Optional step is to download docker desktop for Ubuntu 22.04
      https://docs.docker.com/desktop/linux/install/
    • MAKE SURE You already installed docker engine before installing docker desktop for Ubuntu
    Login or Signup to reply.
  3. So I had the same problem and the solution was to go to the folder root that I downloaded the deb file in it wish is Downloads for me and I rerun the commend

    Login or Signup to reply.
  4. My issue ended up being Ubuntu 22.04 was installed with wsl version 1.

    wsl -l -v

      NAME                   STATE           VERSION
      Ubuntu-22.04           Running         1
    

    wsl --set-version Ubuntu-22.04 2

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search