How to resolve "snapd returned status code 400: Bad Request"?

10,777

Solution 1

I used snap to resolve this issue and it worked. I have installed skype to check this.

snap find "skype"

Then used the command in the following fashion to install the snap package:

sudo snap install skype --classic

::Snap is universal packaging system launched by Ubuntu.It allows you to use these Snap packaged applications on any Snap supported Linux distributions, not just Ubuntu.::

Solution 2

The better way for the installation of your application will be using snap. Whatever application you are installing through synaptic, try it with snap.

Just take the keyword of the application name. As an example, I take visual studio code.

snap is providing the installation of visual studio code. Use these steps in command line.

Step 1: snap find "visual studio code"

Step 2: sudo snap install vscode --classic

Please note that the name "vscode" came from the result of Step 1.

After the execution, the window opens automatically and then you can continue.

I tried installing skype with this, and got it done successfully.

For more details of snap, and its errors, use the link https://youtu.be/tmqBlc7FFgg

Share:
10,777
Sreelekshmi V
Author by

Sreelekshmi V

Dreamer.Student.Curious.Explorer

Updated on August 01, 2022

Comments

  • Sreelekshmi V
    Sreelekshmi V almost 2 years

    I have encountered “snapd returned status code 400: Bad Request” error while installing applications from Synaptic Package Manager in Ubuntu.I tried to use Software Center also but it's not working.

  • Thorsten Niehues
    Thorsten Niehues over 6 years
    Have you been able to start skype? (after installing it)
  • Gopakumar N G
    Gopakumar N G over 6 years
    running "sudo snap install skype --classic " was successful, but couldn't start Skype.
  • Sreelekshmi V
    Sreelekshmi V over 6 years
    In what way did you try to access skype after installation?
  • Jay Cummins
    Jay Cummins about 6 years
    This did not work for me on Ubuntu 16.04: error: cannot perform the following tasks: - Mount snap "skype" (33) ([daemon-reload] failed with exit status 1: Failed to execute operation: Connection reset by peer ) When I try to re-run it, I get: error: cannot communicate with server: Post http://localhost/v2/snaps/skype: dial unix /run/snapd.socket: connect: connection refused