升级出错
Tofloor
poster avatar
lhw828
deepin
2013-09-16 18:54
Author
  1. lhw@lhw:~/桌面$ sudo apt-get upgrade
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 下列软件包的版本将保持不变:  deepin-desktop-environment-launcher
  6.   deepin-desktop-environment-lightdm-greeter deepin-desktop-environment-lock
  7.   gnome-settings-daemon linux-headers-generic linux-image-generic
  8.   pidgin-lwqq-unstable
  9. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 11 个软件包未被升级。
  10. 有 1 个软件包没有被完全安装或卸载。
  11. 需要下载 0 B/151 MB 的软件包。
  12. 解压缩后会消耗掉 0 B 的额外空间。
  13. 您希望继续执行吗?[Y/n]y
  14. dpkg: error processing kingsoft-office (--configure):
  15. 该软件包正处于非常不稳定的状态 - 您最好
  16. 在配置它之前,先重新安装它。
  17. 在处理时有错误发生:
  18. kingsoft-office
  19. localepurge: Disk space freed in /usr/share/locale: 0 KiB
  20. localepurge: Disk space freed in /usr/share/man: 0 KiB
  21. localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
  22. localepurge: Disk space freed in /usr/share/omf: 0 KiB
  23. Total disk space freed by localepurge: 0 KiB
  24. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code
Reply Favorite View the author
All Replies
cxbii
deepin
2013-09-16 18:56
#1
Reply View the author
lhw828
deepin
2013-09-16 19:51
#2
  1. lhw@lhw:~/桌面$ cd /var/lib/dpkg/
  2. lhw@lhw:/var/lib/dpkg$ sudo mv info info.bak
  3. [sudo] password for lhw:
  4. lhw@lhw:/var/lib/dpkg$ sudo mkdir info
  5. lhw@lhw:/var/lib/dpkg$ sudo dpkg --configure -a
  6. lhw@lhw:/var/lib/dpkg$ sudo apt-get install -f
  7. [sudo] password for lhw:
  8. 正在读取软件包列表... 完成
  9. 正在分析软件包的依赖关系树      
  10. 正在读取状态信息... 完成      
  11. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 11 个软件包未被升级。
  12. 有 1 个软件包没有被完全安装或卸载。
  13. 需要下载 0 B/151 MB 的软件包。
  14. 解压缩后会消耗掉 0 B 的额外空间。
  15. dpkg: error processing kingsoft-office (--configure):
  16. 该软件包正处于非常不稳定的状态 - 您最好
  17. 在配置它之前,先重新安装它。
  18. 在处理时有错误发生:
  19. kingsoft-office
  20. localepurge: Disk space freed in /usr/share/locale: 0 KiB
  21. localepurge: Disk space freed in /usr/share/man: 0 KiB
  22. localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
  23. localepurge: Disk space freed in /usr/share/omf: 0 KiB
  24. Total disk space freed by localepurge: 0 KiB
  25. E: Sub-process /usr/bin/dpkg returned an error code (1)
  26. lhw@lhw:/var/lib/dpkg$
Copy the Code
Reply View the author
cxbii
deepin
2013-09-16 19:53
#3
  1. lhw@lhw:~/桌面$ cd /var/lib/dpkg/
  2. lhw@lhw:/var/lib/dpkg$ sudo mv info info.bak
  3. [sudo] password for lhw:
  4. lhw@lhw:/var/lib/dpkg$ sudo mkdir info
  5. lhw@lhw:/var/lib/dpkg$ sudo dpkg --configure -a
  6. lhw@lhw:/var/lib/dpkg$ sudo apt-get install -f
  7. [sudo] password for lhw:
  8. 正在读取软件包列表... 完成
  9. 正在分析软件包的依赖关系树      
  10. 正在读取状态信息... 完成      
  11. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 11 个软件包未被升级。
  12. 有 1 个软件包没有被完全安装或卸载。
  13. 需要下载 0 B/151 MB 的软件包。
  14. 解压缩后会消耗掉 0 B 的额外空间。
  15. dpkg: error processing kingsoft-office (--configure):
  16. 该软件包正处于非常不稳定的状态 - 您最好
  17. 在配置它之前,先重新安装它。
  18. 在处理时有错误发生:
  19. kingsoft-office
  20. localepurge: Disk space freed in /usr/share/locale: 0 KiB
  21. localepurge: Disk space freed in /usr/share/man: 0 KiB
  22. localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
  23. localepurge: Disk space freed in /usr/share/omf: 0 KiB
  24. Total disk space freed by localepurge: 0 KiB
  25. E: Sub-process /usr/bin/dpkg returned an error code (1)
  26. lhw@lhw:/var/lib/dpkg$
Copy the Code
先卸载wps
  1. sudo apt-get remove  kingsoft-office
Copy the Code
Reply View the author
lhw828
deepin
2013-09-16 20:03
#4
  1. lhw@lhw:/var/lib/dpkg$ sudo apt-get remove kingsoft-office
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 下列软件包将被【卸载】:
  6.   kingsoft-office
  7. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 11 个软件包未被升级。
  8. 有 1 个软件包没有被完全安装或卸载。
  9. 解压缩后将会空出 479 MB 的空间。
  10. 您希望继续执行吗?[Y/n]y
  11. dpkg: error processing kingsoft-office (--remove):
  12. 该软件包现在的状态极为不妥 - 建议您
  13. 在卸载它之前再重新安装一次。
  14. 在处理时有错误发生:
  15. kingsoft-office
  16. E: Sub-process /usr/bin/dpkg returned an error code (1)
  17. lhw@lhw:/var/lib/dpkg$
Copy the Code
Reply View the author
lhw828
deepin
2013-09-16 20:03
#5
感觉是死循环了。。
Reply View the author
electricface
deepin
2013-09-16 20:16
#6
暂且不要试这条命令了,有可能会死机的。等下周我们仓库的更新公告出来。
  1. sudo apt-get --reinstall install kingsoft-office
Copy the Code
Reply View the author