升级错误 18

升级错误 18

我的系统给了我升级到 Ubuntu 18 的选项,接受后大约需要 1 小时才能下载并安装,但在安装过程中显示一些错误,后来升级失败。

现在如果我运行 sudo apt-get update,如附图 1 所示在此处输入图片描述

如果我运行 sudo apt-get upgrade,它会给出一些未满足依赖项的错误,如 image_2 所示在此处输入图片描述 s

ajid@sajid-Inspiron-7737:~$ sudo apt-get upgrade
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:
 obex-data-server : Depends: libmagickwand-6.q16-2 (>= 8:6.8.8.2) but it is not installable
 upstart-app-launch : Depends: upstart (>= 1.11) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


and if i run sudo apt --fix-broken install it gives 
  ubuntuone-credentials-common urfkill url-dispatcher velocity x11proto-xinerama-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  obex-data-server
The following packages will be REMOVED:
  upstart-app-launch
The following packages will be upgraded:
  obex-data-server
1 upgraded, 0 newly installed, 1 to remove and 362 not upgraded.
8 not fully installed or removed.
Need to get 0 B/75.9 kB of archives.
After this operation, 250 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 449092 files and directories currently installed.)
Removing upstart-app-launch (0.3+14.04.20140411-0ubuntu1) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 37, in <module>
    import click_package as click
ModuleNotFoundError: No module named 'click_package'
dpkg: error processing package upstart-app-launch (--remove):
 installed upstart-app-launch package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 upstart-app-launch
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容