升级遇到错误
Tofloor
poster avatar
cnchanghai
deepin
2012-10-05 01:15
Author
changhai@chnote:~$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在更正依赖关系... 完成
将会安装下列额外的软件包:
  deepin-scrot
下列【新】软件包将被安装:
  deepin-scrot
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 2 个软件包没有被完全安装或卸载。
需要下载 0 B/129 kB 的软件包。
解压缩后会消耗掉 668 kB 的额外空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前共安装有 193899 个文件和目录。)
正在解压缩 deepin-scrot (从 .../deepin-scrot_2.0-0deepin_all.deb) ...
dpkg:处理 /var/cache/apt/archives/deepin-scrot_2.0-0deepin_all.deb (--unpack)时出错:
正试图覆盖 /usr/share/deepin-scrot/src/action.py,它同时被包含于软件包 deepin-screenshot 2.0+git201209291439
正在处理用于 gconf2 的触发器...
在处理时有错误发生:
/var/cache/apt/archives/deepin-scrot_2.0-0deepin_all.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply Favorite View the author
All Replies
136******54
deepin
2012-10-05 01:36
#1
先卸载deepin-scrot: sudo apt-get remove deepin-scrot
然后再更新
Reply View the author
cnchanghai
deepin
2012-10-05 02:01
#2
changhai@chnote:~$ sudo apt-get remove deepin-scrot
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
软件包 deepin-scrot 还未安装,因而不会被卸载
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
deepin-desktop : 依赖: deepin-scrot 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
Reply View the author
cxbii
deepin
2012-10-05 02:26
#3
sudo apt-get remove deepin-scrot
这个是卸载命令才对吧?
sudo apt-get install deepin-scrot
后在删除你要的东西
Reply View the author
cnchanghai
deepin
2012-10-05 02:33
#4
安装不上去啊
Reply View the author
cnchanghai
deepin
2012-10-05 02:33
#5
deepin-scrot 是啥玩意儿? 
Reply View the author
cxbii
deepin
2012-10-05 03:21
#6
deepin-scrot 是啥玩意儿? 
深度截图软件
Reply View the author
cnchanghai
deepin
2012-10-05 04:52
#7
关键现在居然有两个截图软件   

screen-shot
scrot  

然后更新后的依赖关系没做好 


最关键的是  我截图不能用
Reply View the author
cxbii
deepin
2012-10-05 04:58
#8
关键现在居然有两个截图软件   

screen-shot
scrot  

然后更新后的依赖关系没做好 


最关键的是  我截图不能用
sudo apt-get install python-wnck
执行上面的命令后,就可以使用了。。这个是更新问题,没做好依赖关系~一直写百科,回复慢,不好意思
Reply View the author
cnchanghai
deepin
2012-10-05 05:44
#9
changhai@chnote:~$ sudo apt-get install python-wnck
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
deepin-desktop : 依赖: deepin-scrot 但是它将不会被安装
python-wnck : 依赖: libwnck22 (>= 1:2.22) 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
Reply View the author
cxbii
deepin
2012-10-05 07:00
#10
changhai@chnote:~$ sudo apt-get install python-wnck
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
deepin-desktop : 依赖: deepin-scrot 但是它将不会被安装
python-wnck : 依赖: libwnck22 (>= 1:2.22) 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
你的源都混乱了啊。。。干什么呢?
http://wiki.linuxdeepin.com/index.php/L ... 6%E6%80%81
恢复默认源试试,也可能是你系统的软件包依赖出问题,这个最头疼了~
Reply View the author
cnchanghai
deepin
2012-10-05 07:33
#11
已经还原到默认源  但是问题依旧
Reply View the author
cnchanghai
deepin
2012-10-05 07:38
#12
我是命令行升级 不是通过软件中心
Reply View the author
cnchanghai
deepin
2012-10-05 07:44
#13
changhai@chnote:/etc/apt$ sudo apt-get install python-wnck
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
python-wnck 已经是最新的版本了。
您可能需要运行“apt-get -f install”来纠正下列错误:
下列软件包有未满足的依赖关系:
deepin-gnome-core : 依赖: deepin-screenshot 但是它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
Reply View the author
136******54
deepin
2012-10-05 15:21
#14
恢复默认源以后,再sudo apt-get -f install还不行吗
Reply View the author
cnchanghai
deepin
2012-10-06 00:56
#15
Reply View the author
173******23
deepin
2012-10-07 10:20
#16
到“深度软件中心”搜索deepin-screenshot卸载可以解决错误,之后便可以安装deepin-scrot,但是好像还是截不了图。
Reply View the author
cxbii
deepin
2012-10-07 18:26
#17
现在可能是深度截图依赖没弄好导致的了。。
楼上的朋友可以看这里~
http://wiki.linuxdeepin.com/index.php?t ... A%E5%9B%BE
Reply View the author