我问这个问题所以大部分细节都在那里。但总结一下:我已经将 PPA(也许从技术上讲它不是 PPA,但它的作用是这样的)添加到我的 sources.list.d 目录中并运行。sudo apt-get update
但出于某种原因,我仍然无法让我的系统找到该包。非常感谢任何帮助。
$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386
$ sudo apt-get update
[sudo] password for ramy:
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:5 https://apt.releases.hashicorp.com focal InRelease
Hit:6 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease
Hit:7 https://apt.stellar.org focal InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [274 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.4 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [323 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58.3 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:14 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]
Get:15 https://dl.cloudsmith.io/public/balena/etcher/deb/ubuntu focal InRelease [5,054 B]
Fetched 1,020 kB in 1s (772 kB/s)
Reading package lists... Done
要安装软件包,我遵循本指南。它指示我做两件事。第一 下载并安装公共签名密钥和
wget -qO - https://apt.stellar.org/SDF.asc | sudo apt-key add -
并[将存储库定义保存到 /etc/apt/sources.list.d/SDF.list]4使用回声“debhttps://apt.stellar.org$(lsb_release -cs) 稳定” | sudo tee -a /etc/apt/sources.list.d/SDF.list
echo "deb https://apt.stellar.org $(lsb_release -cs) stable" | sudo tee -a /etc/apt/sources.list.d/SDF.list
上面两个命令显示以下输出:
:~$ wget -qO - https://apt.stellar.org/SDF.asc | sudo apt-key add -
OK
:~$ echo "deb https://apt.stellar.org $(lsb_release -cs) stable" | sudo tee -a /etc/apt/sources.list.d/SDF.list
deb https://apt.stellar.org focal stable