次の簡単な手順で glee-dev をインストールしてみました:
sudo apt-get update -y
sudo apt-get install -y glee-dev
しかし、エラーが発生しました...「パッケージは利用できません」。解決方法はありますか?
(soccerpy3) pyboss:sudo apt-get install glee-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package glee-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 'glee-dev' has no installation candidate
(soccerpy3) pyboss:
*ここで、「sudo apt update」の出力が更新され、すべての artful リポジトリが削除されました。
(soccerpy3) pyboss:sudo apt update
[sudo] password for nbortolotti:
Hit:1 http://ubuntu.ethz.ch/ubuntu disco InRelease
Hit:2 http://ubuntu.ethz.ch/ubuntu disco-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu disco InRelease
Hit:4 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:5 http://ubuntu.ethz.ch/ubuntu disco-backports InRelease
Hit:6 http://ubuntu.ethz.ch/ubuntu disco-security InRelease
Hit:7 http://ubuntu.ethz.ch/ubuntu disco-proposed InRelease
Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:9 http://dl.google.com/linux/chrome/deb stable Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
(soccerpy3) pyboss:
*ここに「/etc/apt/sources.list」のすべての情報があります
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.ethz.ch/ubuntu/ disco main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.ethz.ch/ubuntu/ disco-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.ethz.ch/ubuntu/ disco universe
deb http://ubuntu.ethz.ch/ubuntu/ disco-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.ethz.ch/ubuntu/ disco multiverse
deb http://ubuntu.ethz.ch/ubuntu/ disco-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ubuntu.ethz.ch/ubuntu/ disco-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://ubuntu.ethz.ch/ubuntu/ disco-security main restricted
deb http://ubuntu.ethz.ch/ubuntu/ disco-security universe
deb http://ubuntu.ethz.ch/ubuntu/ disco-security multiverse
deb http://ubuntu.ethz.ch/ubuntu/ disco-proposed multiverse main universe restricted #Not for humans during development stage of release bionic
deb http://security.ubuntu.com/ubuntu disco main
「apt show glee-dev」の出力を追加する
(soccerpy3) pyboss:apt show glee-dev
Package: glee-dev
State: not a real package (virtual)
N: Can't select candidate version from package glee-dev as it has no candidate
N: Can't select versions from package 'glee-dev' as it is purely virtual
N: No packages found
(soccerpy3) pyboss:
答え1
glee-devは廃止されましたが、18.10のglee-devパッケージを手動でダウンロードすることで19.04にインストールできます。libglee0d1_5.4.0-2_amd64.debそしてglee-dev_5.4.0-2_amd64.deb次に、ターミナルを開き、cd
libglee0d1_5.4.0-2_amd64.deb と glee-dev_5.4.0-2_amd64.deb を含むディレクトリに移動して、次のコマンドを実行します。
sudo apt install ./libglee0d1_5.4.0-2_amd64.deb
sudo apt install ./glee-dev_5.4.0-2_amd64.deb