
在過去的一周裡,對於我嘗試從apt
.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package **package_name** 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
每個包都會出現這個問題。
只是提一下。我已經嘗試了這裡提到的所有解決方案 “但是被另一個包引用了。” - 找到那個包裹。
但沒有任何作用。我真的被這個包裹的事情困住了。我的系統。
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libwxgtk3.0-dev 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
E: Package 'libwxgtk3.0-dev' has no installation candidate
答案1
該軟體包libwxgtk3.0-dev
不適用於 Ubuntu 20.04。
我猜你的專案的文檔是為 Ubuntu 18.04 編寫的,為此該套件名稱存在。
但是,您可以使用替換包libwxgtk3.0-gtk3-dev
。
注意:它是universe
存儲庫,您可能需要啟用它:
sudo apt-add-repository universe
對於此類問題,https://packages.ubuntu.com/是一個開始包研究的好網站。