<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Little Brain &#187; apt-get</title>
	<atom:link href="http://justalittlebrain.wordpress.com/tag/apt-get/feed/" rel="self" type="application/rss+xml" />
	<link>http://justalittlebrain.wordpress.com</link>
	<description>just a little brain</description>
	<lastBuildDate>Fri, 27 Jan 2012 09:05:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='justalittlebrain.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Little Brain &#187; apt-get</title>
		<link>http://justalittlebrain.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://justalittlebrain.wordpress.com/osd.xml" title="Little Brain" />
	<atom:link rel='hub' href='http://justalittlebrain.wordpress.com/?pushpress=hub'/>
		<item>
		<title>An Error Occurred During The Signature Verification</title>
		<link>http://justalittlebrain.wordpress.com/2008/11/25/an-error-occurred-during-the-signature-verification/</link>
		<comments>http://justalittlebrain.wordpress.com/2008/11/25/an-error-occurred-during-the-signature-verification/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 02:55:56 +0000</pubDate>
		<dc:creator>kriwil</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[apt-key]]></category>
		<category><![CDATA[gpg]]></category>

		<guid isPermaLink="false">http://littlebrain.org/?p=211</guid>
		<description><![CDATA[If you&#8217;re using ubuntu as your choice of linux distribution, and you like to add some unofficial repositories, you probably find some warnings when you run apt-get update command. The warnings are probably like this W: A error occurred during the signature verification. The repository is not updated and the previous index files will be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justalittlebrain.wordpress.com&amp;blog=31033593&amp;post=211&amp;subd=justalittlebrain&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using ubuntu as your choice of linux distribution, and you like to add some unofficial repositories, you probably find some warnings when you run <code>apt-get update</code> command.</p>
<p>The warnings are probably like this</p>
<pre>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991

W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
</pre>
<p>That&#8217;s the warnings I got when I added google debian repository. There won&#8217;t be anything bad about it, since we could still install the packages from that repositories. But, I we could get rid the warnings, that&#8217;s would be a lot better. We could use gpg command to get the key.</p>
<p><b>Short Version</b></p>
<p>For you who don&#8217;t want to read pointless explanations below, here&#8217;s the short version</p>
<pre>
gpg --keyserver hkp://subkeys.pgp.net --recv-keys A040830F7FAC5991
gpg --export --armor 7FAC5991 | sudo apt-key add -
</pre>
<p><b>Long Version</b></p>
<p>Here&#8217;s the explained step. First we have to get the key from the key server.</p>
<pre>
gpg --keyserver hkp://subkeys.pgp.net --recv-keys A040830F7FAC5991
</pre>
<p>The <code>A040830F7FAC5991</code> is from the warning shown before. You might want to change it if you have different repository. For the google repository, you should get this as the output</p>
<pre>
gpg: requesting key 7FAC5991 from hkp server subkeys.pgp.net
gpg: key 7FAC5991: public key "Google, Inc. Linux Package Signing Key " imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Total number processed: 1
gpg:               imported: 1
</pre>
<p>After that, type</p>
<pre>
gpg --export --armor 7FAC5991 | sudo apt-key add -
</pre>
<p>Where the <code>7FAC5991</code> is from the output shown before.</p>
<p>After that you&#8217;ll get <code>OK</code> as the output. You may run <code>apt-get update</code> again.</p>
<p>Oh, one more thing, I only tested this method in opera and google repositories <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justalittlebrain.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justalittlebrain.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justalittlebrain.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justalittlebrain.wordpress.com&amp;blog=31033593&amp;post=211&amp;subd=justalittlebrain&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justalittlebrain.wordpress.com/2008/11/25/an-error-occurred-during-the-signature-verification/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/17b185ab2d1b7dcad3f488040f76385c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kriwil</media:title>
		</media:content>
	</item>
	</channel>
</rss>
