linux下载软件说依赖关系不足,在依赖关系可以满足的情况下也会提示“依赖关系不满足”...

问题

在某些特定情况下,deepin-deb-installer不能正确解决依赖关系。

虽然软件包的依赖很简单(这里只有一个wine),而且可以顺利被apt命令安装,但是deepin-deb-installer会给出“依赖关系不满足”的错误。

07ec7874e2996d0a4f08b175197f1f09.png

复现方法

全新安装 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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值