最近我升级Ubuntu 16到Ubuntu 18. 一切正常,然后看起来很漂亮,而且工作正常。但是,我无法安装或删除任何软件包。我在这个论坛上研究了多个答案。但是没有一个解决方案适合我。这是我执行的步骤。
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
imagemagick-6.q16 : Breaks: libmagickcore-dev (< 8:6.9.2.10+dfsg-2~) but 8:6.7.7.10-6ubuntu3.12 is installed
libmagick++-6.q16-dev : Breaks: libmagick++-dev (< 8:6.8.3.10-1~)
libmagick++-dev : Depends: libmagickwand-dev (= 8:6.7.7.10-6ubuntu3.12) but it is not installed
libmagickcore-6.q16-dev : Breaks: libmagickcore-dev (< 8:6.8.3.10-1~) but 8:6.7.7.10-6ubuntu3.12 is installed
E: Unmet dependencies. …Run Code Online (Sandbox Code Playgroud)