Thicket data repository for the EEG
at main 4.2 kB view raw
1{ 2 "id": "https://www.tunbury.org/2025/03/26/freebsd-14.2", 3 "title": "FreeBSD 14.2 Upgrade", 4 "link": "https://www.tunbury.org/2025/03/26/freebsd-14.2/", 5 "updated": "2025-03-26T00:00:00", 6 "published": "2025-03-26T00:00:00", 7 "summary": "CI workers spring and summer run FreeBSD and need to be updated.", 8 "content": "<p>CI workers <code>spring</code> and <code>summer</code> run FreeBSD and need to be updated.</p>\n\n<p>Check the current version of FreeBSD which we have with <code>uname -r</code>.</p>\n\n<div><div><pre><code>FreeBSD summer 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64\n</code></pre></div></div>\n\n<p>Run <code>freebsd-update fetch</code> to download the latest versions of the system components, particularly the <code>freebsd-update</code> utility. It even reported that it really is time to upgrade!</p>\n\n<div><div><pre><code><span># freebsd-update fetch</span>\n...\nWARNING: FreeBSD 14.1-RELEASE-p5 is approaching its End-of-Life date.\nIt is strongly recommended that you upgrade to a newer\nrelease within the next 5 days.\n</code></pre></div></div>\n\n<p>Install these updates.</p>\n\n<div><div><pre><code>freebsd-update <span>install</span>\n</code></pre></div></div>\n\n<p>Now use <code>freebsd-update</code> to fetch the 14.2-RELEASE and install it.</p>\n\n<div><div><pre><code><span># freebsd-update upgrade -r 14.2-RELEASE</span>\n...\n<span># freebsd-update install</span>\nsrc component not installed, skipped\nInstalling updates...\nKernel updates have been installed. Please reboot and run\n<span>'freebsd-update [options] install'</span> again to finish installing updates.\n</code></pre></div></div>\n\n<p>Reboot the system using <code>reboot</code> and then finish installing updates.</p>\n\n<div><div><pre><code><span># freebsd-update install</span>\nsrc component not installed, skipped\nInstalling updates...\nRestarting sshd after upgrade\nPerforming sanity check on sshd configuration.\nStopping sshd.\nWaiting <span>for </span>PIDS: 707.\nPerforming sanity check on sshd configuration.\nStarting sshd.\nScanning /usr/share/certs/untrusted <span>for </span>certificates...\nScanning /usr/share/certs/trusted <span>for </span>certificates...\nScanning /usr/local/share/certs <span>for </span>certificates...\n <span>done</span><span>.</span>\n</code></pre></div></div>\n\n<p>Now use <code>pkg</code> to upgrade any applications.</p>\n\n<div><div><pre><code><span># pkg upgrade</span>\nUpdating FreeBSD repository catalogue...\nFetching data.pkg: 100% 7 MiB 7.5MB/s 00:01 \nProcessing entries: 100%\nFreeBSD repository update completed. 35885 packages processed.\nAll repositories are up to date.\nChecking <span>for </span>upgrades <span>(</span>28 candidates<span>)</span>: 100%\nProcessing candidates <span>(</span>28 candidates<span>)</span>: 100%\nThe following 28 package<span>(</span>s<span>)</span> will be affected <span>(</span>of 0 checked<span>)</span>:\n\nInstalled packages to be UPGRADED:\n\tcurl: 8.10.1 -&gt; 8.11.1_1\n...\n\txxd: 9.1.0764 -&gt; 9.1.1199\n\nNumber of packages to be upgraded: 28\n\nThe process will require 3 MiB more space.\n77 MiB to be downloaded.\n\nProceed with this action? <span>[</span>y/N]: y\n</code></pre></div></div>\n\n<p>Finally, reboot the system and check <code>uname -a</code>.</p>\n\n<div><div><pre><code><span># uname -a</span>\nFreeBSD spring 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64\n</code></pre></div></div>\n\n<p>To update the the FreeBSD base images used by the CI services, I applied <a href=\"https://github.com/ocurrent/freebsd-infra/pull/13\">PR#13</a> to <a href=\"https://github.com/ocurrent/freebsd-infra\">ocurrent/freebsd-infra</a>.</p>\n\n<p>This was followed up by <a href=\"https://github.com/ocurrent/ocaml-ci/pull/1007\">PR#1007</a> on ocurrent/ocaml-ci and <a href=\"https://github.com/ocurrent/opam-repo-ci/pull/427\">PR#427</a> to ocurrent/opam-repo-ci.</p>", 9 "content_type": "html", 10 "author": { 11 "name": "Mark Elvers", 12 "email": "mark.elvers@tunbury.org", 13 "uri": null 14 }, 15 "categories": [ 16 "FreeBSD", 17 "tunbury.org" 18 ], 19 "source": "https://www.tunbury.org/atom.xml" 20}