尝试安装 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”的输出已更新,删除了所有 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 已停产,但你可以在 19.04 中手动下载安装 18.10 中的 glee-dev 软件包libglee0d1_5.4.0-2_amd64.debglee-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  

相关内容