ubuntu 16.04 LTS upgrade后报错snapd

时间:2018-02-09 20:29:28   收藏:0   阅读:1942
报错:

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


评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!