赞
踩
问题
在某些特定情况下,deepin-deb-installer不能正确解决依赖关系。
虽然软件包的依赖很简单(这里只有一个wine),而且可以顺利被apt命令安装,但是deepin-deb-installer会给出“依赖关系不满足”的错误。
复现方法
全新安装 Deepin v20。
从应用商店安装QQ。
用deepin-deb-installer安装这个软件包: build.deb.zip
(注意这个包只是为了演示依赖问题而制作的,软件本身并不能正常运行。想运行可以去这里下载完整版)
deepin-deb-installer提示“依赖关系不满足:wine”
该软件包的依赖只有一个wine。如果系统内没有安装wine却安装了deepin-wine*等包,就会发生这种问题。全新安装Deepin v20后从应用商店安装QQ是触发这个问题最简单的方法。
如果你已经安装了wine,但是依然还想复现该问题,可能需要先卸载所有与wine相关的包然后再试。特别是要卸载wine32:i386这个包。
日志
删除了行内多余的空白
hu60@hu60-PC:~/Downloads$ deepin-deb-installer build.deb
load translate "/usr/share/libdtk-5.1.2/DWidget/translations/dtkwidget_zh_CN"
load translate "/usr/share/deepin-deb-installer/translations/deepin-deb-installer_zh_CN"
2020-08-15, 21:20:09.728 [Debug] [0] "deepin-deb-installer" started, version = "5.3.2.1"
2020-08-15, 21:20:09.728 [Debug] [0] ("build.deb")
No appenders assotiated with category qt.qpa.xcb
[Warning] <> QXcbConnection: XCB error: 5 (BadAtom), sequence: 475, resource id: 0, major code: 20 (GetProperty), minor code: 0
2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText)
2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText)
2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText)
2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText)
2020-08-15, 21:20:10.313 [Debug] [0] depends:
2020-08-15, 21:20:10.313 [Debug] [0] Check for package "net.winegame.client"
2020-08-15, 21:20:10.313 [Debug] [0] package with arch "wine" "amd64" ""
2020-08-15, 21:20:10.314 [Debug] [0] "依赖" "wine" "amd64" "" ""
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for package "wine" "amd64"
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for local installed package is ok.
2020-08-15, 21:20:10.314 [Debug] [0] check finished, conflict is satisfy: "wine" true
2020-08-15, 21:20:10.314 [Debug] [0] Check in
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。