<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90626/nrf-command-line-tools-fails-to-install-on-new-ubuntu-20-04-system</link><description>Trying to get the entire set of v2.0.0 software development tools to install on our Ubuntu 20.04.4 LTS x86_64 system for my nRF9160-DK. 
 Following the [DevAcademy nRF Connect SDK Fundamentals course]( https://academy.nordicsemi.com/topic/exercise-1-1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 17:15:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90626/nrf-command-line-tools-fails-to-install-on-new-ubuntu-20-04-system" /><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380441?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 17:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5338e279-d58c-444c-a89c-4547e44662ba</guid><dc:creator>aejoe</dc:creator><description>&lt;p&gt;Thanks for getting that fix released quickly for all of us.&amp;nbsp; I especially appreciate it of all our team.&amp;nbsp; Unfortunately I can&amp;#39;t test the Ubuntu version just now as we&amp;#39;ve abandoned Ubuntu and switched to Windows to have something demonstrated to our team, installing 10.17.0 in Windows 10, and got blinky working with it this morning.&amp;nbsp; The Nordic Windows experience was really smooth however given the choice I would rather be using Ubuntu/Linux where possible.&amp;nbsp; Might go back to Ubuntu at a later time to try it.&amp;nbsp; Seems we&amp;#39;re happier keeping the nRF chipset in our spec then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380417?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 14:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b364fd95-1f67-4179-b746-3d1c4df27f63</guid><dc:creator>jakoblover</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The 10.17.2 update is now available on the website. This should fix the installation issues on Ubuntu.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;www.nordicsemi.com/.../download&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380209?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 16:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec5c9231-c48b-43c8-bca4-7d24d6614d62</guid><dc:creator>aejoe</dc:creator><description>&lt;p&gt;Likewise, V.Besse.&amp;nbsp; Thanks for your feedback and insight.&amp;nbsp; I too am totally new to VSCode.&amp;nbsp; It&amp;#39;s become urgent for us to decide now whether we really want to continue after spending days spread over weeks trying to install a tool chain that works - both management and I are very displeased - they don&amp;#39;t want to wait any time for fixes to what is supposedly an officially supported system and we may have to move away from Nordic for our next generation design.&lt;/p&gt;
&lt;p&gt;In a final act of desperation I now need to scrape the barrel and get a Windows machine up and running to see if even that works, but why should we have to stoop so low?&lt;/p&gt;
&lt;p&gt;Hope the next version works for us.&amp;nbsp; Not sure if we can still be developing on the Nordic platform though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380138?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 13:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66157489-998e-4c7a-be49-28e2c8d2b678</guid><dc:creator>V.Besse</dc:creator><description>&lt;p&gt;We have different behaviour. I can&amp;#39;t say if it&amp;#39;s due to Ubuntu vs. Debian or apt vs. dpkg. On my system, trying to install with dpkg, after the failure the /opt and /usr/local/bin folders are cleaned (unless nothing get extracted, I don&amp;#39;t know) so I can&amp;#39;t just ignore the error. That leaded me to manually rebuild the package with a correct(?) postinst.&lt;/p&gt;
&lt;p&gt;I wonder too if the bad packaging of the command line tools and the errors in VSCode are related, but I&amp;#39;m totally new in VSCode and in the Nordic world.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380112?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 12:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194ddc0d-f693-465a-be83-f32aeb36d3b6</guid><dc:creator>aejoe</dc:creator><description>&lt;p&gt;Thanks all, I ignored the error and continued as SwRa recommended, however have now also run into a problem with VSCode unlike that of V.Besse; instead mine is complaining about shell initialization conflicting with the nRF Connect Terminal profile which is &lt;span style="text-decoration:underline;"&gt;not&lt;/span&gt; solved by its &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/troubleshooting.html"&gt;recommended troubleshooting page&lt;/a&gt;.&amp;nbsp; I haven&amp;#39;t yet ran into any sign of missing `nrfjprog` yet - I can see it in my `/usr/local/bin/nrfjprog` but still early days for VSCode.&amp;nbsp; So we did get past this by ignoring the original error installing the command line tools so I&amp;#39;ll call this issue done for now.&amp;nbsp; I think I&amp;#39;ll try the same trick, ignoring the VSCode error and see if I can just get blinky to run.&lt;/p&gt;
&lt;p&gt;I wonder how much of the VSCode errors we&amp;#39;re seeing have something to do with the command line tool post-install error.&lt;/p&gt;
&lt;p&gt;Bottom line: 10.17.0 contains a deb package post-install script error that can be ignored.&amp;nbsp; The command line tools seem to install but we can&amp;#39;t say for sure that any problems that come after are caused by it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/380056?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 08:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238e27f5-1f25-4cf9-b909-bd2707e46301</guid><dc:creator>V.Besse</dc:creator><description>&lt;p&gt;Same on a debian Bullseye. After extracting the archive (dpkg-deg --raw-extract), deleting the lines after the second &amp;quot;ln -sf&amp;quot; and rebuilding the package (dpkg-deb --build), the package installs. My problem now is in VSCode not finding nrfjprog (which is however under /usr/local/bin) and complaining about shell initialization failure.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll wait 10.17.2 update&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/379951?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 13:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382fa745-6072-4dc7-bdc9-a0ec97592d3a</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This one seems to be an issue introduced with the new release of command line tool 10.17.0.. Our developers are&amp;nbsp;working on a fix for this issue and would be fixed in a 10.17.2 update which should be available in the next few days.&amp;nbsp;I was informed that you could just ignore the error and it would not pose any problems..&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/379767?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 17:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12ab8ca6-ddfd-4a49-a0a8-ac88cd506a52</guid><dc:creator>aejoe</dc:creator><description>&lt;p&gt;Thanks elidonner.&amp;nbsp; Yes, apt removing did stop it from nagging me about the postinst script.&amp;nbsp; I went with 20.04 because I ran into a separate issue a few weeks back with installing the toolchain in 22.04.&amp;nbsp; I did actually get further last time but had to be done manually - I can&amp;#39;t remember exactly how it led up but I found myself needing to install [Kitware](&lt;a href="https://apt.kitware.com/)"&gt;https://apt.kitware.com/)&lt;/a&gt; as required by the official manual install instructions, and found that Kitware&amp;#39;s repository only supports up to Ubuntu 20.04.&amp;nbsp; Bit obscure, but might be useful to know if you run into that one later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools fails to install on new Ubuntu 20.04 system</title><link>https://devzone.nordicsemi.com/thread/379766?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 17:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8993ff2d-5673-49ee-8b89-9e3e8492b89c</guid><dc:creator>elidonner</dc:creator><description>&lt;p&gt;I am getting the exact same issue currently, with the same error message, running Ubuntu 22.04. Thanks for posting &lt;a href="https://devzone.nordicsemi.com/members/aeternumjim"&gt;aejoe&lt;/a&gt;&amp;nbsp;! That included using the different command `sudo dpkg -i nrf-command-line-tools_10.17.0_amd64.deb` .&lt;/p&gt;
&lt;p&gt;note: if you need help fixing the lock on the dpkg, I&amp;#39;ve been running `sudo apt-get remove --purge nrf-command-line-tools`. Unsure if this is the best way to do it, but it at least allows me to run dpkg again (if you run into this issue, which I did)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>