我跑了
sudo add-apt-repository ppa:gezakovacs/ppa
得到以下结果,但最后 4 行出现错误:-
gpg: keyring `/tmp/tmp8k7uho4o/secring.gpg' created
gpg: keyring `/tmp/tmp8k7uho4o/pubring.gpg' created
gpg: requesting key FC91AE7E from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp8k7uho4o/trustdb.gpg: trustdb created
gpg: key FC91AE7E: public key "Launchpad PPA for Geza Kovacs" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: keyblock resource `/etc/apt/trusted.gpg.d/gezakovacs_ubuntu_ppa.gpg': file open error
gpg: no writable keyring found: eof
gpg: error reading `/tmp/tmp8k7uho4o/pubring.gpg': general error
gpg: import from `/tmp/tmp8k7uho4o/pubring.gpg' failed: general error
非常感谢你的帮助
根据要求添加屏幕输出
$ sudo apt update
[sudo] password for kerry:
Get:1 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease [17.5 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Err:1 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E
Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E
E: The repository 'http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
大卫·福斯特:-
$ apt-key list
/etc/apt/trusted.gpg
--------------------
pub 1024D/7FAC5991 2007-03-08
uid Google, Inc. Linux Package Signing Key <[email protected]>
sub 2048g/C07CB649 2007-03-08
pub 4096R/D38B4796 2016-04-12
uid Google Inc. (Linux Packages Signing Authority) <[email protected]>
sub 4096R/640DB551 2016-04-12 [expires: 2019-04-12]
和
ls -l /etc/apt/trusted.gpg*
-rw-r--r-- 1 root root 4171 Jan 15 07:13 /etc/apt/trusted.gpg
-rw-r--r-- 1 root root 1203 Jan 15 07:13 /etc/apt/trusted.gpg~
和
awk '$2=="/"' /proc/mounts
/dev/mapper/ubuntu--vg-root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
答案1
答案2
韓國可以为你做
- 制作一个简单的 Ubuntu 安装驱动器(仅限 Live)
- 使用 Ubuntu 制作持久实时驱动器
- 擦除驱动器(用零覆盖第一个兆字节或整个驱动器)
- 将驱动器恢复为标准大容量存储设备
请参阅以下链接
https://help.ubuntu.com/community/mkusb
如果你想要最新版本,请从不稳定存储库安装