报错:
dpkg: error processing package ubuntu-core-launcher (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a prevIoUs failure.
Errors were encountered while processing:
snapd
ubuntu-core-launcher
E: Sub-process /usr/bin/dpkg returned an error code (1)
解决:
添加 exit 0到
/var/lib/dpkg/info/snapd.prerm
. 的 /bin/bash 下面
然后 dpkg --purge --force-all snapd
ubuntu-core-launcher
然后sudo apt update