【已解决】deepin-menu更新失败
Tofloor
poster avatar
hewro
deepin
2017-04-17 22:47
Author
本帖最后由 hewro 于 2017-4-18 10:59 编辑

看到一个帖子更新后控制中心变了,我就更新了。

更新之后,没有重启,自己又退回了桌面

我自己重新启动了一下,重启后,发现控制中心确实更新了!

但是【系统仍然提醒要更新】,我继续点击【重启以安装更新】(控制中心的更新),又提示【更新失败】了。

然后我就命令行
  1. sudo apt-get -f install
Copy the Code


提示

  1. 将会同时安装下列软件:
      deepin-menu
    下列软件包将被升级:
      deepin-menu
Copy the Code



最后返回这个错误:
  1. 您希望继续执行吗? [Y/n] y
  2. (正在读取数据库 ... 系统当前共安装有 227905 个文件和目录。)
  3. 正准备解包 .../deepin-menu_3.1.1-2_amd64.deb  ...
  4.   File "/usr/bin/pyclean", line 63
  5.     except (IOError, OSError), e:
  6.                              ^
  7. SyntaxError: invalid syntax
  8. dpkg: 警告: 子进程 旧的 pre-removal 脚本 返回错误状态 1
  9. dpkg: 现在尝试使用新软件包所带的脚本...
  10.   File "/usr/bin/pyclean", line 63
  11.     except (IOError, OSError), e:
  12.                              ^
  13. SyntaxError: invalid syntax
  14. dpkg: 处理归档 /var/cache/apt/archives/deepin-menu_3.1.1-2_amd64.deb (--unpack)时出错:
  15. 子进程 新的 pre-removal 脚本 返回错误状态 1
  16. Traceback (most recent call last):
  17.   File "/usr/bin/pycompile", line 35, in
  18.     from debpython.version import SUPPORTED, debsorted, vrepr, \
  19.   File "/usr/share/python/debpython/version.py", line 24, in
  20.     from ConfigParser import SafeConfigParser
  21. ImportError: No module named 'ConfigParser'
  22. dpkg: 清理时出错:
  23. 子进程 已安装 post-installation 脚本 返回错误状态 1
  24. 在处理时有错误发生:
  25. /var/cache/apt/archives/deepin-menu_3.1.1-2_amd64.deb
  26. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code



Reply Favorite View the author
All Replies
avatar
hewro
deepin
2017-04-17 22:50
#1
  1. sudo rm -rf /var/cache/apt/archives/deepin-menu_3.1.1-2_amd64.deb
Copy the Code


删除了,再更新还是不行,还是提示错误?求解?https://bbs.deepin.org/user/48640
Reply View the author
avatar
jingle
deepin
2017-04-17 22:52
#2
https://bbs.deepin.org/post/137735
删除了,再更新还是不行,还是提示错误?求解?@jingle

内测源?
Reply View the author
avatar
hewro
deepin
2017-04-17 22:56
#3
Reply View the author
avatar
hewro
deepin
2017-04-17 22:59
#4


这应该是更新成功了吧,可是还是提醒更新
Reply View the author
avatar
emofode
deepin
2017-04-17 23:16
#5
让你们乱玩测试源,玩坏了吧
Reply View the author
avatar
hewro
deepin
2017-04-18 18:58
#6
Reply View the author