我無法在 kali_linux 虛擬機器上下載wingide5

我無法在 kali_linux 虛擬機器上下載wingide5

好吧,我之前發表了關於這個主題的評論,但我仍然沒有任何答案,但我想我有更多資訊供你們嘗試幫助我。所以我的問題是,當我嘗試使用下面的程式碼下載 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,您有兩個選項:

  1. dpkg -i --ignore-depends=libqt4-webkit winide5_5.0.9-1_amd64.dep
  2. 從 Debian 下載 libqt4-webkit 過渡包這裡

相關內容