我尝试创建我的第一个 PPA 包。添加存储库似乎有效。
$ sudo add-apt-repository ppa:unixinfo/openshell
[sudo] password for developer:
The OpenShell (opsh) command-line interface
More info: https://launchpad.net/~unixinfo/+archive/ubuntu/openshell
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpytohca83/secring.gpg' created
gpg: keyring `/tmp/tmpytohca83/pubring.gpg' created
gpg: requesting key 8B747352 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpytohca83/trustdb.gpg: trustdb created
gpg: key 8B747352: public key "Launchpad PPA for Niklas Larsson" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
但是在apt-get update
我从 repo 获得状态 404 之后,我无法安装该软件包。我能做些什么呢?
E: Failed to fetch http://ppa.launchpad.net/unixinfo/openshell/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/unixinfo/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
虽然构建已成功,但它们仍在等待发布,您可以在https://launchpad.net/~unixinfo/+archive/ubuntu/openshell/+packages的“状态”标题下以及下面的屏幕截图中看到:
我不确定它们需要多长时间才能出版,但绝对不是瞬间的。