ubuntu忽略安装一些依赖
- 2019 年 11 月 22 日
- 筆記
下载了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.