<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on Support Tools</title><link>https://support.tools/categories/ubuntu/</link><description>Recent content in Ubuntu on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 07 Sep 2024 19:26:00 -0500</lastBuildDate><atom:link href="https://support.tools/categories/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Get Rid of Ubuntu Pro Advertisement When Updating Apt</title><link>https://support.tools/remove-ubuntu-pro-advertisement-apt-update/</link><pubDate>Sat, 07 Sep 2024 19:26:00 -0500</pubDate><guid>https://support.tools/remove-ubuntu-pro-advertisement-apt-update/</guid><description>&lt;p&gt;If you&amp;rsquo;re using Ubuntu and have recently noticed the promotional message for Ubuntu Pro while updating your system with &lt;code&gt;apt&lt;/code&gt;, you’re not alone. While Ubuntu Pro is useful for certain users, many prefer a clean update process without ads. In this guide, we’ll cover how to disable those Ubuntu Pro advertisements.&lt;/p&gt;</description></item><item><title>How to Fix 'sudo: unable to resolve host' Error in Ubuntu</title><link>https://support.tools/post/how-to-fix-sudo-unable-to-resolve-host-error-ubuntu/</link><pubDate>Tue, 14 May 2024 02:24:00 -0500</pubDate><guid>https://support.tools/post/how-to-fix-sudo-unable-to-resolve-host-error-ubuntu/</guid><description>&lt;p&gt;Learn how to quickly fix the common &amp;lsquo;sudo: unable to resolve host&amp;rsquo; error in Ubuntu by properly configuring your /etc/hosts file. This guide provides a detailed step-by-step solution.&lt;/p&gt;</description></item><item><title>Installing Custom CA Certificates on Ubuntu 22.04</title><link>https://support.tools/post/installing-custom-ca-certificates-in-ubuntu/</link><pubDate>Thu, 12 Oct 2023 23:18:00 -0500</pubDate><guid>https://support.tools/post/installing-custom-ca-certificates-in-ubuntu/</guid><description>&lt;h2 id="installing-custom-ca-certificates-on-ubuntu-2204"&gt;Installing Custom CA Certificates on Ubuntu 22.04&lt;/h2&gt;&#10;&lt;p&gt;If you are dealing with a server that uses self-signed SSL certificates, you may encounter issues with client utilities like &lt;code&gt;curl&lt;/code&gt;, which may refuse to work without using the &lt;code&gt;-k&lt;/code&gt; or &lt;code&gt;--insecure&lt;/code&gt; option. Here&amp;rsquo;s a step-by-step guide on how to install custom CA certificates on an Ubuntu 22.04 system (similar steps apply to Ubuntu 20.04 and 18.04):&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Combine SSL Certificates:&lt;/strong&gt; Start by combining the SSL certificate chain and the SSL certificate into a single file. You can download both certificates from your server by accessing &lt;code&gt;https://your-server-name&lt;/code&gt;. Ensure that the file extension for this combined certificate file is &lt;code&gt;.crt&lt;/code&gt;.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Copy to CA Certificates Directory:&lt;/strong&gt; Copy the &lt;code&gt;.crt&lt;/code&gt; file you created in the previous step to the &lt;code&gt;/usr/local/share/ca-certificates/&lt;/code&gt; directory.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Update CA Certificates:&lt;/strong&gt; Run the following command to update the CA certificates on your system:&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Online resize of a root ext4 file system</title><link>https://support.tools/post/online-resize-of-a-root-ext4-file-system/</link><pubDate>Thu, 14 Jul 2022 14:05:00 -0500</pubDate><guid>https://support.tools/post/online-resize-of-a-root-ext4-file-system/</guid><description>&lt;p&gt;The following is a guide to resizing your root ext4 file system online. After the operation, your partition will have more free space. There will be no shrinkage of the root file system. The root partition could have been any partition, not exactly the root one, but in most cases, such operations on the root are more complex and dangerous - ALWAYS back up before performing such operations!&lt;/p&gt;&#10;&lt;p&gt;During the resize operation, none of the services need to be shut down, rebooted, or unmounted.&lt;/p&gt;&#10;&lt;p&gt;Even so, we rebooted the server once as a precaution, since it was possible and the server was not in production. Rebooting the server after this kind of resizing is not necessary.&#10;Using kernel 5.15, the following method was tested on Ubuntu 22.04. As a result, we can assume that if your system is newer than ours, you won&amp;rsquo;t have any problems.&lt;/p&gt;&#10;&lt;p&gt;Summary:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;To resize a partition, use the resizepart command in the parted command. This package is available in most Linux distributions and has the same name as the needed command &amp;ldquo;parted&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;Resize the file system using resize2fs from &lt;a href="https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"&gt;E2fsprogs&lt;/a&gt;. There is a version of this package included in most Linux distributions with the same name.&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>kernel: rc rc0: receive overflow</title><link>https://support.tools/post/rc-rc0-overflow/</link><pubDate>Thu, 23 Jun 2022 23:52:00 -0500</pubDate><guid>https://support.tools/post/rc-rc0-overflow/</guid><description>&lt;p&gt;After upgrade my build nodes from Ubuntu 20.04 to Ubuntu 22.04, I got a lot of spamming syslog messages on my Intel NUC nodes, model NUC5i5RYB. Both these nodes are running RKE2 &lt;code&gt;v1.24.1+rke2r2&lt;/code&gt;. I have them tainted so that they are only used by Drone CI to run Kubernetes runners.&lt;/p&gt;&#10;&lt;p&gt;Error message&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;/div&gt;&#10; &lt;pre tabindex="0"&gt;&lt;code&gt;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.557663] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.561258] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.566120] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.569739] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.618179] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.637622] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.645784] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.649311] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.656808] rc rc0: receive overflow&#10;Jun 24 04:35:27 a0ubnucp02 kernel: [ 2025.660897] rc rc0: receive overflow&lt;/code&gt;&lt;/pre&gt;&#10;&lt;/div&gt;</description></item><item><title>How to disable systemd-resolved in Ubuntu</title><link>https://support.tools/post/how-to-disable-systemd-resolved/</link><pubDate>Mon, 01 Mar 2021 01:14:00 +0000</pubDate><guid>https://support.tools/post/how-to-disable-systemd-resolved/</guid><description>&lt;p&gt;systemd-resolved can cause issues with Kubernetes (not to mention the time spent troubleshooting various issues).&lt;/p&gt;</description></item><item><title>How to Fix 'rm: cannot remove '/etc/resolv.conf': Operation not permitted'</title><link>https://support.tools/post/fix-stuck-resolv-conf/</link><pubDate>Wed, 09 Dec 2020 20:47:00 +0000</pubDate><guid>https://support.tools/post/fix-stuck-resolv-conf/</guid><description>&lt;p&gt;In Ubuntu, you may run into an issue when updating /etc/resolv.conf even tho you have root permissions.&lt;/p&gt;&#10;&lt;p&gt;Error:&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;/div&gt;&#10; &lt;pre tabindex="0"&gt;&lt;code&gt;rm: cannot remove &amp;#39;/etc/resolv.conf&amp;#39;: Operation not permitted&lt;/code&gt;&lt;/pre&gt;&#10;&lt;/div&gt;</description></item><item><title>How to Fix 'E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)'</title><link>https://support.tools/post/fix-dpkg-lock/</link><pubDate>Thu, 22 Oct 2020 10:52:00 +0000</pubDate><guid>https://support.tools/post/fix-dpkg-lock/</guid><description>&lt;p&gt;In Ubuntu, you may sometimes encounter an error when attempting to run an apt command:&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;/div&gt;&#10; &lt;pre tabindex="0"&gt;&lt;code&gt;E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)&#10;E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?&lt;/code&gt;&lt;/pre&gt;&#10;&lt;/div&gt;</description></item><item><title>Install PowerShell on Ubuntu</title><link>https://support.tools/post/install-powershell-on-ubuntu/</link><pubDate>Wed, 20 Nov 2019 11:06:00 +0000</pubDate><guid>https://support.tools/post/install-powershell-on-ubuntu/</guid><description>&lt;p&gt;As part of my DevOps process, I needed to create some DNS records on my Windows DNS server. In order to script this out, I needed to install PowerShell on my Jenkins server which is running Ubuntu 18.04.&lt;/p&gt;</description></item></channel></rss>