apt-get update error: GPG error:The following signatures were invalid: NODATA 1 NODATA 2
jzhome1@jzhome:~$ sudo grep -R proxy /etc/apt/*
jzhome1@jzhome:~$ grep proxy /etc/environment
jzhome1@jzhome:~$ echo $http_proxy
jzhome1@jzhome:~$ echo $ftp_proxy
jzhome1@jzhome:~$ grep proxy /etc/bash.bashrc
jzhome1@jzhome:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
jzhome1@jzhome:~$ sudo fuser -vvv /var/lib/dpkg/lock
jzhome1@jzhome:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
jzhome1@jzhome:~$ uname -a
Linux jzhome 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
jzhome1@jzhome:~$ sudo rm /var/lib/
[sudo] password for jzhome1:
jzhome1@jzhome:~$ sudo rm /var/lib/dpkg/lock
jzhome1@jzhome:~$ sudo cp -arf /var/lib/dpkg /var/lib/
jzhome1@jzhome:~$ sudo mv /var/lib/
jzhome1@jzhome:~$ sudo cp /var/lib/
jzhome1@jzhome:~$ sudo mv /var/lib/
jzhome1@jzhome:~$ sudo cp /var/lib/
jzhome1@jzhome:~$ sudo rm -rf /var/lib/
jzhome1@jzhome:~$ sudo rm -rf /var/lib/apt/lists
jzhome1@jzhome:~$ sudo rm /var/cache/
rm: cannot remove `/var/cache/
jzhome1@jzhome:~$ sudo mkdir /var/lib/apt/lists
jzhome1@jzhome:~$ sudo mkdir /var/lib/
jzhome1@jzhome:~$ LANG=C;sudo apt-get clean
jzhome1@jzhome:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jzhome1@jzhome:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jzhome1@jzhome:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Ign http://
E: GPG error: http://
jzhome1@jzhome:~$ sudo dpkg --configure -a
jzhome1@jzhome:~$ sudo dpkg --clear-avail
jzhome1@jzhome:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jzhome1@jzhome:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jzhome1@jzhome:~$ LANG=C;sudo apt-get update -o APT::Cache-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Ign http://
E: GPG error: http://
jzhome1@jzhome:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 #
2
3 # deb cdrom:[
4 # deb cdrom:[
5 # deb cdrom:[
6
7 #deb cdrom:[
8 #deb cdrom:[
9 #deb cdrom:[
10
11 # See http://
12 # newer versions of the distribution.
13 deb http://
14 deb-src http://
15
16 ## Major bug fix updates produced after the final release of the
17 ## distribution.
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team. Also, please note that software in universe WILL NOT receive any
23 ## review or updates from the Ubuntu security team.
24 deb http://
25 deb-src http://
26 deb http://
27 deb-src http://
28
29 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
30 ## team, and may not be under a free licence. Please satisfy yourself as to
31 ## your rights to use the software. Also, please note that software in
32 ## multiverse WILL NOT receive any review or updates from the Ubuntu
33 ## security team.
34 deb http://
35 deb-src http://
36 deb http://
37 deb-src http://
38
39 ## N.B. software from this repository may not have been tested as
40 ## extensively as that contained in the main release, although it includes
41 ## newer versions of some applications which may provide useful features.
42 ## Also, please note that software in backports WILL NOT receive any review
43 ## or updates from the Ubuntu security team.
44 deb http://
45 deb-src http://
46
47 deb http://
48 deb-src http://
49 deb http://
50 deb-src http://
51 deb http://
52 deb-src http://
53
54 ## Uncomment the following two lines to add software from Canonical's
55 ## 'partner' repository.
56 ## This software is not part of Ubuntu, but is offered by Canonical and the
57 ## respective vendors as a service to Ubuntu users.
58 # deb http://
59 # deb-src http://
60
61 ## Uncomment the following two lines to add software from Ubuntu's
62 ## 'extras' repository.
63 ## This software is not part of Ubuntu, but is offered by third-party
64 ## developers who want to ship their latest software.
65 # deb http://
66 # deb-src http://
jzhome1@jzhome:~$ ping cn.archive.
PING mirrors.sohu.com (221.236.12.140) 56(84) bytes of data.
64 bytes from 221.236.12.140: icmp_req=1 ttl=58 time=1.97 ms
64 bytes from 221.236.12.140: icmp_req=2 ttl=58 time=1.99 ms
64 bytes from 221.236.12.140: icmp_req=3 ttl=58 time=1.63 ms
^C
--- mirrors.sohu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.631/1.
jzhome1@jzhome:~$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- tangyong
- Solved:
- Last query:
- Last reply: