{"id":2420,"date":"2019-07-11T06:22:00","date_gmt":"2019-07-10T21:22:00","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=2420"},"modified":"2019-07-11T02:06:08","modified_gmt":"2019-07-10T17:06:08","slug":"apt-update-after-releasing-debian-10-buster-testing-results-in-an-error","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2019\/07\/11\/apt-update-after-releasing-debian-10-buster-testing-results-in-an-error\/","title":{"rendered":"Debian 10 Buster testing \u3092\u30ea\u30ea\u30fc\u30b9\u5f8c\u306b apt update \u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b"},"content":{"rendered":"<div class=\"paragraph\">\n<p>2019-07-06 \u306b Debian Buster 10 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/www.debian.org\/News\/2019\/20190706\">Debian&#8201;&#8212;&#8201;News&#8201;&#8212;&#8201;Debian 10 &#8220;buster&#8221; released<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p>Debian 10 Buster testing \u74b0\u5883\u3067\u30ea\u30ea\u30fc\u30b9\u5f8c\u306b <code>apt update<\/code> \u3092\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo apt update\r\nGet:1 http:\/\/security.debian.org\/debian-security buster\/updates InRelease [39.1 kB]\r\nGet:2 http:\/\/deb.debian.org\/debian buster InRelease [118 kB]\r\nN: Repository 'http:\/\/security.debian.org\/debian-security buster\/updates InRelease' changed its 'Version' value from '' to '10'\r\nE: Repository 'http:\/\/security.debian.org\/debian-security buster\/updates InRelease' changed its 'Suite' value from 'testing' to 'stable'\r\nN: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.\r\nDo you want to accept these changes and continue updating from this repository? [y\/N]\r\nN: Repository 'http:\/\/deb.debian.org\/debian buster InRelease' changed its 'Version' value from '' to '10.0'\r\nE: Repository 'http:\/\/deb.debian.org\/debian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'\r\nN: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.\r\nDo you want to accept these changes and continue updating from this repository? [y\/N]\r\nReading package lists... Done\r\nE: Failed to fetch http:\/\/deb.debian.org\/debian\/dists\/buster\/InRelease\r\nE: Failed to fetch http:\/\/security.debian.org\/debian-security\/dists\/buster\/updates\/InRelease\r\nE: Some index files failed to download. They have been ignored, or old ones used instead.<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p><code>--allow-releaseinfo-change<\/code> \u3092\u6307\u5b9a\u3057\u3066APT \u306b\u30ea\u30ea\u30fc\u30b9\u3092\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u305f\u3053\u3068\u3092\u6559\u3048\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo apt --allow-releaseinfo-change update<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u6b21\u304b\u3089\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u7121\u3057\u3067\u5b9f\u884c\u3057\u3066\u3082\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u304f\u306a\u308a\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ sudo apt update\r\nHit:1 http:\/\/deb.debian.org\/debian buster InRelease\r\nHit:2 http:\/\/security.debian.org\/debian-security buster\/updates InRelease\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\n3 packages can be upgraded. Run 'apt list --upgradable' to see them.<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3061\u306a\u307f\u306b stable \u3067\u306a\u304f testing \u74b0\u5883\u3092\u4f7f\u3044\u7d9a\u3051\u305f\u3044\u5834\u5408\u306f <code>\/etc\/apt\/sources.list<\/code> \u3092\u73fe\u5728\u306e Debian testing \u306e <code>bullseye<\/code> \u306b\u4fee\u6b63\u3059\u308c\u3070\u3044\u3044\u306f\u305a\uff0e<\/p>\n<\/div>\n<div class=\"ulist\">\n<div class=\"title\">\u53c2\u8003URL<\/div>\n<ul>\n<li>\n<p><a href=\"https:\/\/micronews.debian.org\/2019\/1562520329.html\">If you use apt-get to upgrade to buster, you won&#8217;t be asked about the security repository info changed from &#8216;testing&#8217; to &#8216;stable&#8217;. Use the &#8211;allow-releaseinfo-change option, as Eriberto Mota explains here: http:\/\/eriberto.pro.br\/blog\/2019\/07\/07\/debian-repository-changed-its-suite-value-from-testing-to-stable\/ or use apt instead<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"http:\/\/eriberto.pro.br\/blog\/2019\/07\/07\/debian-repository-changed-its-suite-value-from-testing-to-stable\/\">Debian: repository changed its \u2018Suite\u2019 value from \u2018testing\u2019 to \u2018stable\u2019 | Eriberto Blog<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">\u74b0\u5883<\/div>\n<div class=\"content\">\n<pre>$ dpkg-query -W apt\r\napt     1.8.2\r\n$ hostnamectl | egrep 'Operating System|Architecture'\r\n  Operating System: Debian GNU\/Linux 10 (buster)\r\n      Architecture: x86-64<\/pre>\n<\/div>\n<\/div>\n<p><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B017D20O26&#038;linkId=123b4431318b7932967624046bde2f51\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07SSGTP7W&#038;linkId=01af0cce5d15a569dafa4f865bc33af0\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;language=ja_JP&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B07CM2YNVD&#038;linkId=7eb7cbb990432138d6e86939e0a8a520\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2019-07-06 \u306b Debian Buster 10 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e Debian&#8201;&#8212;&#8201;News&#8201;&#8212;&#8201;Debian 10 &#038;#8220 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[428,7,6,90],"tags":[234,276,450],"class_list":["post-2420","post","type-post","status-publish","format-standard","hentry","category-buster","category-debian-linux","category-linux","category-testing","tag-apt","tag-debian-linux","tag-debian-buster"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=2420"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2420\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=2420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=2420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=2420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}