<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Pi%3Aadmin_pupextract</id>
	<title>Pi:admin pupextract - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Pi%3Aadmin_pupextract"/>
	<link rel="alternate" type="text/html" href="https://wiki.specnext.dev/index.php?title=Pi:admin_pupextract&amp;action=history"/>
	<updated>2026-05-07T04:35:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.specnext.dev/index.php?title=Pi:admin_pupextract&amp;diff=41919&amp;oldid=prev</id>
		<title>Xalior at 13:58, 5 May 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.specnext.dev/index.php?title=Pi:admin_pupextract&amp;diff=41919&amp;oldid=prev"/>
		<updated>2026-05-05T13:58:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:58, 5 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisits ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Prerequisits ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* NextPi Version: 1.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;93A&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* NextPi Version: 1.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;91D&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Backend ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Backend ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key specnext_wiki:diff:1.41:old-41913:rev-41919:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Xalior</name></author>
	</entry>
	<entry>
		<id>https://wiki.specnext.dev/index.php?title=Pi:admin_pupextract&amp;diff=41913&amp;oldid=prev</id>
		<title>SirCliveSinclairbot: via /pi-wiki-publish</title>
		<link rel="alternate" type="text/html" href="https://wiki.specnext.dev/index.php?title=Pi:admin_pupextract&amp;diff=41913&amp;oldid=prev"/>
		<updated>2026-05-02T08:50:33Z</updated>

		<summary type="html">&lt;p&gt;via /pi-wiki-publish&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Abstract ==&lt;br /&gt;
&lt;br /&gt;
`nextpi-admin_pupextract` validates a Pi Update Patch (`.PUP`) file&amp;#039;s header and extracts its payload archive ready for a subsequent update step.&lt;br /&gt;
&lt;br /&gt;
== Prerequisits ==&lt;br /&gt;
&lt;br /&gt;
* NextPi Version: 1.93A&lt;br /&gt;
&lt;br /&gt;
== Backend ==&lt;br /&gt;
* Binary: Proprietory&lt;br /&gt;
&lt;br /&gt;
== Options ==&lt;br /&gt;
&amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt; display usage information&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-vl&amp;lt;/code&amp;gt; verbose logging (writes to &amp;lt;code&amp;gt;/tmp/puphelper.log&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt; check the patch&amp;#039;s version requirement against the running system without extracting&lt;br /&gt;
&lt;br /&gt;
A single positional argument names the &amp;lt;code&amp;gt;.PUP&amp;lt;/code&amp;gt; file to inspect.&lt;br /&gt;
&lt;br /&gt;
== Behaviour ==&lt;br /&gt;
&lt;br /&gt;
The first 512 bytes of the file are read as a PUP header. The header is rejected unless its signature reads &amp;lt;code&amp;gt;PUP&amp;lt;/code&amp;gt;, its secondary signature byte is &amp;lt;code&amp;gt;254&amp;lt;/code&amp;gt;, and its version field is &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;. If the header&amp;#039;s &amp;lt;code&amp;gt;strict&amp;lt;/code&amp;gt; flag is set, the header&amp;#039;s &amp;lt;code&amp;gt;piMajor&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;piMinor&amp;lt;/code&amp;gt; must match the running NextPi&amp;#039;s major and minor version; otherwise the patch is refused.&lt;br /&gt;
&lt;br /&gt;
On success, the payload that follows the header is copied to &amp;lt;code&amp;gt;/ram/update.tbz&amp;lt;/code&amp;gt; in 1 MiB chunks, ready for a subsequent step in the update pipeline.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
* File of 512 bytes or fewer — too small to contain a header.&lt;br /&gt;
* Header signature mismatch — not a PUP, or unsupported version.&lt;br /&gt;
* Strict-mode version mismatch — the running NextPi does not satisfy the patch&amp;#039;s version requirement.&lt;/div&gt;</summary>
		<author><name>SirCliveSinclairbot</name></author>
	</entry>
</feed>