{"id":5615,"date":"2024-05-02T14:32:54","date_gmt":"2024-05-02T05:32:54","guid":{"rendered":"https:\/\/i-kiin.net\/?p=5615"},"modified":"2024-06-05T13:58:20","modified_gmt":"2024-06-05T04:58:20","slug":"ubuntu-22-04-jammy-jellyfish-3-updates-could-not-be-installed-automatically","status":"publish","type":"post","link":"https:\/\/i-kiin.net\/?p=5615","title":{"rendered":"Ubuntu 22.04 (Jammy Jellyfish) &#8211; 3 updates could not be installed automatically."},"content":{"rendered":"<p>\uc678\ubd80\uc5d0\uc11c \uc811\uc18d<span id='easy-footnote-1-5615' class='easy-footnote-margin-adjust'><\/span><span class='easy-footnote'><a href='https:\/\/i-kiin.net\/?p=5615#easy-footnote-bottom-1-5615' title='\ubcf4\ud1b5 &lt;code&gt;ssh&lt;\/code&gt; \uc774\uc6a9\ud558\uc5ec &lt;strong&gt;CLI&lt;\/strong&gt; \uc811\uc18d\ud558\ub294 \uacbd\uc6b0\ub97c \uc758\ubbf8\ud55c\ub2e4.'><sup>1<\/sup><\/a><\/span>\ud55c \ud6c4 \uc544\ub798\uc640 \uac19\uc740 \uba54\uc2dc\uc9c0\ub97c \ud655\uc778\ud558\uac8c \ub418\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4.<\/p>\n<blockquote><p>3 updates could not be installed automatically. For more details,<br \/>\nsee \/var\/log\/unattended-upgrades\/unattended-upgrades.log<br \/>\nLast login: (\uc694\uc77c) (\uc6d4) (\uc77c) (\uc2dc\uac01) (\ub144) from aaa.bbb.ccc.ddd<\/p><\/blockquote>\n<p>\uadf8\ub0e5 \ub0c5\ub46c\ub3c4 \uc2dc\uc2a4\ud15c\uc5d0 \uc774\uc0c1\uc740 \uc5c6\uc73c\ub098 \ub85c\uadf8\uc778 \ud560 \ub54c\ub9c8\ub2e4 \ub208\uc5d0 \ub744\uc5b4 \uac78\uadf8\uc801\uac70\ub824\uc11c \uac80\uc0c9\uc744 \ud558\ub2e4 \uc544\ub798\uc758 \uae00\uc744 \ubc1c\uacac\ud588\ub2e4.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.cyberciti.biz\/faq\/set-up-automatic-unattended-updates-for-ubuntu-20-04\/\" target=\"_blank\" rel=\"nofollow noopener\">Set up automatic unattended updates for Ubuntu 20.04<\/a><\/li>\n<li><a href=\"https:\/\/blog.spiralmoon.dev\/entry\/Ubuntu-%EB%B6%80%ED%8C%85-%EC%8B%9C-%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-%EC%9E%90%EB%8F%99-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0\" target=\"_blank\" rel=\"nofollow noopener\">[Ubuntu] \ubd80\ud305 \uc2dc \uc2a4\ud06c\ub9bd\ud2b8 \uc790\ub3d9 \uc2e4\ud589\ud558\uae30<\/a><\/li>\n<\/ul>\n<p>\uc0c1\uae30 \uae00 \ub0b4\uc6a9 \uc911\uc5d0 \ubcf8\uc778\uc774 \ucc28\ub840\ub85c \ud130\ubbf8\ub110\uc5d0\uc11c \uc801\uc6a9\ud55c \ub0b4\uc6a9\uc740 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n<ol>\n<li><code>sudo apt update &amp;&amp; sudo apt -y upgrade<\/code> \uc785\ub825<\/li>\n<li><code>apt list --installed | grep 'unattended-upgrades\\|apt-listchanges\\|bsd-mailx'<\/code> \uc785\ub825\ud558\uc5ec 3\uac00\uc9c0 \ud328\ud0a4\uc9c0 \uc911\uc5d0\uc11c \uc124\uce58 \uc548\ub41c \ud328\ud0a4\uc9c0\ub97c <code>sudo apt install \ubbf8\uc124\uce58_\ud328\ud0a4\uc9c0<\/code> \uc785\ub825\ud558\uc5ec \uc124\uce58<\/li>\n<li><code>sudo dpkg-reconfigure -plow unattended-upgrades<\/code> \uc785\ub825<\/li>\n<li><span style=\"color: #ff0000;\"><strong>Configure unattended-upgrade<\/strong><\/span> <strong>CLI<\/strong> \ud31d\uc5c5 \ub0b4\uc6a9 \ud558\ub2e8\uc5d0 \uc788\ub294 <span style=\"text-decoration: underline;\">Automatically download and install stable updates?<\/span> \uc9c8\ubb38\uc5d0 <span style=\"text-decoration: underline;\">&lt;Yes&gt;<\/span> \uc120\ud0dd<\/li>\n<li><code>sudo vi \/etc\/apt\/apt.conf.d\/50unattended-upgrades<\/code> \uc785\ub825<\/li>\n<li>\ub0b4\uc6a9 \uc911\uc5d0 <code>\/\/Unattended-Upgrade::Mail \"\";<\/code> \ub0b4\uc6a9\uc744 <code>Unattended-Upgrade::Mail \"\uba54\uc77c@\uacc4\uc815\";<\/code> \ub0b4\uc6a9\uc73c\ub85c \ubcc0\uacbd<\/li>\n<li>\ub0b4\uc6a9 \uc911\uc5d0 <code>\/\/Unattended-Upgrade::Automatic-Reboot \"false\";<\/code> \ub0b4\uc6a9\uc744 <code>Unattended-Upgrade::Automatic-Reboot \"true\";<\/code> \ub0b4\uc6a9\uc73c\ub85c \ubcc0\uacbd \ud6c4 \uc800\uc7a5 &amp; \uc885\ub8cc<\/li>\n<li><code>sudo vi \/etc\/apt\/listchanges.conf<\/code> \uc785\ub825<\/li>\n<li>\ub0b4\uc6a9 \uc911\uc5d0 <code>email_address=root<\/code> \ub0b4\uc6a9\uc744 <code>email_address=\uba54\uc77c@\uacc4\uc815<\/code> \ub0b4\uc6a9\uc73c\ub85c \ubcc0\uacbd \ud6c4 \uc800\uc7a5 &amp; \uc885\ub8cc<\/li>\n<li><code>sudo unattended-upgrades --dry-run<\/code> \uc785\ub825\ud558\uc5ec \uc815\uc0c1\uc801\uc73c\ub85c \ub2e4\uc74c \ud589\uc5d0 <strong>\ud504\ub86c\ud504\ud2b8<\/strong> \ub098\uc624\uba74 <span style=\"color: #0000ff;\"><strong>\uc77c\ub2e8<\/strong><\/span> \uc644\ub8cc!!!<\/li>\n<li><code>sudo vi \/etc\/rc.local<\/code> \uc785\ub825 \ud6c4 \uc544\ub798\ucc98\ub7fc \ucc28\ub840\ub85c \uba85\ub839\ubb38 \ucd94\uac00 \ud6c4 \uc800\uc7a5\n<pre>#!\/bin\/bash\n\n\/\/ \ubd80\ud305 \uc2dc \uc2e4\ud589\ud558\uace0 \uc2f6\uc740 \uba85\ub839\uc5b4 or \uc2a4\ud06c\ub9bd\ud2b8 \uc791\uc131\nunattended-upgrades --dry-run\n\nexit 0<\/pre>\n<\/li>\n<li><code>sudo chmod +x \/etc\/rc.local<\/code> \uc785\ub825<\/li>\n<li><code>sudo vi \/lib\/systemd\/system\/rc-local.service<\/code> \uc785\ub825 \ud6c4 \uc544\ub798\ucc98\ub7fc \ubb38\uad6c \ucd94\uac00 \ud6c4 \uc800\uc7a5\n<pre>[Install]\nWantedBy=multi-user.target<\/pre>\n<\/li>\n<li><code>sudo systemctl enable rc-local.service<\/code> \uc785\ub825<\/li>\n<li><code>sudo systemctl start rc-local.service<\/code> \uc785\ub825<\/li>\n<li>\uc7ac\ubd80\ud305\ud558\uc5ec <code>3 updates could not be installed automatically. For more details, \u00b7\u00b7\u00b7blah blah\u00b7\u00b7\u00b7<\/code> \ubb38\uad6c \uc5c6\uc5b4\uc9c4 \uac83\uc744 <span style=\"color: #0000ff;\"><strong>\ucd5c\uc885<\/strong><\/span> \ud655\uc778!!!<\/li>\n<\/ol>\n<p>\uc774\ud6c4 \uc678\ubd80\uc5d0\uc11c \uc811\uc18d\ud558\uba74 \uc81c\ubaa9\uc5d0\uc11c \uba85\uae30\ud55c \uba54\uc2dc\uc9c0\ub97c \ub354\uc774\uc0c1 \ubcf4\uc9c0 \uc54a\uac8c \ub41c\ub2e4.<\/p>\n<p>\uc870\ud68c\uc218: 20<\/p>","protected":false},"excerpt":{"rendered":"<p>\uc678\ubd80\uc5d0\uc11c \uc811\uc18d\ud55c \ud6c4 \uc544\ub798\uc640 \uac19\uc740 \uba54\uc2dc\uc9c0\ub97c \ud655\uc778\ud558\uac8c \ub418\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. 3 updates could not be installed automatically. For more details, see \/var\/log\/unattended-upgrades\/unattended-upgrades.log Last login: (\uc694\uc77c) (\uc6d4) (\uc77c) (\uc2dc\uac01) (\ub144) from aaa.bbb.ccc.ddd \uadf8\ub0e5 \ub0c5\ub46c\ub3c4 \uc2dc\uc2a4\ud15c\uc5d0 \uc774\uc0c1\uc740 \uc5c6\uc73c\ub098 \ub85c\uadf8\uc778 \ud560 \ub54c\ub9c8\ub2e4 \ub208\uc5d0 \ub744\uc5b4 \uac78\uadf8\uc801\uac70\ub824\uc11c \uac80\uc0c9\uc744 \ud558\ub2e4 \uc544\ub798\uc758 \uae00\uc744 \ubc1c\uacac\ud588\ub2e4. Set up automatic unattended updates for Ubuntu 20.04 &#8230; <a title=\"Ubuntu 22.04 (Jammy Jellyfish) &#8211; 3 updates could not be installed automatically.\" class=\"read-more\" href=\"https:\/\/i-kiin.net\/?p=5615\" aria-label=\"Ubuntu 22.04 (Jammy Jellyfish) &#8211; 3 updates could not be installed automatically.\uc5d0 \ub300\ud574 \ub354 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694\">\ub354 \uc77d\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[483],"tags":[1378,2349,2926,3533],"class_list":["post-5615","post","type-post","status-publish","format-standard","hentry","category-pc-and-pc","tag-ubuntu","tag-2349","tag-jammy-jellyfish","tag-unattended-updates"],"_links":{"self":[{"href":"https:\/\/i-kiin.net\/index.php?rest_route=\/wp\/v2\/posts\/5615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i-kiin.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i-kiin.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i-kiin.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i-kiin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5615"}],"version-history":[{"count":0,"href":"https:\/\/i-kiin.net\/index.php?rest_route=\/wp\/v2\/posts\/5615\/revisions"}],"wp:attachment":[{"href":"https:\/\/i-kiin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i-kiin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i-kiin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}