<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Repo metadata updated fails from offline mirror]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am facing an issue with loading repo metadata in an "offline" network setup. We have several pfSense firewalls in a dedicated MPLS network <strong>not</strong> connected to the outside world. We host an offline repo mirror in that network to be able to update the firewalls and it used to work perfectly fine (e.g. 2.4.4 -&gt; 2.4.5). The mirror is setup using an IIS web server (sorry but that's what we have in that network anyway).</p>
<p dir="auto">Updating one of the firewalls from 2.4.5_1 to 2.5.1 worked just fine as well. Though I figured the newly updated firewall has issues to pull from the repo now after the update. I need to figure out what's wrong to be able to update to newer versions in the future.</p>
<p dir="auto">Now here are the details. After the update to 2.5.1 trying to check for new update the command just hangs:</p>
<pre><code>[2.5.1-RELEASE][admin@...]/root: pfSense-upgrade -d -c
&gt;&gt;&gt; Updating repositories metadata...
Updating pfSense-core repository catalogue...
Fetching meta.conf: . done
</code></pre>
<p dir="auto">Trying to update the repo metadata with debug output I get this:</p>
<pre><code>[2.5.1-RELEASE][admin@...]/root: pkg-static -d update -f
DBG(1)[71405]&gt; pkg initialized
Updating pfSense-core repository catalogue...
DBG(1)[71405]&gt; PkgRepo: verifying update for pfSense-core
DBG(1)[71405]&gt; PkgRepo: need forced update of pfSense-core
DBG(1)[71405]&gt; Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[71405]&gt; Request to fetch pkg+http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/meta.conf
DBG(1)[71405]&gt; opening libfetch fetcher
DBG(1)[71405]&gt; Fetch &gt; libfetch: connecting
DBG(1)[71405]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/meta.conf with opts "i"
DBG(1)[71405]&gt; Fetch: fetcher chosen: http
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
DBG(1)[71405]&gt; Request to fetch pkg+http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/packagesite.txz
DBG(1)[71405]&gt; opening libfetch fetcher
DBG(1)[71405]&gt; Fetch &gt; libfetch: connecting
DBG(1)[71405]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/packagesite.txz with opts "i"
</code></pre>
<p dir="auto">So it pulls the file <code>meta.conf</code> just fine but then sits there for ages when loading <code>packagesite.txz</code>. Looking at the packets in Wireshark I see both the second HTTP GET as well as HTTP OK answer from the webserver. After that pfSense sends a TCP Dup ACK followed by TCP Retransmissions from the webserver side.</p>
<p dir="auto">To make sure it's not the IIS being at fault here I pulled up a simple small webserver service but ran into the exact same thing. As well I tried the same repo metadata update from one of our other firewalls that are still on 2.4.5:</p>
<pre><code>[2.4.5-RELEASE][admin@...]/root: pkg-static -d update -f
DBG(1)[25439]&gt; pkg initialized
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Updating pfSense-core repository catalogue...
DBG(1)[25439]&gt; PkgRepo: verifying update for pfSense-core
DBG(1)[25439]&gt; PkgRepo: need forced update of pfSense-core
DBG(1)[25439]&gt; Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[25439]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/meta.conf with opts "i"
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
DBG(1)[25439]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/packagesite.txz with opts "i"
Fetching packagesite.txz: 100%    2 KiB   1.8kB/s    00:01
DBG(1)[25439]&gt; PkgRepo: extracting packagesite.yaml of repo pfSense-core
DBG(1)[25688]&gt; PkgRepo: extracting signature of repo in a sandbox
DBG(1)[25439]&gt; Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense-core.sqlite'
Processing entries: 100%
pfSense-core repository update completed. 7 packages processed.
Updating pfSense repository catalogue...
DBG(1)[25439]&gt; PkgRepo: verifying update for pfSense
DBG(1)[25439]&gt; PkgRepo: need forced update of pfSense
DBG(1)[25439]&gt; Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
DBG(1)[25439]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-pfSense_v2_5_1/meta.conf with opts "i"
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
DBG(1)[25439]&gt; Fetch: fetching from: http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-pfSense_v2_5_1/packagesite.txz with opts "i"
Fetching packagesite.txz: 100%  141 KiB 144.0kB/s    00:01
DBG(1)[25439]&gt; PkgRepo: extracting packagesite.yaml of repo pfSense
DBG(1)[26092]&gt; PkgRepo: extracting signature of repo in a sandbox
DBG(1)[25439]&gt; Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense.sqlite'
...
</code></pre>
<p dir="auto">When updateing from 2.4.5_1 to 2.5.1 <code>pkg</code> was update from version 1.15.6 to 1.16.1. Anyone aware of changes between those versions that could explain the behaviour described above?</p>
<p dir="auto">Any comment on how to debug this any further or hints on what could be wrong are highly apreciated. Thanks in advance!</p>
<p dir="auto">SR</p>
]]></description><link>https://forum.netgate.com/topic/164655/repo-metadata-updated-fails-from-offline-mirror</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 22:13:03 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/164655.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Jun 2021 13:51:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Repo metadata updated fails from offline mirror on Fri, 09 Jul 2021 12:06:44 GMT]]></title><description><![CDATA[<p dir="auto">Unfortunately I am back on this issue when updating another firewall in that offline network.</p>
<p dir="auto">Rebooting the firewall after the update did <strong>not</strong> help to fix the issue this time. Trying to debug this further I tried to call <code>fetch</code> manually:</p>
<pre><code>[2.5.1-RELEASE][admin@...]/root: fetch -v http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/packagesite.txz
resolving server address: 10.x.x.x:80
requesting http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/packagesite.txz
</code></pre>
<p dir="auto">It just hangs, same as when I call <code>pkg-static update</code> manually.</p>
<p dir="auto">But if I do the same fetch on meta.conf it loads perfectly fine:</p>
<pre><code>[2.5.1-RELEASE][admin@...]/root: fetch -v http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/meta.conf
resolving server address: 10.x.x.x:80
requesting http://10.x.x.x/pfsense/pfSense_v2_5_1_amd64-core/meta.conf
remote size / mtime: 163 / 1618334907
meta.conf                                              163  B  449 kBps    00s
</code></pre>
]]></description><link>https://forum.netgate.com/post/991426</link><guid isPermaLink="true">https://forum.netgate.com/post/991426</guid><dc:creator><![CDATA[globejack]]></dc:creator><pubDate>Fri, 09 Jul 2021 12:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to Repo metadata updated fails from offline mirror on Thu, 01 Jul 2021 19:32:20 GMT]]></title><description><![CDATA[<p dir="auto">This issue is solved. Can't believe it but a reboot fixed it.</p>
<p dir="auto">For several days we saw it behave exactly as described right after the update to 2.5.1 (including the subsequent reboot). Now after a manual reboot of the system we are back to normal. Repo information can be pulled and it's all happy now.</p>
<p dir="auto">Great on the one hand but pretty awkward on the other I find. Would not expect that from a FreeBSD based system.</p>
]]></description><link>https://forum.netgate.com/post/990313</link><guid isPermaLink="true">https://forum.netgate.com/post/990313</guid><dc:creator><![CDATA[globejack]]></dc:creator><pubDate>Thu, 01 Jul 2021 19:32:20 GMT</pubDate></item></channel></rss>