deepin-gsettings 无法正常安装
Tofloor
poster avatar
136******41
deepin
2014-01-22 01:22
Author
sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
正在更正依赖关系... 完成
将会安装下列额外的软件包:
  deepin-gsettings
下列【新】软件包将被安装:
  deepin-gsettings
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 544 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0 B/9,584 B 的软件包。
解压缩后会消耗掉 63.5 kB 的额外空间。
您希望继续执行吗?[Y/n]Y
(正在读取数据库 ... 系统当前共安装有 160387 个文件和目录。)
正在解压缩 deepin-gsettings (从 .../deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb) ...
dpkg:处理 /var/cache/apt/archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb (--unpack)时出错:
正试图覆盖 /usr/lib/python2.7/dist-packages/deepin_gsettings.so,它同时被包含于软件包 python-deepin-gsettings 0.1+git20131016204258~a64de3ac19
在处理时有错误发生:
/var/cache/apt/archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.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
cxbii
deepin
2014-01-22 01:58
#1
Reply View the author
136******41
deepin
2014-01-22 22:53
#2
http://wiki.linuxdeepin.com/index.php?title=%E8%BD%AF%E4%BB%B6%E5%8C%85%E7%AE%A1%E7%90%86#.E9.97.AE.E9.A2.98.E4.B8.80

运行: sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
您也许需要运行“apt-get -f install”来修正上面的错误。
下列软件包有未满足的依赖关系:
deepin-ui : 依赖: deepin-gsettings 但是它还没有被安装
E: 不能满足依赖关系。不妨试一下 -f 选项。

这样又回归 deepin-gsettings 的问题啦,无法更新。
Reply View the author
poloshiao
deepin
2014-01-23 17:30
#3
dpkg:处理 /var/cache/apt/archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
Deepin 2013 套件庫 並沒有 deepin-gsettings 套件
你這個 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 從哪裏來 ?

如果你是 自己下載 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 使用
sudo dpkg -i deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
想要強迫安裝
那麼需要增加 參數 解決套件衝突問題
詳細參閱
http://manpages.ubuntu.com/manpages/rar ... pkg.1.html
--force-things, --no-force-things, --refuse-things
downgrade(*)
depends-version
conflicts
overwrite
--ignore-depends=package,...
Reply View the author
cxbii
deepin
2014-01-23 17:41
#4
[quote]dpkg:处理 /var/cache/apt/archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
Deepin 2013 套件庫 並沒有 deepin-gsettings 套件
你這個 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 從哪裏來 ?[/quote]
有的。看这里
http://test.packages.linuxdeepin.com/de ... gsettings/

这样的命名应该是test源独有的。楼主把之前安装的包卸载。试试在test上的
Reply View the author
poloshiao
deepin
2014-01-23 17:49
#5
如果是從 test.packages.linuxdeepin.com/deepin 套件庫 使用 apt-get 安裝
一樣需要增加一些參數
http://manpages.ubuntu.com/manpages/rar ... get.8.html
使用
force
conflict
depend
ignore
等等關鍵字 搜尋 可以使用的參數

但是強制安裝 會不會影響系統穩定 ?
需要列入考量
sudo apt-get -f install
補充說明
當安裝一個套件 其相依套件不滿足時 會停止安裝
上面這個指令 是把所有的 因爲相依套件不滿足而沒有安裝的套件 強制安裝 而不理會套件不滿足的相依套件
但是 你目前發生衝突的是 你想要安裝的套件 deepin-gsettings 本身 發生衝突 跟相依套件無關
所以 sudo apt-get -f install 幫不上忙
Reply View the author
136******41
deepin
2014-01-23 22:35
#6
@cxbii
你说 [color=#BF00BF:3qty5jlj]试试在test上的[/color:3qty5jlj]    但是 [color=#BF00BF:3qty5jlj]test上[/color:3qty5jlj] 是在哪?

dpkg -l | grep "deepin-gsettings"
ii  python-deepin-gsettings              0.1+git20131016204258~a64de3ac19        deepin gsettings python bindings

我搜了一下 "deepin-gsettings" 根本没有这个包(deepin-gsettings )怎么卸载?
是卸载python-deepin-gsettings?
Reply View the author
fredy4212
deepin
2014-01-23 23:32
#7
@cxbii
你说 [color=#BF00BF:2rhir4p7]试试在test上的[/color:2rhir4p7]    但是 [color=#BF00BF:2rhir4p7]test上[/color:2rhir4p7] 是在哪?

dpkg -l | grep "deepin-gsettings"
ii  python-deepin-gsettings              0.1+git20131016204258~a64de3ac19        deepin gsettings python bindings

我搜了一下 "deepin-gsettings" 根本没有这个包(deepin-gsettings )怎么卸载?
是卸载python-deepin-gsettings?
test源
http://test.packages.linuxdeepin.com/
Reply View the author
poloshiao
deepin
2014-01-24 01:13
#8
你说 试试在test上的 但是 test上 是在哪?
聽你這樣問 好像你還沒有把 test 套件庫 加入軟體來源
如果你也不是 直接下載 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
但是有 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 在你的電腦裏
那是奇怪的事情
換個下載伺服器看看
python-deepin-gsettings 0.1+git20131016204258~a64de3ac19
http://test.packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/
archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
test 套件庫的版本 git20130318115600 比 git20131016204258 號碼少 (通常表示比較舊)
有點奇怪
Reply View the author
cxbii
deepin
2014-01-24 01:46
#9
[quote]你说 试试在test上的 但是 test上 是在哪?
聽你這樣問 好像你還沒有把 test 套件庫 加入軟體來源
如果你也不是 直接下載 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
但是有 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 在你的電腦裏
那是奇怪的事情
換個下載伺服器看看
python-deepin-gsettings 0.1+git20131016204258~a64de3ac19
http://test.packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/
archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
test 套件庫的版本 git20130318115600 比 git20131016204258 號碼少 (通常表示比較舊)
有點奇怪[/quote]
这个问题终结啦,lz的是12.06。12.12以上的东西用不了
Reply View the author
fredy4212
deepin
2014-01-25 00:13
#10
[quote][quote]你说 试试在test上的 但是 test上 是在哪?
聽你這樣問 好像你還沒有把 test 套件庫 加入軟體來源
如果你也不是 直接下載 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
但是有 deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb 在你的電腦裏
那是奇怪的事情
換個下載伺服器看看
python-deepin-gsettings 0.1+git20131016204258~a64de3ac19
http://test.packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/
archives/deepin-gsettings_0.1+git20130318115600ubuntu1_amd64.deb
test 套件庫的版本 git20130318115600 比 git20131016204258 號碼少 (通常表示比較舊)
有點奇怪[/quote]
这个问题终结啦,lz的是12.06。12.12以上的东西用不了[/quote]
你怎知道他是12.06?
Reply View the author
cxbii
deepin
2014-01-25 00:16
#11
这个问题终结啦,lz的是12.06。12.12以上的东西用不了
你怎知道他是12.06?[/quote]
QQ聊天了哈
Reply View the author