Print

Print


You only need to successfully run the apt-key command once, which you
did yesterday. Regardless, the reason it's giving you that error is
the same reason as yesterday, it appears to be blocked by your
firewall. That's why I suggested to use hkp://pgp.mit.edu:80 which
appears to have worked for you.

You can try removing everything in the lists directory

sudo rm -fR /var/lib/apt/lists/*

and then

sudo apt-get update

If you still get errors, consider perhaps changing your sources to a
different mirror.


On Sat, Feb 8, 2014 at 2:58 PM, wyey0755 <[log in to unmask]> wrote:
> Hi,
> I think there are some mistakes at the begining. when I input the following
> command:
> sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
>
> It shows:
>
> Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
> --secret-keyring /tmp/tmp.ZfDvvCVmnG --trustdb-name /etc/apt//trustdb.gpg
> --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg
> --recv-keys --keyserver pgp.mit.edu 2649A5A9
> gpg: requesting key 2649A5A9 from hkp server pgp.mit.edu
> ?: [fd 4]: read error: Connection reset by peer
> gpgkeys: HTTP fetch error 7: couldn't connect: eof
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
>
>
> And  I tried  removing  the files that are giving you the Hash Sum mismatch;
> there  still many other mismatch.
>
> Thanks
>
> zhiyong
>
>
> At 2014-02-08 20:42:32,"Niels Bergsland" <[log in to unmask]> wrote:
>>You can try removing the files that are giving you the Hash Sum mismatch
>>
>>For example:
>>
>>sudo rm
>> /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages
>>/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_raring_main_source_Sources
>>/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_raring-updates_main_binary-i386_Packages
>>
>>then
>>
>>sudo apt-get update
>
>
>



-- 
Niels Bergsland
Integration Director
Buffalo Neuroimaging Analysis Center
100 High St. Buffalo NY 14203
[log in to unmask]