.png)
過去 1 週間、 からインストールしようとする多くのパッケージでこの問題に直面していました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
このような問題については、Ubuntu 16.04 の最新版パッケージの調査を始めるのに適したウェブサイトです。