<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_unattended-upgrades</id>
	<title>Ubuntu unattended-upgrades - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_unattended-upgrades"/>
	<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;action=history"/>
	<updated>2026-04-26T03:14:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=511&amp;oldid=prev</id>
		<title>AwesomO: /* If automatic reboot is enabled and needed, reboot at the specific time instead of immediately */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=511&amp;oldid=prev"/>
		<updated>2025-04-17T16:51:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;If automatic reboot is enabled and needed, reboot at the specific time instead of immediately&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:51, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l227&quot;&gt;Line 227:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 227:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====If automatic reboot is enabled and needed, reboot at the specific time instead of immediately====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====If automatic reboot is enabled and needed, reboot at the specific time instead of immediately====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 103&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;02:00&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;02:00&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to: Note: Reboot-Time is your server/computers time zone: Use the command &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; to see time zone.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to: Note: Reboot-Time is your server/computers time zone: Use the command &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; to see time zone.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=510&amp;oldid=prev</id>
		<title>AwesomO: /* Automatically reboot even if there are users currently logged in when Unattended-Upgrade::Automatic-Reboot is set to true */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=510&amp;oldid=prev"/>
		<updated>2025-04-17T16:51:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Automatically reboot even if there are users currently logged in when Unattended-Upgrade::Automatic-Reboot is set to true&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:51, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l221&quot;&gt;Line 221:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 221:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Automatically reboot even if there are users currently logged in when Unattended-Upgrade::Automatic-Reboot is set to true====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Automatically reboot even if there are users currently logged in when Unattended-Upgrade::Automatic-Reboot is set to true====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 98&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=509&amp;oldid=prev</id>
		<title>AwesomO: /* Automatically reboot *WITHOUT CONFIRMATION* If the file /var/run/reboot-required is found after the upgrade */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=509&amp;oldid=prev"/>
		<updated>2025-04-17T16:51:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Automatically reboot *WITHOUT CONFIRMATION* If the file /var/run/reboot-required is found after the upgrade&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:51, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l215&quot;&gt;Line 215:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 215:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Automatically reboot *WITHOUT CONFIRMATION* If the file /var/run/reboot-required is found after the upgrade====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Automatically reboot *WITHOUT CONFIRMATION* If the file /var/run/reboot-required is found after the upgrade====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 94&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=508&amp;oldid=prev</id>
		<title>AwesomO: /* Do automatic removal of unused packages after the upgrade - apt-get autoremove */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=508&amp;oldid=prev"/>
		<updated>2025-04-17T16:50:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Do automatic removal of unused packages after the upgrade - apt-get autoremove&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:50, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l209&quot;&gt;Line 209:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 209:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Do automatic removal of unused packages after the upgrade - apt-get autoremove====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Do automatic removal of unused packages after the upgrade - apt-get autoremove====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 90&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=507&amp;oldid=prev</id>
		<title>AwesomO: /* Do automatic removal of newly unused dependencies after the upgrade */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=507&amp;oldid=prev"/>
		<updated>2025-04-17T16:49:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Do automatic removal of newly unused dependencies after the upgrade&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:49, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l203&quot;&gt;Line 203:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 203:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Do automatic removal of newly unused dependencies after the upgrade====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Do automatic removal of newly unused dependencies after the upgrade====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 86&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change To:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=506&amp;oldid=prev</id>
		<title>AwesomO: /* Remove unused automatically installed kernel-related packages */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=506&amp;oldid=prev"/>
		<updated>2025-04-17T16:49:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Remove unused automatically installed kernel-related packages&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:49, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l197&quot;&gt;Line 197:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 197:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Remove unused automatically installed kernel-related packages====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Remove unused automatically installed kernel-related packages====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 83&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=505&amp;oldid=prev</id>
		<title>AwesomO: /* updates */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=505&amp;oldid=prev"/>
		<updated>2025-04-17T16:47:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;updates&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:47, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l191&quot;&gt;Line 191:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 191:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The rest is opitional.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The rest is opitional.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====updates====  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====updates====  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Line: 15&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//      &amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;//      &amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Change to:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=279&amp;oldid=prev</id>
		<title>Noob: Created page with &quot;== Introduction == Unattended-upgrades is a tool that allows Ubuntu users to automatically update their system with the latest security patches and bug fixes. It&#039;s important to keep your system up-to-date to ensure that it&#039;s secure and running smoothly. With unattended-upgrades, you don&#039;t have to worry about manually checking for updates and installing them yourself. Instead, the tool automatically downloads and installs the updates in the background, saving you time and...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Ubuntu_unattended-upgrades&amp;diff=279&amp;oldid=prev"/>
		<updated>2023-04-04T22:19:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction == Unattended-upgrades is a tool that allows Ubuntu users to automatically update their system with the latest security patches and bug fixes. It&amp;#039;s important to keep your system up-to-date to ensure that it&amp;#039;s secure and running smoothly. With unattended-upgrades, you don&amp;#039;t have to worry about manually checking for updates and installing them yourself. Instead, the tool automatically downloads and installs the updates in the background, saving you time and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
Unattended-upgrades is a tool that allows Ubuntu users to automatically update their system with the latest security patches and bug fixes. It&amp;#039;s important to keep your system up-to-date to ensure that it&amp;#039;s secure and running smoothly. With unattended-upgrades, you don&amp;#039;t have to worry about manually checking for updates and installing them yourself. Instead, the tool automatically downloads and installs the updates in the background, saving you time and effort. By using unattended-upgrades, you can be confident that your Ubuntu system is always up-to-date and protected from security vulnerabilities.&lt;br /&gt;
&lt;br /&gt;
==Install unattended-upgrades==&lt;br /&gt;
&amp;lt;code&amp;gt;unattended-upgrades&amp;lt;/code&amp;gt; package should be pre installed on ubuntu &lt;br /&gt;
&lt;br /&gt;
If not you can install with &amp;lt;code&amp;gt;sudo apt install unattended-upgrades&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Unattended-upgrades config files are kept in directory &amp;lt;code&amp;gt;/etc/apt/apt.conf.d/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;/etc/apt/apt.conf.d/&amp;lt;/code&amp;gt;===&lt;br /&gt;
Each of the configuration files in directory serves a specific purpose in managing different aspects of the Ubuntu system updates. Here&amp;#039;s a brief summary of what each of these files does:&lt;br /&gt;
&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;01-vendor-ubuntu&amp;#039;&amp;#039;&amp;#039;: This file specifies the vendor-specific configuration for Ubuntu. It defines the Ubuntu-specific package sources and repository settings.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;01autoremove&amp;#039;&amp;#039;&amp;#039;: This file specifies the list of packages that can be automatically removed from the system when they are no longer needed.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;01autoremove-kernels&amp;#039;&amp;#039;&amp;#039;: This file specifies the list of old kernel packages that can be automatically removed from the system when a new kernel is installed.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;10periodic&amp;#039;&amp;#039;&amp;#039;: This file specifies the frequency of automatic system updates. It allows you to set how often the system checks for updates and installs them.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;15update-stamp&amp;#039;&amp;#039;&amp;#039;: This file stores the timestamp of the last system update.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;20archive&amp;#039;&amp;#039;&amp;#039;: This file specifies the settings for the package archive, including the URL of the package repository and the authentication keys for verifying package integrity.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;20auto-upgrades&amp;#039;&amp;#039;&amp;#039;: This file specifies the configuration settings for automatic updates, including which packages to update and how to install them.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;20packagekit&amp;#039;&amp;#039;&amp;#039;: This file specifies the configuration settings for PackageKit, which is a system service for managing software updates.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;20snapd.conf&amp;#039;&amp;#039;&amp;#039;: This file specifies the configuration settings for the Snap package manager.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;50command-not-found&amp;#039;&amp;#039;&amp;#039;: This file specifies the behavior of the command-not-found feature, which suggests packages to install when a command is not found.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;50unattended-upgrades&amp;#039;&amp;#039;&amp;#039;: This file specifies the settings for unattended-upgrades, which is a tool for automatically installing security updates.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;70debconf&amp;#039;&amp;#039;&amp;#039;: This file specifies the settings for debconf, which is a configuration management system for Debian-based systems.&lt;br /&gt;
:*    &amp;#039;&amp;#039;&amp;#039;99update-notifier&amp;#039;&amp;#039;&amp;#039;: This file specifies the behavior of the update-notifier, which is a tool for notifying users about available system updates.&lt;br /&gt;
&lt;br /&gt;
Each of these configuration files plays an important role in managing different aspects of system updates in Ubuntu, and understanding their purpose can be helpful in customizing the system update settings to fit your specific needs.&lt;br /&gt;
&lt;br /&gt;
==Quick Start - Up and running auto updates==&lt;br /&gt;
===Check service is running and enabled===&lt;br /&gt;
&amp;lt;code&amp;gt;sudo systemctl enable unattended-upgrades&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===50unattended-upgrades===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/etc/apt/apt.conf.d/50unattended-upgrades&amp;#039;&amp;#039;&amp;#039; is a configuration file that specifies the settings for automatically installing security updates using the unattended-upgrades tool in Ubuntu.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$EDITOR /etc/apt/apt.conf.d/50unattended-upgrades &amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
Default Content &amp;lt;code&amp;gt;/etc/apt/apt.conf.d/50unattended-upgrades&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
Note: Having a &amp;lt;b&amp;gt;&amp;lt;code&amp;gt;//&amp;lt;/code&amp;gt;&amp;lt;/b&amp;gt; At the Front of the line, will comment out the line:&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
lines that begin with a &amp;quot;#&amp;quot; or &amp;quot;//&amp;quot; are called comments. These lines are ignored by the system and are intended for human readers to provide explanations or context about the configuration settings.&lt;br /&gt;
&lt;br /&gt;
When you &amp;quot;comment out&amp;quot; a line in a configuration file, you are essentially telling the system to ignore that line of configuration. This can be useful if you want to temporarily disable or override a specific configuration setting without having to delete it entirely.&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to temporarily disable automatic updates in Ubuntu, you could comment out the line that enables them in the /etc/apt/apt.conf.d/20auto-upgrades file by adding a &amp;quot;#&amp;quot; or &amp;quot;//&amp;quot; character at the beginning of the line. This would prevent the system from executing that particular configuration setting and would effectively disable automatic updates until you uncommented the line by removing the &amp;quot;#&amp;quot; or &amp;quot;//&amp;quot; characters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Automatically upgrade packages from these (origin:archive) pairs&lt;br /&gt;
//&lt;br /&gt;
// Note that in Ubuntu security updates may pull in new dependencies&lt;br /&gt;
// from non-security sources (e.g. chromium). By allowing the release&lt;br /&gt;
// pocket these get automatically pulled in.&lt;br /&gt;
Unattended-Upgrade::Allowed-Origins {&lt;br /&gt;
	&amp;quot;${distro_id}:${distro_codename}&amp;quot;;&lt;br /&gt;
	&amp;quot;${distro_id}:${distro_codename}-security&amp;quot;;&lt;br /&gt;
	// Extended Security Maintenance; doesn&amp;#039;t necessarily exist for&lt;br /&gt;
	// every release and this system may not have it installed, but if&lt;br /&gt;
	// available, the policy for updates is such that unattended-upgrades&lt;br /&gt;
	// should also install from here by default.&lt;br /&gt;
	&amp;quot;${distro_id}ESMApps:${distro_codename}-apps-security&amp;quot;;&lt;br /&gt;
	&amp;quot;${distro_id}ESM:${distro_codename}-infra-security&amp;quot;;&lt;br /&gt;
//	&amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&lt;br /&gt;
//	&amp;quot;${distro_id}:${distro_codename}-proposed&amp;quot;;&lt;br /&gt;
//	&amp;quot;${distro_id}:${distro_codename}-backports&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// Python regular expressions, matching packages to exclude from upgrading&lt;br /&gt;
Unattended-Upgrade::Package-Blacklist {&lt;br /&gt;
    // The following matches all packages starting with linux-&lt;br /&gt;
//  &amp;quot;linux-&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // Use $ to explicitely define the end of a package name. Without&lt;br /&gt;
    // the $, &amp;quot;libc6&amp;quot; would match all of them.&lt;br /&gt;
//  &amp;quot;libc6$&amp;quot;;&lt;br /&gt;
//  &amp;quot;libc6-dev$&amp;quot;;&lt;br /&gt;
//  &amp;quot;libc6-i686$&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // Special characters need escaping&lt;br /&gt;
//  &amp;quot;libstdc\+\+6$&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // The following matches packages like xen-system-amd64, xen-utils-4.1,&lt;br /&gt;
    // xenstore-utils and libxenstore3.0&lt;br /&gt;
//  &amp;quot;(lib)?xen(store)?&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // For more information about Python regular expressions, see&lt;br /&gt;
    // https://docs.python.org/3/howto/regex.html&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// This option controls whether the development release of Ubuntu will be&lt;br /&gt;
// upgraded automatically. Valid values are &amp;quot;true&amp;quot;, &amp;quot;false&amp;quot;, and &amp;quot;auto&amp;quot;.&lt;br /&gt;
Unattended-Upgrade::DevRelease &amp;quot;auto&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// This option allows you to control if on a unclean dpkg exit&lt;br /&gt;
// unattended-upgrades will automatically run &lt;br /&gt;
//   dpkg --force-confold --configure -a&lt;br /&gt;
// The default is true, to ensure updates keep getting installed&lt;br /&gt;
//Unattended-Upgrade::AutoFixInterruptedDpkg &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Split the upgrade into the smallest possible chunks so that&lt;br /&gt;
// they can be interrupted with SIGTERM. This makes the upgrade&lt;br /&gt;
// a bit slower but it has the benefit that shutdown while a upgrade&lt;br /&gt;
// is running is possible (with a small delay)&lt;br /&gt;
//Unattended-Upgrade::MinimalSteps &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Install all updates when the machine is shutting down&lt;br /&gt;
// instead of doing it in the background while the machine is running.&lt;br /&gt;
// This will (obviously) make shutdown slower.&lt;br /&gt;
// Unattended-upgrades increases logind&amp;#039;s InhibitDelayMaxSec to 30s.&lt;br /&gt;
// This allows more time for unattended-upgrades to shut down gracefully&lt;br /&gt;
// or even install a few packages in InstallOnShutdown mode, but is still a&lt;br /&gt;
// big step back from the 30 minutes allowed for InstallOnShutdown previously.&lt;br /&gt;
// Users enabling InstallOnShutdown mode are advised to increase&lt;br /&gt;
// InhibitDelayMaxSec even further, possibly to 30 minutes.&lt;br /&gt;
//Unattended-Upgrade::InstallOnShutdown &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Send email to this address for problems or packages upgrades&lt;br /&gt;
// If empty or unset then no email is sent, make sure that you&lt;br /&gt;
// have a working mail setup on your system. A package that provides&lt;br /&gt;
// &amp;#039;mailx&amp;#039; must be installed. E.g. &amp;quot;user@example.com&amp;quot;&lt;br /&gt;
//Unattended-Upgrade::Mail &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Set this value to one of:&lt;br /&gt;
//    &amp;quot;always&amp;quot;, &amp;quot;only-on-error&amp;quot; or &amp;quot;on-change&amp;quot;&lt;br /&gt;
// If this is not set, then any legacy MailOnlyOnError (boolean) value&lt;br /&gt;
// is used to chose between &amp;quot;only-on-error&amp;quot; and &amp;quot;on-change&amp;quot;&lt;br /&gt;
//Unattended-Upgrade::MailReport &amp;quot;on-change&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Remove unused automatically installed kernel-related packages&lt;br /&gt;
// (kernel images, kernel headers and kernel version locked tools).&lt;br /&gt;
//Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Do automatic removal of newly unused dependencies after the upgrade&lt;br /&gt;
//Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Do automatic removal of unused packages after the upgrade&lt;br /&gt;
// (equivalent to apt-get autoremove)&lt;br /&gt;
//Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Automatically reboot *WITHOUT CONFIRMATION* if&lt;br /&gt;
//  the file /var/run/reboot-required is found after the upgrade&lt;br /&gt;
//Unattended-Upgrade::Automatic-Reboot &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Automatically reboot even if there are users currently logged in&lt;br /&gt;
// when Unattended-Upgrade::Automatic-Reboot is set to true&lt;br /&gt;
//Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// If automatic reboot is enabled and needed, reboot at the specific&lt;br /&gt;
// time instead of immediately&lt;br /&gt;
//  Default: &amp;quot;now&amp;quot;&lt;br /&gt;
//Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;02:00&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Use apt bandwidth limit feature, this example limits the download&lt;br /&gt;
// speed to 70kb/sec&lt;br /&gt;
//Acquire::http::Dl-Limit &amp;quot;70&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Enable logging to syslog. Default is False&lt;br /&gt;
// Unattended-Upgrade::SyslogEnable &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Specify syslog facility. Default is daemon&lt;br /&gt;
// Unattended-Upgrade::SyslogFacility &amp;quot;daemon&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Download and install upgrades only on AC power&lt;br /&gt;
// (i.e. skip or gracefully stop updates on battery)&lt;br /&gt;
// Unattended-Upgrade::OnlyOnACPower &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Download and install upgrades only on non-metered connection&lt;br /&gt;
// (i.e. skip or gracefully stop updates on a metered connection)&lt;br /&gt;
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Verbose logging&lt;br /&gt;
// Unattended-Upgrade::Verbose &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Print debugging information both in unattended-upgrades and&lt;br /&gt;
// in unattended-upgrade-shutdown&lt;br /&gt;
// Unattended-Upgrade::Debug &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Allow package downgrade if Pin-Priority exceeds 1000&lt;br /&gt;
// Unattended-Upgrade::Allow-downgrade &amp;quot;false&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Common Server Changes - Quick start guide===&lt;br /&gt;
&amp;lt;b&amp;gt;Note: The only change required to enable auto updates is to uncomment:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;//      &amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The rest is opitional.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====updates==== &lt;br /&gt;
&amp;lt;code&amp;gt;//      &amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change to:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;      &amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Remove unused automatically installed kernel-related packages====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change to:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Do automatic removal of newly unused dependencies after the upgrade====&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change To:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Do automatic removal of unused packages after the upgrade - apt-get autoremove====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change To:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Automatically reboot *WITHOUT CONFIRMATION* If the file /var/run/reboot-required is found after the upgrade====&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot &amp;quot;false&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change To:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Automatic-Reboot &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Automatically reboot even if there are users currently logged in when Unattended-Upgrade::Automatic-Reboot is set to true====&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change To:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====If automatic reboot is enabled and needed, reboot at the specific time instead of immediately====&lt;br /&gt;
&amp;lt;code&amp;gt;//Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;02:00&amp;quot;;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Change to: Note: Reboot-Time is your server/computers time zone: Use the command &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; to see time zone.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;04:00&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Save and Exit Config file===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/apt/apt.conf.d/50unattended-upgrades&amp;lt;/code&amp;gt; Config File After Changes:&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Automatically upgrade packages from these (origin:archive) pairs&lt;br /&gt;
//&lt;br /&gt;
// Note that in Ubuntu security updates may pull in new dependencies&lt;br /&gt;
// from non-security sources (e.g. chromium). By allowing the release&lt;br /&gt;
// pocket these get automatically pulled in.&lt;br /&gt;
Unattended-Upgrade::Allowed-Origins {&lt;br /&gt;
	&amp;quot;${distro_id}:${distro_codename}&amp;quot;;&lt;br /&gt;
	&amp;quot;${distro_id}:${distro_codename}-security&amp;quot;;&lt;br /&gt;
	// Extended Security Maintenance; doesn&amp;#039;t necessarily exist for&lt;br /&gt;
	// every release and this system may not have it installed, but if&lt;br /&gt;
	// available, the policy for updates is such that unattended-upgrades&lt;br /&gt;
	// should also install from here by default.&lt;br /&gt;
	&amp;quot;${distro_id}ESMApps:${distro_codename}-apps-security&amp;quot;;&lt;br /&gt;
	&amp;quot;${distro_id}ESM:${distro_codename}-infra-security&amp;quot;;&lt;br /&gt;
	&amp;quot;${distro_id}:${distro_codename}-updates&amp;quot;;&lt;br /&gt;
//	&amp;quot;${distro_id}:${distro_codename}-proposed&amp;quot;;&lt;br /&gt;
//	&amp;quot;${distro_id}:${distro_codename}-backports&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// Python regular expressions, matching packages to exclude from upgrading&lt;br /&gt;
Unattended-Upgrade::Package-Blacklist {&lt;br /&gt;
    // The following matches all packages starting with linux-&lt;br /&gt;
//  &amp;quot;linux-&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // Use $ to explicitely define the end of a package name. Without&lt;br /&gt;
    // the $, &amp;quot;libc6&amp;quot; would match all of them.&lt;br /&gt;
//  &amp;quot;libc6$&amp;quot;;&lt;br /&gt;
//  &amp;quot;libc6-dev$&amp;quot;;&lt;br /&gt;
//  &amp;quot;libc6-i686$&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // Special characters need escaping&lt;br /&gt;
//  &amp;quot;libstdc\+\+6$&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // The following matches packages like xen-system-amd64, xen-utils-4.1,&lt;br /&gt;
    // xenstore-utils and libxenstore3.0&lt;br /&gt;
//  &amp;quot;(lib)?xen(store)?&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    // For more information about Python regular expressions, see&lt;br /&gt;
    // https://docs.python.org/3/howto/regex.html&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// This option controls whether the development release of Ubuntu will be&lt;br /&gt;
// upgraded automatically. Valid values are &amp;quot;true&amp;quot;, &amp;quot;false&amp;quot;, and &amp;quot;auto&amp;quot;.&lt;br /&gt;
Unattended-Upgrade::DevRelease &amp;quot;auto&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// This option allows you to control if on a unclean dpkg exit&lt;br /&gt;
// unattended-upgrades will automatically run &lt;br /&gt;
//   dpkg --force-confold --configure -a&lt;br /&gt;
// The default is true, to ensure updates keep getting installed&lt;br /&gt;
//Unattended-Upgrade::AutoFixInterruptedDpkg &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Split the upgrade into the smallest possible chunks so that&lt;br /&gt;
// they can be interrupted with SIGTERM. This makes the upgrade&lt;br /&gt;
// a bit slower but it has the benefit that shutdown while a upgrade&lt;br /&gt;
// is running is possible (with a small delay)&lt;br /&gt;
//Unattended-Upgrade::MinimalSteps &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Install all updates when the machine is shutting down&lt;br /&gt;
// instead of doing it in the background while the machine is running.&lt;br /&gt;
// This will (obviously) make shutdown slower.&lt;br /&gt;
// Unattended-upgrades increases logind&amp;#039;s InhibitDelayMaxSec to 30s.&lt;br /&gt;
// This allows more time for unattended-upgrades to shut down gracefully&lt;br /&gt;
// or even install a few packages in InstallOnShutdown mode, but is still a&lt;br /&gt;
// big step back from the 30 minutes allowed for InstallOnShutdown previously.&lt;br /&gt;
// Users enabling InstallOnShutdown mode are advised to increase&lt;br /&gt;
// InhibitDelayMaxSec even further, possibly to 30 minutes.&lt;br /&gt;
//Unattended-Upgrade::InstallOnShutdown &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Send email to this address for problems or packages upgrades&lt;br /&gt;
// If empty or unset then no email is sent, make sure that you&lt;br /&gt;
// have a working mail setup on your system. A package that provides&lt;br /&gt;
// &amp;#039;mailx&amp;#039; must be installed. E.g. &amp;quot;user@example.com&amp;quot;&lt;br /&gt;
//Unattended-Upgrade::Mail &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Set this value to one of:&lt;br /&gt;
//    &amp;quot;always&amp;quot;, &amp;quot;only-on-error&amp;quot; or &amp;quot;on-change&amp;quot;&lt;br /&gt;
// If this is not set, then any legacy MailOnlyOnError (boolean) value&lt;br /&gt;
// is used to chose between &amp;quot;only-on-error&amp;quot; and &amp;quot;on-change&amp;quot;&lt;br /&gt;
//Unattended-Upgrade::MailReport &amp;quot;on-change&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Remove unused automatically installed kernel-related packages&lt;br /&gt;
// (kernel images, kernel headers and kernel version locked tools).&lt;br /&gt;
Unattended-Upgrade::Remove-Unused-Kernel-Packages &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Do automatic removal of newly unused dependencies after the upgrade&lt;br /&gt;
Unattended-Upgrade::Remove-New-Unused-Dependencies &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Do automatic removal of unused packages after the upgrade&lt;br /&gt;
// (equivalent to apt-get autoremove)&lt;br /&gt;
Unattended-Upgrade::Remove-Unused-Dependencies &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Automatically reboot *WITHOUT CONFIRMATION* if&lt;br /&gt;
//  the file /var/run/reboot-required is found after the upgrade&lt;br /&gt;
Unattended-Upgrade::Automatic-Reboot &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Automatically reboot even if there are users currently logged in&lt;br /&gt;
// when Unattended-Upgrade::Automatic-Reboot is set to true&lt;br /&gt;
//Unattended-Upgrade::Automatic-Reboot-WithUsers &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// If automatic reboot is enabled and needed, reboot at the specific&lt;br /&gt;
// time instead of immediately&lt;br /&gt;
//  Default: &amp;quot;now&amp;quot;&lt;br /&gt;
Unattended-Upgrade::Automatic-Reboot-Time &amp;quot;04:00&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Use apt bandwidth limit feature, this example limits the download&lt;br /&gt;
// speed to 70kb/sec&lt;br /&gt;
//Acquire::http::Dl-Limit &amp;quot;70&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Enable logging to syslog. Default is False&lt;br /&gt;
// Unattended-Upgrade::SyslogEnable &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Specify syslog facility. Default is daemon&lt;br /&gt;
// Unattended-Upgrade::SyslogFacility &amp;quot;daemon&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Download and install upgrades only on AC power&lt;br /&gt;
// (i.e. skip or gracefully stop updates on battery)&lt;br /&gt;
// Unattended-Upgrade::OnlyOnACPower &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Download and install upgrades only on non-metered connection&lt;br /&gt;
// (i.e. skip or gracefully stop updates on a metered connection)&lt;br /&gt;
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections &amp;quot;true&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Verbose logging&lt;br /&gt;
// Unattended-Upgrade::Verbose &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Print debugging information both in unattended-upgrades and&lt;br /&gt;
// in unattended-upgrade-shutdown&lt;br /&gt;
// Unattended-Upgrade::Debug &amp;quot;false&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// Allow package downgrade if Pin-Priority exceeds 1000&lt;br /&gt;
// Unattended-Upgrade::Allow-downgrade &amp;quot;false&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
And that&amp;#039;s pretty much your &amp;lt;b&amp;gt;Basic Quick Start Auto Updates&amp;lt;/b&amp;gt; taken care of!&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==What time does &amp;lt;code&amp;gt;unattended-upgrades&amp;lt;/code&amp;gt; run?==&lt;br /&gt;
By default, the unattended-upgrades tool in Ubuntu is configured to run once a day at a random time between 6:00 AM and 7:00 AM, local time.&lt;br /&gt;
&lt;br /&gt;
However, you can modify the time at which unattended-upgrades runs by editing the &amp;#039;&amp;#039;&amp;#039;/etc/apt/apt.conf.d/20auto-upgrades&amp;#039;&amp;#039;&amp;#039; file. In this file, you can set the &amp;#039;&amp;#039;&amp;#039;APT::Periodic::RandomSleep&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;APT::Periodic::Unattended-Upgrade::RandomSleep&amp;#039;&amp;#039;&amp;#039; options to specify the range of random delay times in seconds before &amp;#039;&amp;#039;&amp;#039;unattended-upgrades&amp;#039;&amp;#039;&amp;#039; runs.&lt;br /&gt;
&lt;br /&gt;
Additionally, you can set the &amp;#039;&amp;#039;&amp;#039;APT::Periodic::Unattended-Upgrade::StartHour&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;APT::Periodic::Unattended-Upgrade::StartMinute&amp;#039;&amp;#039;&amp;#039; options to specify the exact time at which unattended-upgrades runs each day.&lt;br /&gt;
&lt;br /&gt;
For example, if you want &amp;#039;&amp;#039;&amp;#039;unattended-upgrades&amp;#039;&amp;#039;&amp;#039; to run at &amp;#039;&amp;#039;&amp;#039;2:30 AM every day&amp;#039;&amp;#039;&amp;#039;, you can add the following lines to the &amp;#039;&amp;#039;&amp;#039;/etc/apt/apt.conf.d/20auto-upgrades&amp;#039;&amp;#039;&amp;#039; file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
APT::Periodic::Unattended-Upgrade &amp;quot;1&amp;quot;;&lt;br /&gt;
APT::Periodic::Unattended-Upgrade::StartHour &amp;quot;2&amp;quot;;&lt;br /&gt;
APT::Periodic::Unattended-Upgrade::StartMinute &amp;quot;30&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After making changes to this file, you will need to save and close it, and then wait for the specified time to see if the changes have taken effect.&lt;/div&gt;</summary>
		<author><name>Noob</name></author>
	</entry>
</feed>