Snap Store installation problem

Please consider prepend env LANGUAGE=en in any command you run in the terminal so that it won’t be localized. Also it’s possible to copy the terminal output via selecting the text and press Ctrl+Shift+C; after pasting the content here surround it with lines of three backticks(```) make it easier to read for everyone, for example:

```
$ env LANGUAGE=en apt-cache policy snapd
snapd:
Installed: 2.34.2ubuntu0.1
Candidate: 2.34.2ubuntu0.1
Version table:
*** 2.34.2ubuntu0.1 500
        500 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
    2.0.2 500
        500 http://tw.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

```

becomes:

$ env LANGUAGE=en apt-cache policy snapd
snapd:
  Installed: 2.34.2ubuntu0.1
  Candidate: 2.34.2ubuntu0.1
  Version table:
 *** 2.34.2ubuntu0.1 500
        500 http://tw.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://tw.archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.2 500
        500 http://tw.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

That’s not apt-cache policy snapd.

2 Likes

here’s what I saw

image

You appeared to still use the legacy version(2.0.2) of the snapd package, please run the sudo apt install -y snapd command in a terminal, and post the output.

!!!ATTENTION TO EVERYONE WHO ARE READING THIS POST!!!

From this moment I will only post outputs in “pastebin”

and also installing snap-store still gives the “error:access denied” thing

1 Like


-output here

1 Like

Great, please reboot the system and run sudo snap refresh core, sudo snap refresh core18, and sudo snap install snap-store commands sequentially in a terminal, and post the output.

1 Like

Ok, so you’re now up to date and have the snap-store snap successfully installed. I guess the lesson here is we should always do the system updates :slight_smile:

2 Likes

ATTENTION!
this post is now over, the porblem got solved!
THANKS FOR ALL THE HELP!!!

4 Likes