ubuntu 16.04 LTS upgrade后报错snapd

前端之家收集整理的这篇文章主要介绍了ubuntu 16.04 LTS upgrade后报错snapd前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

报错:

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

原文链接:https://www.f2er.com/ubuntu/349966.html

猜你在找的Ubuntu相关文章