{"id":2381,"date":"2019-05-06T19:48:00","date_gmt":"2019-05-06T10:48:00","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=2381"},"modified":"2019-05-06T13:51:42","modified_gmt":"2019-05-06T04:51:42","slug":"apt-upgrade-says-that-ping-inetutils-ping-is-broken-and-fails","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2019\/05\/06\/apt-upgrade-says-that-ping-inetutils-ping-is-broken-and-fails\/","title":{"rendered":"apt upgrade \u3067 ping(inetutils-ping) \u304c\u58ca\u308c\u3066\u3044\u308b\u3068\u8a00\u308f\u308c\u3066\u5931\u6557\u3059\u308b"},"content":{"rendered":"<p>Debian sid amd64 \u74b0\u5883\u3067\uff0capt upgrade \u3059\u308b\u3068\u3053\u3093\u306a\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3057\u307e\u3057\u305f\uff0e<\/p>\n<pre><code>$ sudo apt upgrade\r\nReading package lists... Done\r\nBuilding dependency tree     \r\nReading state information... Done    \r\nCalculating upgrade... Done          \r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.         \r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n inetutils-ping : Conflicts: ping\r\nE: Broken packages \r\n<\/code><\/pre>\n<p>ping \u30b3\u30de\u30f3\u30c9\u306f\u3042\u308b\u3057\u5b9f\u884c\u3082\u51fa\u6765\u308b\uff0ereinstall \u3057\u3066\u307f\u307e\u3057\u305f\u304c\u30a8\u30e9\u30fc\u306f\u89e3\u6d88\u3055\u308c\u305a\uff0e<\/p>\n<pre><code>$ sudo apt install --reinstall inetutils-ping                                                                     \r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nThe following package was automatically installed and is no longer required:\r\n  python-newt\r\nUse 'sudo apt autoremove' to remove it.\r\n0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 57 not upgraded.\r\nNeed to get 0 B\/226 kB of archives.\r\nAfter this operation, 0 B of additional disk space will be used.\r\n(Reading database ... 472864 files and directories currently installed.)\r\nPreparing to unpack ...\/inetutils-ping_2%3a1.9.4-7_amd64.deb ...\r\nUnpacking inetutils-ping (2:1.9.4-7) over (2:1.9.4-7) ...\r\nSetting up inetutils-ping (2:1.9.4-7) ...\r\nProcessing triggers for man-db (2.8.5-2) ...\r\n<\/code><\/pre>\n<p>\u4e00\u6642\u7684\u306b\u524a\u9664\u3057\u3066\u307f\u307e\u3057\u305f\uff0e<\/p>\n<pre><code>$ sudo apt remove inetutils-ping\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following package was automatically installed and is no longer required:\r\n  python-newt\r\nUse 'sudo apt autoremove' to remove it.\r\nThe following packages will be REMOVED:\r\n  inetutils-ping\r\n0 upgraded, 0 newly installed, 1 to remove and 57 not upgraded.\r\nAfter this operation, 358 kB disk space will be freed.\r\nDo you want to continue? [Y\/n] \r\n(Reading database ... 472864 files and directories currently installed.)\r\nRemoving inetutils-ping (2:1.9.4-7) ...\r\nProcessing triggers for man-db (2.8.5-2) ...\r\n<\/code><\/pre>\n<p>\u524a\u9664\u3057\u305f\u5f8c apt upgrade \u3092\u8a66\u3059\u3068\u901a\u308a\u307e\u3057\u305f\uff0e<\/p>\n<pre><code>$ sudo apt upgrade\r\n<\/code><\/pre>\n<p>\u305d\u306e\u5f8c ping \u3092 install \u3057\u76f4\u3057\u305f\u3042\u3068 upgrade \u3092\u8a66\u3059\u3068\u30a8\u30e9\u30fc\u306f\u51fa\u306a\u304f\u306a\u308a\u307e\u3057\u305f\uff0e<\/p>\n<pre><code>$ sudo apt install inetutils-ping\r\n$ sudo apt upgrade&gt;\/dev\/null 2&gt;&amp;1;echo $?\r\n0\r\n<\/code><\/pre>\n<p>\u539f\u56e0\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3067\u3059\u306d\u2026\u2026\uff0e<\/p>\n<h2>\u74b0\u5883<\/h2>\n<pre><code>$ dpkg-query -W apt inetutils-ping\r\napt     1.8.0\r\ninetutils-ping  2:1.9.4-7\r\n$ lsb_release -dr\r\nDescription:    Debian GNU\/Linux 10 (buster)\r\nRelease:        10\r\n$ uname -m\r\nx86_64\r\n<\/code><\/pre>\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=B07QHHSPHW&#038;linkId=4e9bc136b7403aff4c3a32c6622262e9\"><\/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=37d1149c7661626230c8946fd912fde6\"><\/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=B07H3NVHW4&#038;linkId=b69ee20984dcee65cb2f677716c36aac\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian sid amd64 \u74b0\u5883\u3067\uff0capt upgrade \u3059\u308b\u3068\u3053\u3093\u306a\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3057\u307e\u3057\u305f\uff0e $ sudo apt upgrade Reading package lists&#8230; Done Building d [&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":[7,6,199],"tags":[202],"class_list":["post-2381","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-debian-sid"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2381","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=2381"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/2381\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=2381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=2381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=2381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}