ubuntu忽略安装一些依赖 下载了deep-wine的非官方版,安装了微信,结果每次apt install都会报这个依赖错误,建议我删除这个微信: ``` The following packages have unmet dependencies: deepin.com.wechat:i386 : Depends: deepin-wine:i386 (>= 2.18-19) libinput-tools : Depends: python3-evdev but it is not going to be installed Depends: python3-pyudev but it is not going to be installed ``` 谁要你管。我就喜欢用这个版本。 解决方案: ``` sudo dpkg --ignore-depends=deepin-wine:i386 -i deepin.com.wechat_2.6.8.65deepin0_i386.deb ``` 这时还没完: ``` sudo vi /var/lib/dpkg/status # 搜索wechat # 把依赖强制从2.18-19改为2.18-12 ``` 大功告成,没有再建议我删这个wechat了: ``` sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ``` 来自 大脸猪 写于 2019-11-20 11:11 -- 更新于2020-10-19 13:06 -- 0 条评论