Debian update source times wrong

Source: Internet
Author: User
Tags gpg
Hit http://mirrors.sohu.com Stable/main TRANSLATION-ZH_CN
Hit http://mirrors.sohu.com Stable/main Translation-zh
Get: 1 http://mirrors.sohu.com stable/main translation-en [4,583 KB]
Get: 2 http://mirrors.sohu.com stable/non-free translation-en [72.3 KB]
Download 2 B, time consuming 1 seconds (1 b/s)
W: The key for the following ID does not have a public key available:
7638d0442b90d010
No_pubkey cbf8d6fd518e17e1
W: Unable to download bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_debian_dists_stable_main_i18n_translation-en Hash checksum mismatch
W: Unable to download Bzip2:/var/lib/apt/lists/partial/mirrors.sohu.com_debian_dists_stable_non-free_i18n_translation-en Hash Checksum mismatch

E:some index files failed to download. They have been ignored, or old ones used.


Solution:

root@i2test:~# gpg--keyserver pgpkeys.mit.edu--recv-keys c857c906
GPG: Download key ' c857c906 ' from HKP server pgpkeys.mit.edu
GPG:/root/.gnupg/trustdb.gpg: Build a Trust database
GPG: Key c857c906: Public key "Debian security Archive Automatic signing Key (8/jessie) <ftpmaster@debian.org>" imported
GPG: No absolute trust key was found
GPG: Total Processed Quantity: 1
GPG: Imported: 1 (rsa:1)
root@i2test:~# gpg--export--armor c857c906 | sudo apt-key add-
Ok
root@i2test:~#

Http://www.cnblogs.com/aobosir/p/5928627.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.