[已解决]安装新系统过程中出错
Tofloor
poster avatar
186******39
deepin
2018-06-21 01:14
Author
本帖最后由 l0rraine 于 2018-6-21 10:31 编辑

执行
  1. sudo apt-get update && sudo apt-get dist-upgrade
Copy the Code

后出错了


出错信息为:


  1. 正准备解包 .../41-deepin-desktop-base_2018.6.07-1_all.deb  ...
    正在将 deepin-desktop-base (2018.6.07-1) 解包到 (2017.11.1-1) 上 ...
  2. 正准备解包 .../42-deepin-menu_3.3.8-1_amd64.deb  ...
  3.   File "/usr/bin/pyclean", line 63
  4.     except (IOError, OSError), e:
  5.                              ^
  6. SyntaxError: invalid syntax
  7. dpkg: 警告: 子进程 旧的 pre-removal 脚本 返回错误状态 1
  8. dpkg: 现在尝试使用新软件包所带的脚本...
  9. dpkg: 处理归档 /tmp/apt-dpkg-install-3sWPzx/42-deepin-menu_3.3.8-1_amd64.deb (--unpack)时出错:
  10. 新版本的软件包里没有脚本 - 取消操作
  11. Traceback (most recent call last):
  12.   File "/usr/bin/pycompile", line 38, in
  13.     from debpython.namespace import add_namespace_files
  14.   File "/usr/share/python/debpython/namespace.py", line 120
  15.     except (IOError, OSError), e:
  16.                              ^
  17. SyntaxError: invalid syntax
  18. dpkg: 清理时出错:
  19. 子进程 已安装 post-installation 脚本 返回错误状态 1
    正在选中未选择的软件包 dpa-ext-gnomekeyring。
  20. 正准备解包 .../46-dpa-ext-gnomekeyring_0.1.0-1_amd64.deb  ...
  21. 正在解包 dpa-ext-gnomekeyring (0.1.0-1) ...
  22. 正准备解包 .../47-dde-polkit-agent_0.2.1-1_amd64.deb  ...
  23. 正在将 dde-polkit-agent (0.2.1-1) 解包到 (0.1.1-1) 上 ...
  24. 正在选中未选择的软件包 imwheel。
  25. 正准备解包 .../48-imwheel_1.0.0pre12-12_amd64.deb  ...
  26. 正在解包 imwheel (1.0.0pre12-12) ...
  27. 正准备解包 .../49-deepin-installer-timezones_2.2.17-1_all.deb  ...
  28. 正在将 deepin-installer-timezones (2.2.17-1) 解包到 (2.2.13-1) 上 ...
  29. 正准备解包 .../50-dde-daemon_3.2.20-1_amd64.deb  ...
  30. 正在将 dde-daemon (3.2.20-1) 解包到 (3.2.8.1-2) 上 ...
  31. 正准备解包 .../51-dde-session-ui_4.4.5-1_amd64.deb  ...
  32. 正在将 dde-session-ui (4.4.5-1) 解包到 (4.2.0.1-2) 上 ...
  33. 正准备解包 .../52-libdeepin-mutter0g_3.20.30-1_amd64.deb  ...
  34. 正在将 libdeepin-mutter0g (3.20.30-1) 解包到 (3.20.26-3) 上 ...
  35. 正准备解包 .../53-deepin-mutter-common_3.20.30-1_all.deb  ...
  36. 正在将 deepin-mutter-common (3.20.30-1) 解包到 (3.20.26-3) 上 ...
  37. 正准备解包 .../54-deepin-wm_1.9.27-1_amd64.deb  ...
  38. 正在将 deepin-wm (1.9.27-1) 解包到 (1.9.21-3) 上 ...
  39. 正准备解包 .../55-libdeepin-wm0_1.9.27-1_amd64.deb  ...
  40. 正在将 libdeepin-wm0:amd64 (1.9.27-1) 解包到 (1.9.21-3) 上 ...
  41. 正在选中未选择的软件包 librsvg2-bin。
  42. 正准备解包 .../56-librsvg2-bin_2.40.18-1_amd64.deb  ...
  43. 正在解包 librsvg2-bin (2.40.18-1) ...
  44. 正准备解包 .../57-dde-api_3.1.26-1_amd64.deb  ...
  45. 正在将 dde-api (3.1.26-1) 解包到 (3.1.18.1-2) 上 ...
  46. 在处理时有错误发生:
  47. /tmp/apt-dpkg-install-3sWPzx/42-deepin-menu_3.3.8-1_amd64.deb
  48. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code

我是不是要凉了……求救

Reply Favorite View the author
All Replies
avatar
186******39
deepin
2018-06-21 03:01
#1
求救,请大佬拯救我!
Reply View the author
avatar
186******39
deepin
2018-06-21 18:31
#2
在这个帖子里找到了解决办法  有同样问题的小伙伴可以来这看看

https://bbs.deepin.org/post/132239
Reply View the author
avatar
deepin-yichengxian
deepin
2021-04-16 23:07
#3
Reply View the author