<?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/"
	>

<channel>
	<title>hardware clock | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/hardware-clock/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Fri, 13 Jun 2025 15:05:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>hardware clock | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Ever do a sudo apt update on your Raspberry Pi?</title>
		<link>https://learncgames.com/ever-do-a-sudo-apt-update-on-your-raspberry-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ever-do-a-sudo-apt-update-on-your-raspberry-pi</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 13 Jun 2025 15:04:05 +0000</pubDate>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[hardware clock]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=3435</guid>

					<description><![CDATA[<p>&#160; &#160; &#160; &#160; And you get this error message?  It says E: Release file for http://archive.raspberrypi.com/debian/dists/bookworm/InRelease is not valid yet (invalid for another 10h 37min 50s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet (invalid for another 12h 15min 47s). Updates for this repository will [&#8230;]</p>
The post <a href="https://learncgames.com/ever-do-a-sudo-apt-update-on-your-raspberry-pi/">Ever do a sudo apt update on your Raspberry Pi?</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-3436" src="https://learncgames.com/wp-content/uploads/2025/06/update.png" alt="sudo apt update error message" width="681" height="203" srcset="https://learncgames.com/wp-content/uploads/2025/06/update.png 681w, https://learncgames.com/wp-content/uploads/2025/06/update-300x89.png 300w" sizes="(max-width: 681px) 100vw, 681px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>And you get this error message?  It says</p>
<pre>E: Release file for http://archive.raspberrypi.com/debian/dists/bookworm/InRelease is not valid yet 
(invalid for another 10h 37min 50s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet 
(invalid for another 12h 15min 47s). Updates for this repository will not be applied.</pre>
<p>If you do</p>
<pre>sudo hwclock -s</pre>
<p>It will fix it. Apparently it&#8217;s to do with the hardware clock having drifted and I&#8217;m guessing this causes an error condition. Still, its an easy fix!</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/ever-do-a-sudo-apt-update-on-your-raspberry-pi/">Ever do a sudo apt update on your Raspberry Pi?</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3435</post-id>	</item>
	</channel>
</rss>
