ubuntu12.04更新
root@recd:~# sudo apt-get update
忽略 http://archive.canonical.com precise/partner Translation-en
忽略 http://extras.ubuntu.com precise/main Translation-zh_CN
忽略 http://extras.ubuntu.com precise/main Translation-zh
忽略 http://extras.ubuntu.com precise/main Translation-en_US
忽略 http://extras.ubuntu.com precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
下载 316 B,耗时 17秒 (17 B/s)
正在读取软件包列表... 完成
W: GPG 错误:http://ppa.launchpad.net precise Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY C2518248EEA14886
无公钥那便去下载一个咯。。。
W: GPG 错误:http://ppa.launchpad.net precise Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY C2518248EEA14886
root@recd:~# gpg --keyserver wwwkeys.pgp.net --recv EEA14886
gpg: 下载密钥‘EEA14886’,从 hkp 服务器 wwwkeys.pgp.net
gpg: 密钥 EEA14886:“Launchpad VLC”未改变
gpg: 合计被处理的数量:1
gpg: 未改变:1
看清楚 结果是 未改变。。。既然无公钥怎么下载一个却是 未改变呢。。闷!
不管,再更新试试, 结果自然不得而知。。。。。
root@recd:~# gpg --keyserver wwwkeys.pgp.net --recv EEA14886
gpg: 下载密钥‘EEA14886’,从 hkp 服务器 wwwkeys.pgp.net
gpg: 密钥 EEA14886:“Launchpad VLC”未改变
gpg: 合计被处理的数量:1
gpg: 未改变:1
root@recd:~# vi /etc/apt/sources.list
root@recd:~# sudo apt-get update
命中 http://mirrors.yun-idc.com precise Release.gpg
命中 http://mirrors.yun-idc.com precise-updates Release.gpg
命中 http://mirrors.yun-idc.com precise-backports Release.gpg
命中 http://mirrors.yun-idc.com precise-security Release.gpg
命中 http://mirrors.yun-idc.com precise Release
。。。。。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。。。。。
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
下载 316 B,耗时 17秒 (18 B/s)
正在读取软件包列表... 完成
W: GPG 错误:http://ppa.launchpad.net precise Release: 下列签名无效: BADSIG C2518248EEA14886 Launchpad VLC
呃。。。。。,签名无效。 上网查,见有高手提议,换公钥地址,那怎么也得先把这个删掉吧。
root@recd:~# gpg --delete-key --armor EEA14886
gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub 1024R/EEA14886 2010-05-04 Launchpad VLC
要从钥匙环里删除这把密钥吗?(y/N) Y (此处回复Y,无反应,无法,继续操作清楚)
root@recd:~# gpg --delete-key --armor EEA14886
gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: 密钥‘EEA14886’找不到:eof
gpg: EEA14886: delete key failed: eof
root@recd:~# sudo apt-key del EEA14886
gpg: 密钥‘EEA14886’找不到:eof
gpg: EEA14886: delete key failed: eof
root@recd:~# gpg --delete-key --armor EEA14886
gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: 密钥‘EEA14886’找不到:eof
gpg: EEA14886: delete key failed: eof
root@recd:~# sudo apt-key del EEA14886
gpg: 密钥‘EEA14886’找不到:eof
gpg: EEA14886: delete key failed: eof
多次清除,就是不见传说中的 ok
只好死马当活马,换个公钥地址。。
root@recd:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv EEA14886
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.ljoUGlv5cQ --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv EEA14886
gpg: 下载密钥‘EEA14886’,从 hkp 服务器 keyserver.ubuntu.com
gpg: 密钥 EEA14886:公钥“Launchpad VLC”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
啊哈,难道老天不负有心人!,心中窃喜:)
继续更新,呵呵 这次听网络高手说,更新用 apt-fast要好一些,因为它是多线程下载
自然遵命!
sudo apt-fast update
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
忽略 http://ppa.launchpad.net precise/main Translation-zh_CN
忽略 http://ppa.launchpad.net precise/main Translation-zh
忽略 http://ppa.launchpad.net precise/main Translation-en_US
忽略 http://ppa.launchpad.net precise/main Translation-en
下载 316 B,耗时 17秒 (18 B/s)
正在读取软件包列表... 完成
W: GPG 错误:http://ppa.launchpad.net precise Release: 下列签名无效: BADSIG C2518248EEA14886 Launchpad VLC
我靠!~,居然还是无效!
心想,哎。。。。算了,删掉拉到,奇迹出现了。。。。。
root@recd:~# gpg --delete-key --armor EEA14886
gpg (GnuPG) 1.4.11; Copyright (C) 2010 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: 密钥‘EEA14886’找不到:eof
gpg: EEA14886: delete key failed: eof
root@recd:~# sudo apt-key del EEA14886
OK
终于看见传说中的 OK 了
钥匙删掉了,把地址去删了吧。
故事原来刚刚进入高潮。。。
所有能存放源网地方找了个底朝天, 哇哈哈, 没有。。。没有。。。没有!!!
我 就纳闷了。。。。咋办呢? 凉拌!
只好每次带着
W: GPG 错误:http://ppa.launchpad.net precise Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY C2518248EEA14886
或者
W: GPG 错误:http://ppa.launchpad.net precise Release: 下列签名无效: BADSIG C2518248EEA14886 Launchpad VLC
sudo apt-get update..............................................................
看着心慌!!!!!!
求高人相助!!!
此ppa源 公钥问题不知有几人遇见过。。。可有高手解惑???
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 15
- 注册时间: 2014-03-08 11:08
- 系统: ubuntu12.04
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 此ppa源 公钥问题不知有几人遇见过。。。可有高手解惑???
讓 y-ppa-manager 輕鬆幫你 搜尋/增加/管理/移除 ppa
http://www.webupd8.org/2010/11/y-ppa-ma ... emove.html
進一步參閱
https://bugs.launchpad.net/ubuntu/+sour ... ug/1053861
https://launchpad.net/~webupd8team/+arc ... pa-manager
sudo ls -al /etc/apt/sources.list.d
把結果直接複製貼上來
http://www.webupd8.org/2010/11/y-ppa-ma ... emove.html
進一步參閱
https://bugs.launchpad.net/ubuntu/+sour ... ug/1053861
https://launchpad.net/~webupd8team/+arc ... pa-manager
如果一直無法解決ubuntu12.04更新
sudo ls -al /etc/apt/sources.list.d
把結果直接複製貼上來
-
- 帖子: 15
- 注册时间: 2014-03-08 11:08
- 系统: ubuntu12.04
Re: 此ppa源 公钥问题不知有几人遇见过。。。可有高手解惑???
谢谢,我马上去试