{"id":553,"date":"2024-09-26T16:29:30","date_gmt":"2024-09-26T07:29:30","guid":{"rendered":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=553"},"modified":"2024-09-26T16:32:50","modified_gmt":"2024-09-26T07:32:50","slug":"sudo-apt-update-%ec%8b%9c-%ec%97%90%eb%9f%ac","status":"publish","type":"page","link":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=553","title":{"rendered":"sudo apt update \uc2dc \uc5d0\ub7ec"},"content":{"rendered":"\n<p>Ubuntu\uc5d0\uc11c <code>sudo apt update<\/code> \uba85\ub839\uc744 \uc2e4\ud589\ud588\uc744 \ub54c \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0, \ub300\ubd80\ubd84\uc740 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc800\uc7a5\uc18c(repository)\uc758 \ubb38\uc81c\uc77c \uac00\ub2a5\uc131\uc774 \ub192\uc2b5\ub2c8\ub2e4. \uc800\uc7a5\uc18c \uc124\uc815\uc744 \ucd08\uae30\ud654\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc800\uc7a5\uc18c\ub97c \ucd08\uae30\ud654\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\ubaa8\ub4e0 PPA \uc800\uc7a5\uc18c \ube44\ud65c\uc131\ud654<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\ubaa8\ub4e0 \uac1c\uc778 \ud328\ud0a4\uc9c0 \uc544\uce74\uc774\ube0c(PPA)\ub97c \ube44\ud65c\uc131\ud654\ud558\ub824\uba74, \ub2e4\uc74c \uba85\ub839\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4:bash<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo add-apt-repository --remove ppa:&lt;repository-name&gt;\n<\/pre><\/div>\n\n\n\n<p>\ubaa8\ub4e0 PPA\ub97c \uc77c\uad04\uc801\uc73c\ub85c \ube44\ud65c\uc131\ud654\ud558\uace0 \uc2f6\ub2e4\uba74, <code>\/etc\/apt\/sources.list.d<\/code> \ub514\ub809\ud1a0\ub9ac\ub97c \ube44\uc6cc\uc8fc\uba74 \ub429\ub2c8\ub2e4:<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo rm \/etc\/apt\/sources.list.d\/*<\/pre><\/div>\n\n\n\n<p><strong>\uba54\uc778 \uc800\uc7a5\uc18c \uc124\uc815 \uc7ac\uc124\uc815<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uba54\uc778 Ubuntu \uc800\uc7a5\uc18c \uc124\uc815\uc744 \uae30\ubcf8\uac12\uc73c\ub85c \uc7ac\uc124\uc815\ud558\ub824\uba74, <code>\/etc\/apt\/sources.list<\/code> \ud30c\uc77c\uc744 \ud3b8\uc9d1\ud574\uc57c \ud569\ub2c8\ub2e4. \uae30\uc874 \ud30c\uc77c\uc744 \ubc31\uc5c5\ud558\uace0 \uc0c8\ub85c \uc791\uc131\ud558\ub294 \uac83\uc774 \uc548\uc804\ud569\ub2c8\ub2e4:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo cp \/etc\/apt\/sources.list \/etc\/apt\/sources.list.backup\nsudo nano \/etc\/apt\/sources.list\n<\/pre><\/div>\n\n\n\n<p>\ud30c\uc77c\uc744 \uc5f4\uace0 \ubaa8\ub4e0 \ub0b4\uc6a9\uc744 \uc0ad\uc81c\ud55c \ud6c4, \uc544\ub798 \ub0b4\uc6a9\uc744 \ubd99\uc5ec\ub123\uc2b5\ub2c8\ub2e4 (\uc5ec\uae30\uc11c\ub294 Ubuntu 20.04\ub97c \uc608\ub85c \ub4e4\uc5c8\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9 \uc911\uc778 \ubc84\uc804\uc5d0 \ub9de\uac8c \ubcc0\uacbd\ud574 \uc8fc\uc138\uc694):<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">deb http:\/\/archive.ubuntu.com\/ubuntu focal main restricted universe multiverse\ndeb http:\/\/archive.ubuntu.com\/ubuntu focal-updates main restricted universe multiverse\ndeb http:\/\/archive.ubuntu.com\/ubuntu focal-security main restricted universe multiverse\ndeb http:\/\/archive.ubuntu.com\/ubuntu focal-backports main restricted universe multiverse\n<\/pre><\/div>\n\n\n\n<p><strong>APT \uce90\uc2dc \ud074\ub9ac\uc5b4<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>APT \uce90\uc2dc\ub97c \ud074\ub9ac\uc5b4\ud558\uc5ec \uc624\ub798\ub41c \uc815\ubcf4\ub97c \uc81c\uac70\ud569\ub2c8\ub2e4:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo apt clean\nsudo apt autoclean\n<\/pre><\/div>\n\n\n\n<p><strong>\ud328\ud0a4\uc9c0 \ubaa9\ub85d \uc5c5\ub370\uc774\ud2b8<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ubcc0\uacbd\uc0ac\ud56d\uc744 \uc801\uc6a9\ud558\uace0 \ud328\ud0a4\uc9c0 \ubaa9\ub85d\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo apt update<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\ucd94\uac00 \uc624\ub958<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >sudo apt update\nHit:1 http:\/\/packages.couchbase.com\/releases\/couchbase-server\/enterprise\/deb focal InRelease\nHit:2 http:\/\/packages.couchbase.com\/releases\/couchbase-server\/community\/deb focal InRelease\nHit:3 http:\/\/packages.couchbase.com\/releases\/couchbase-lite-repo\/enterprise\/deb focal InRelease\nHit:4 http:\/\/packages.couchbase.com\/releases\/couchbase-lite-repo\/community\/deb focal InRelease\nHit:5 http:\/\/archive.ubuntu.com\/ubuntu focal InRelease\nHit:6 http:\/\/ppa.launchpad.net\/ondrej\/php\/ubuntu focal InRelease\nHit:7 http:\/\/archive.ubuntu.com\/ubuntu focal-updates InRelease\nIgn:8 http:\/\/ppa.launchpad.net\/txwikinger\/php5.2\/ubuntu focal InRelease\nHit:9 http:\/\/archive.ubuntu.com\/ubuntu focal-security InRelease\nErr:10 http:\/\/ppa.launchpad.net\/txwikinger\/php5.2\/ubuntu focal Release\n  404  Not Found [IP: 185.125.190.80 80]\nHit:11 http:\/\/archive.ubuntu.com\/ubuntu focal-backports InRelease\nReading package lists... Done\nE: The repository 'http:\/\/ppa.launchpad.net\/txwikinger\/php5.2\/ubuntu focal Release' does not have a Release file.\nN: Updating from such a repository can't be done securely, and is therefore disabled by default.\nN: See apt-secure(8) manpage for repository creation and user configuration details.<\/pre><\/div>\n\n\n\n<p>\uc774 \uc5d0\ub7ec\ub294 <code>ppa:txwikinger\/php5.2<\/code> PPA \uc800\uc7a5\uc18c\uac00 Ubuntu Focal (20.04) \ubc84\uc804\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \uc774\ub7f0 \uacbd\uc6b0 \uc77c\ubc18\uc801\uc73c\ub85c\ub294 \ud574\ub2f9 \uc800\uc7a5\uc18c\ub97c \ube44\ud65c\uc131\ud654\ud558\uac70\ub098 \uc81c\uac70\ud558\ub294 \uac83\uc774 \ud574\uacb0\ucc45\uc785\ub2c8\ub2e4. \ub2e4\uc74c \ub2e8\uacc4\uc5d0 \ub530\ub77c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\uc800\uc7a5\uc18c \ube44\ud65c\uc131\ud654 \ub610\ub294 \uc81c\uac70<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\ud574\ub2f9 PPA \uc800\uc7a5\uc18c\ub97c \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc81c\uac70\ud558\ub824\uba74 \ub2e4\uc74c \uba85\ub839\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" >sudo add-apt-repository --remove ppa:txwikinger\/php5.2\n\nsudo apt clean\nsudo apt update<\/pre><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu\uc5d0\uc11c sudo apt update \uba85\ub839\uc744 \uc2e4\ud589\ud588\uc744 \ub54c \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0, \ub300\ubd80\ubd84\uc740 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc800\uc7a5\uc18c(repository)\uc758 \ubb38\uc81c\uc77c \uac00\ub2a5\uc131\uc774 \ub192\uc2b5\ub2c8\ub2e4. \uc800\uc7a5\uc18c \uc124\uc815\uc744 \ucd08\uae30\ud654\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc800\uc7a5\uc18c\ub97c \ucd08\uae30\ud654\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4: \ubaa8\ub4e0 PPA\ub97c \uc77c\uad04\uc801\uc73c\ub85c \ube44\ud65c\uc131\ud654\ud558\uace0 \uc2f6\ub2e4\uba74, \/etc\/apt\/sources.list.d \ub514\ub809\ud1a0\ub9ac\ub97c \ube44\uc6cc\uc8fc\uba74 \ub429\ub2c8\ub2e4: \uba54\uc778 \uc800\uc7a5\uc18c \uc124\uc815 \uc7ac\uc124\uc815: \ud30c\uc77c\uc744 \uc5f4\uace0 \ubaa8\ub4e0 \ub0b4\uc6a9\uc744 \uc0ad\uc81c\ud55c \ud6c4, \uc544\ub798 \ub0b4\uc6a9\uc744 \ubd99\uc5ec\ub123\uc2b5\ub2c8\ub2e4 (\uc5ec\uae30\uc11c\ub294 Ubuntu 20.04\ub97c \uc608\ub85c \ub4e4\uc5c8\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9 &hellip;<br \/><a href=\"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=553\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">sudo apt update \uc2dc \uc5d0\ub7ec<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-553","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=553"}],"version-history":[{"count":2,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/553\/revisions"}],"predecessor-version":[{"id":556,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/553\/revisions\/556"}],"wp:attachment":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}