好吧,我之前发表了关于这个主题的评论,但我仍然没有任何答案,但我想我有更多信息供你们尝试帮助我。所以我的问题是,当我尝试使用下面的代码下载 WingIDE5 时,会发生这种情况。
root@kali:~# dpkg -i ~/Downloads/wingide5_5.0.9-1_amd64.deb
(Reading database ... 323257 files and directories currently installed.)
Preparing to unpack .../wingide5_5.0.9-1_amd64.deb ...
Unpacking wingide5 (5.0.9-1) ...
dpkg: dependency problems prevent configuration of wingide5:
wingide5 depends on libqt4-webkit (>=4.6.2); however:
Package libqt4-webkit is not installed.
dpkg: error processing package wingide5 (--install):
dependency problems - leaving unconfigured
Processing trigger for menu (2.1.47) ...
Errors were encountered while processing:
wingide5
所以上次当我问如何解决这个问题时,有人说使用代码安装 libqt4-webkit
apt-get install libqt4-webkit
我使用了这段代码,然后它给了我这个
root@kali:~# apt-get install libqt4-webkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqt4-webkit is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libqtwebkit4
E: Package 'libqt4-webkit' has no installation candidate
读完本文后,我尝试安装“libqtwebkit4”,结果就是这样。
root@kali:~# apt-get install libqtwebkit4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqtwebkit4 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
wingide5 : depends: libqt4-webkit (>=4.6.2) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
完成此操作后,我执行了“apt-get -f install”,然后删除了 wingide5,所以现在我安装了 libqtwebkit4,我尝试再次安装 wingide5,但它仍然给出了与我尝试安装时相同的结果wingide5 它告诉我需要安装 libqt4-webkit。我不知道如何下载这个,如果您有任何建议,请帮忙,不胜感激。
答案1
我遇到了同样的问题。显然 libqt4-webkit 现在已集成到 libqtwebkit4 中,因此您需要的一切都已经存在。要安装wingide5,您有两种选择:
- dpkg -i --ignore-depends=libqt4-webkit winide5_5.0.9-1_amd64.dep
- 从 Debian 下载 libqt4-webkit 过渡包这里。