apt-get upgrade出错了
Tofloor
poster avatar
prtscsysrq
deepin
2017-08-11 17:44
Author
  1. SyntaxError: invalid syntax
  2. dpkg: 警告: 子进程 旧的 pre-removal 脚本 返回错误状态 1
  3. dpkg: 现在尝试使用新软件包所带的脚本...
  4.   File "/usr/bin/pyclean", line 63
  5.     except (IOError, OSError), e:
  6.                              ^
  7. SyntaxError: invalid syntax
  8. dpkg: 处理归档 /var/cache/apt/archives/debconf_1.5.60_all.deb (--unpack)时出错:
  9. 子进程 新的 pre-removal 脚本 返回错误状态 1
  10. Traceback (most recent call last):
  11.   File "/usr/bin/pycompile", line 35, in
  12.     from debpython.version import SUPPORTED, debsorted, vrepr, \
  13.   File "/usr/share/python/debpython/version.py", line 24, in
  14.     from ConfigParser import SafeConfigParser
  15. ImportError: No module named 'ConfigParser'
  16. dpkg: 清理时出错:
  17. 子进程 已安装 post-installation 脚本 返回错误状态 1
  18. 在处理时有错误发生:
  19. /var/cache/apt/archives/debconf_1.5.60_all.deb
  20. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code


Reply Favorite View the author
All Replies
avatar
billy123456
deepin
2017-08-12 01:07
#1
你解开那个deb包看看
Reply View the author
avatar
jingle
deepin
2017-08-12 01:22
#2
cd  /var/cache/apt/archives/ 删除那个deb 试试
Reply View the author