<?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[new update&#x2F;upgrade script, ready for testing]]></title><description><![CDATA[<p dir="auto">given that we will have a regular update quarterly, and we have such a large number of new users experiencing troubles after updates (mostly cause they have a ton to learn)… I have developed a script I would like to get included for future updates…</p>
<p dir="auto">it should handle all the work…<br />
and give you a trial run of all that…</p>
<p dir="auto">only applying changes if u request them</p>
<p dir="auto">give it a try<br />
this works on Mac as well</p>
<pre><code>  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
</code></pre>
<p dir="auto">no changes are made to the local repo or the working copy</p>
<p dir="auto">if you WANT to actually apply the changes do</p>
<pre><code>  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
</code></pre>
<p dir="auto">there is a log file in the installers folder…</p>
<p dir="auto">edited Jan 4, 2020 - move from dropbox to github as distro</p>
]]></description><link>https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 23:16:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10859.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Jul 2019 18:03:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Tue, 02 Sep 2025 12:54:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/socrates" aria-label="Profile: Socrates">@<bdi>Socrates</bdi></a> note that without adding a parameter<br />
The script does nothing. It only tests the ability to update the base MagicMirror</p>
<p dir="auto">Update is two pass process</p>
<p dir="auto">Test. Make no changes<br />
Do. Apply the changes (with the parameter apply)</p>
<p dir="auto">Many users have modified MagicMirror base code not knowing about the config and css file design. These changes block the ability to update normally</p>
<p dir="auto">Over time they forget that they changed the files and what they actually changed.  The force way to install is to wipe all changes, but now the result doesn’t work like it used to. Adding a lot of frustration.</p>
]]></description><link>https://forum.magicmirror.builders/post/128119</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128119</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 02 Sep 2025 12:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Tue, 02 Sep 2025 00:12:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/socrates" aria-label="Profile: Socrates">@<bdi>Socrates</bdi></a> no… this script is only for the base.</p>
]]></description><link>https://forum.magicmirror.builders/post/128115</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128115</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 02 Sep 2025 00:12:01 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Mon, 01 Sep 2025 22:01:28 GMT]]></title><description><![CDATA[<p dir="auto">Sorry to revive this old thread, but I used this script to update all my modules at once, and they worked perfectly after upgrading Node.js and npm.<br />
bash -c  “$(curl -sL <a href="https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh" target="_blank" rel="noopener noreferrer nofollow ugc">https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh</a>)”</p>
<p dir="auto">I have a question: Will this script automatically check for and apply module upgrades periodically? Or is it better to add it to a nightly crontab?</p>
]]></description><link>https://forum.magicmirror.builders/post/128113</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128113</guid><dc:creator><![CDATA[Socrates]]></dc:creator><pubDate>Mon, 01 Sep 2025 22:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:39:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">I’m just going to rebuild.  I’ll let you know if I hit any snags. Thanks again.</p>
]]></description><link>https://forum.magicmirror.builders/post/111389</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111389</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:39:42 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:38:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> thanks… same as I see…</p>
]]></description><link>https://forum.magicmirror.builders/post/111388</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111388</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:38:39 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:37:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>pi@MagicMirror2:~ $ ls /etc/apt/sources.list.d
nodesource.list  raspi.list
pi@MagicMirror2:~ $ sudo cat /etc/apt/sources.list.d/nodesource.list
deb [arch=arm64 Pin-Priority=600 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
pi@MagicMirror2:~ $ sudo cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ bullseye main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ bullseye main
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111387</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111387</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:37:39 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:29:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> can u also do</p>
<pre><code>ls /etc/apt/sources.list.d
</code></pre>
<p dir="auto">thats where the other sources are<br />
and cat each file it mentions</p>
<pre><code>nodesource.list  raspi.list
</code></pre>
<p dir="auto">is what I see on the 64bit os</p>
]]></description><link>https://forum.magicmirror.builders/post/111385</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111385</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:29:11 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:25:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Thanks for trying. I appreciate all the support you provide the MM community.</p>
<pre><code>pi@MagicMirror2:~ $ sudo apt-get update
sudo apt-get install nodejs -y
Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nodejs is already the newest version (12.22.12~dfsg-1~deb11u4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@MagicMirror2:~ $ 

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111384</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111384</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:25:38 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:19:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> hmmmm… ok, don’t know… I will post that too…</p>
<p dir="auto">best to just move to new again I guess…</p>
<p dir="auto">can u try this</p>
<pre><code>sudo apt-get update
sudo apt-get install nodejs -y
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111383</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111383</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:19:53 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:15:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>pi@MagicMirror2:~ $ sudo cat  /etc/apt/sources.list.d/nodesource.list
deb [arch=arm64 Pin-Priority=600 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111382</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111382</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:13:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> can u cat that file again</p>
]]></description><link>https://forum.magicmirror.builders/post/111381</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111381</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:12:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Same thing. I feel like this line is the issue ----“Selecting previously unselected package nodejs.” How can I clear wherever it’s finding that?</p>
<p dir="auto">(I also tried the uninstall from your repo and install, same thing)</p>
<pre><code>pi@MagicMirror2:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)"
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nodejs*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 919 kB disk space will be freed.
(Reading database ... 107017 files and directories currently installed.)
Removing nodejs (12.22.12~dfsg-1~deb11u4) ...
Processing triggers for man-db (2.9.4-2) ...
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20210119).
curl is already the newest version (7.74.0-1.3+deb11u7).
gnupg is already the newest version (2.2.27-2+deb11u2).
The following packages were automatically installed and are no longer required:
  libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Get:1 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease                   
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
Fetched 15.4 kB in 1s (16.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  npm
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/148 kB of archives.
After this operation, 919 kB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 106955 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb ...
Unpacking nodejs (12.22.12~dfsg-1~deb11u4) ...
Setting up nodejs (12.22.12~dfsg-1~deb11u4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.9.4-2) ...

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111380</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111380</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:06:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> ok, suggestion was to add the pin-priority</p>
<p dir="auto">try the node20_install.sh again from my repo</p>
]]></description><link>https://forum.magicmirror.builders/post/111377</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111377</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:06:43 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 17:01:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>pi@MagicMirror2:~ $ sudo cat  /etc/apt/sources.list.d/nodesource.list
deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111376</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 17:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:52:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> one more try… got some feedback from node user</p>
<p dir="auto">hang on while I do a quick test</p>
<p dir="auto">do this</p>
<pre><code>sudo cat  /etc/apt/sources.list.d/nodesource.list
</code></pre>
<p dir="auto">I see</p>
<pre><code>deb [arch=arm64 Pin-Priority:600 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111373</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111373</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:52:46 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:44:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">After an uninstall it says npm isn’t installed. I tried the install again and it’s still installing 12.22.12</p>
<p dir="auto">I did the backup. I’m just going to rebuild. It’s annoying but it should work. :crossed_fingers_light_skin_tone:</p>
]]></description><link>https://forum.magicmirror.builders/post/111372</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111372</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:44:10 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:38:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> so the prior version install of node20 went ok as expected.</p>
<p dir="auto">but I don’t see the ‘npm’ item in the install list</p>
<pre><code>Reading state information... Done
Suggested packages:
  npm  &lt;-------  I don't see this
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
</code></pre>
<p dir="auto">so lets do the uninstall again<br />
and then  try</p>
<pre><code>sudo apt remove npm
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111370</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111370</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:38:31 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:31:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> also, make sure you back up…</p>
<p dir="auto"><a href="https://github.com/sdetweil/MagicMirror-backup-restore" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror-backup-restore</a></p>
]]></description><link>https://forum.magicmirror.builders/post/111369</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111369</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:31:57 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:29:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thanks. When I ran into issues last update I ended up building it up from scratch again. There were some benefits to that and I have a pretty clean install now. I can do it again but would prefer to not have to.</p>
]]></description><link>https://forum.magicmirror.builders/post/111367</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111367</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:29:19 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:27:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> said in <a href="/post/111355">new update/upgrade script, ready for testing</a>:</p>
<blockquote>
<p dir="auto">Linux MagicMirror2 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux</p>
</blockquote>
<p dir="auto">hm… the prior release says<br />
Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux</p>
<p dir="auto">we’ll see…</p>
]]></description><link>https://forum.magicmirror.builders/post/111365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111365</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:27:23 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:12:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> ok, I am trying to flash that OS version… but I don’t see Apr 3 2023…  I see  feb 21 2023…</p>
]]></description><link>https://forum.magicmirror.builders/post/111363</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111363</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:12:18 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 16:01:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/111361">new update/upgrade script, ready for testing</a>:</p>
<blockquote>
<p dir="auto">find . -type f 2&gt;/dev/null | grep -i  nodejs_12.22.12</p>
</blockquote>
<p dir="auto">I had a similar thought and ran just before you said that.  I removed node and ran</p>
<pre><code>sudo apt-get clean
</code></pre>
<p dir="auto">Running  the find after came back empty.</p>
<p dir="auto">I tried installing again. Same result.</p>
<p dir="auto">Now the find shows</p>
<pre><code>pi@MagicMirror2:/ $ node -v
v12.22.12
pi@MagicMirror2:/ $ find . -type f 2&gt;/dev/null | grep -i  nodejs_12.22.12
./var/cache/apt/archives/nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111362</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111362</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 16:01:20 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 15:57:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gonzonia" aria-label="Profile: gonzonia">@<bdi>gonzonia</bdi></a> SO much fun…</p>
<p dir="auto">lets see if we can find that older version binary</p>
<pre><code>cd /
find . -type f 2&gt;/dev/null | grep -i  nodejs_12.22.12
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111361</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111361</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Oct 2023 15:57:57 GMT</pubDate></item><item><title><![CDATA[Reply to new update&#x2F;upgrade script, ready for testing on Thu, 05 Oct 2023 15:48:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Same result</p>
<pre><code>pi@MagicMirror2:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/uninstall_node.sh)"
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nodejs*
0 upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
After this operation, 919 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 106969 files and directories currently installed.)
Removing nodejs (12.22.12~dfsg-1~deb11u4) ...
Processing triggers for man-db (2.9.4-2) ...
pi@MagicMirror2:~/MagicMirror $ sudo rm -rf /usr/lib/node_modules/npm
pi@MagicMirror2:~/MagicMirror $ node -v
-bash: /usr/bin/node: No such file or directory
pi@MagicMirror2:~/MagicMirror $ npm -v
-bash: /usr/bin/npm: No such file or directory
pi@MagicMirror2:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)"
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
rm: cannot remove '/etc/apt/sources.list.d/nodesource.list': No such file or directory
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20210119).
curl is already the newest version (7.74.0-1.3+deb11u7).
gnupg is already the newest version (2.2.27-2+deb11u2).
The following packages were automatically installed and are no longer required:
  libc-ares2 libjs-highlight.js libnode72 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Get:1 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease               
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
Fetched 15.4 kB in 1s (14.2 kB/s)   
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  npm
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/148 kB of archives.
After this operation, 919 kB of additional disk space will be used.
Selecting previously unselected package nodejs.
(Reading database ... 106907 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb ...
Unpacking nodejs (12.22.12~dfsg-1~deb11u4) ...
Setting up nodejs (12.22.12~dfsg-1~deb11u4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.9.4-2) ...
pi@MagicMirror2:~/MagicMirror $ node -v
v12.22.12
pi@MagicMirror2:~/MagicMirror $ 
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/111360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/111360</guid><dc:creator><![CDATA[gonzonia]]></dc:creator><pubDate>Thu, 05 Oct 2023 15:48:41 GMT</pubDate></item></channel></rss>