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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章