我做了一件愚蠢的事,而且无法挽回。
我尝试通过以下步骤安装 libimobiledevice4:
sudo dpkg -i libimobiledevice4_1.1.6-git20140105_amd64.deb
我按照一个我现在找不到的网站上的说明进行了此操作。
我现在顶部面板上列出了一个错误,告诉我ErrorBrokenCount>0
libimobiledevice4 具有未满足的依赖项:
Depends: libtasn1-3 (>= 2.14-0) but it is not installable synaptic :
Depends: libept1.4.12 but it is not going to be installed
Recommends: rarian-compat but it is not going to be installed E: Unmet dependencies.
如果我尝试apt-get -f install
,我会得到:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
如果我尝试apt-get remove libimobiledevice4
,我会得到:
gvfs-backends : Depends: libimobiledevice4 (>= 1.1.5) but it is not going to be installed
libgpod-common : Depends: libimobiledevice4 (>= 0.9.7) but it is not going to be installed
libgpod4 : Depends: libimobiledevice4 (>= 0.9.7) but it is not going to be installed
upower : Depends: libimobiledevice4 (>= 0.9.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
有人知道我该如何撤消我所做的事情吗:sudo dpkg -i libimobiledevice4_1.1.6-git20140105_amd64.deb
谢谢。
答案1
解决了这个问题:
sudo dpkg --purge --force-depends libimobiledevice4
然后我就跑了
sudo apt-get 安装 -f
并从 repos 安装 libimobiledevice4。
现在一切似乎都正常了。
感谢 bapoumba:http://ubuntuforums.org/showthread.php?t=2234500