嘗試安裝 glee-dev ubuntu 19.04

嘗試安裝 glee-dev ubuntu 19.04

我嘗試使用這個簡單的過程來安裝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」的輸出,刪除了所有巧妙的儲存庫。

(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 到 19.04 安裝 glee-dev 軟體包libglee0d1_5.4.0-2_amd64.deb歡樂合唱團-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  

相關內容