Author Topic: W: GPG error: debian sources.list  (Read 10913 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
W: GPG error: debian sources.list
« on: มกราคม 23, 2011, 12:54:39 AM »
สมมติเวลา สั่ง

#apt-get update

แล้วเกิด error อย่างข้างล่างนี้ น่ะครับ

Fetched 58.9kB in 15s (3780B/s)
Reading package lists... Done
W: GPG error: http://volatile.debian.orgetch/volatile Release: The following signatures couldn't
be verified because the public key is not available: NO_PUBKEY DFD993306D849617
W: Duplicate sources.list entry http://volatile.debian.orgetch/volatile/main Packages
(/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_main_binary-amd64_Packag
es)
W: Duplicate sources.list entry http://volatile.debian.orgetch/volatile/contrib Packages
(/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_contrib_binary-amd64_Pac
kages)
W: Duplicate sources.list entry http://volatile.debian.orgetch/volatile/non-free Packages
(/var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_etch_volatile_non-free_binary-amd64_Pa
ckages)
W: You may want to run apt-get update to correct these problems

เหมือนกับว่า เครื่อง server เราไม่มี key แก้ไขโดย

#gpg --keyserver subkeys.pgp.net --recv-keys DFD993306D849617

#gpg --armor --export DFD993306D849617 | apt-key add -

#apt-get update

ก็หายแล้วครับ

แล้วถ้าจะอัฟเดท package ใหม่ๆ ก็ ex.clamav

#apt-get install clamav clamav-daemon clamav-base clamav-freshclam

เดี๋ยวมันจะวิ่งอัฟเดท version ให้ครับผม

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
Re: W: GPG error: debian sources.list
« Reply #1 on: มกราคม 23, 2011, 10:16:30 PM »
W: There is no public key available for the following key IDs:
4D270D06F42584E6
E: Dynamic MMap ran out of room
E: Error occurred while processing wesnoth-all (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/ftp.coe.psu.ac.th_debian_dists_stable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

แก้โดย :

# gpg --keyserver pgpkeys.mit.edu --recv-key 4D270D06F42584E6

# gpg -a --export 4D270D06F42584E6 | sudo apt-key add -

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
Re: W: GPG error: debian sources.list
« Reply #2 on: มกราคม 14, 2014, 03:34:25 PM »
##Thailand Mirror for debian 6 squeeze

# /etc/apt/sources.list :
deb http://ftp.th.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.th.debian.org/debian/ squeeze main contrib non-free