ubuntu 16.04 install snapd problem
Solution 1:
My version of resolving this issue:
- Remove/comment all unnessesary trusty sources from your
/etc/apt/sources.list
. - Run
sudo apt-get update
and verify thatapt-cache policy snapd
is now have theCandidate: 2.32.9
that you need. try tosudo apt install --reinstall snapd
. - Optional. If you still have
Sub-process /usr/bin/dpkg returned an error code (1)
error, clean thecd var/lib/dpkg/info
withsudo rm ./snapd*
and reinstall the snapdsudo apt install --reinstall snapd
. - Verify that the Installed version is 2.32.9
snap --version
.