I am trying to install conjure-up to install the kubernetes on my ubuntu (16.04.1) with the command:

sudo snap install conjure-up --classic

After a few seconds, the below error is shown:

error: unable to contact snap store

I have both http_proxy and https_proxy already setup

Below is the output from snap version

snap    2.34.2
snapd   2.34.2
series  16
ubuntu  16.04
kernel  4.15.0-42-generic

I came across the similar question, Problem with snap store but the answer provided (issue with snap store try after some time) did not solve my issue.

  • 2
    Did you only set http_proxy as environment variable or did you also setup the snp proxy.http settings? As described here: askubuntu.com/questions/764610/…
    – jfn
    Oct 15, 2019 at 13:33

2 Answers 2


Try configuring the proxy settings with these commands:

# sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>"
# sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>"

Remove all snap and snapd files. It's working for me and I have tried many methods.

sudo apt purge snap
rm -rf ~/snap
sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd
sudo rm -rf /var/tmp/snapd.swn
sudo rm -rf /var/tmp/snapd.swk
sudo rm -rf /var/tmp/snapd.swl
sudo rm -rf /var/tmp/snapd.swm
sudo rm -rf /var/tmp/snapd.swn
sudo rm -rf /var/tmp/snapd.swo
sudo rm -rf /var/tmp/snapd.swp
sudo rm -rf /etc/systemd/system/snapd.service.d
sudo apt install snapd
sudo snap install hello-world

I hope this will benefit you. :)

Not the answer you're looking for? Browse other questions tagged or ask your own question.