{"id":3897,"date":"2020-11-12T15:47:53","date_gmt":"2020-11-12T06:47:53","guid":{"rendered":"https:\/\/okamurax.com\/?p=3897"},"modified":"2020-11-12T15:47:53","modified_gmt":"2020-11-12T06:47:53","slug":"ubuntu-apt%e3%82%ab%e3%83%bc%e3%83%8d%e3%83%ab%e3%83%91%e3%83%83%e3%83%81","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=3897","title":{"rendered":"Ubuntu apt(\u30ab\u30fc\u30cd\u30eb\u30d1\u30c3\u30c1)"},"content":{"rendered":"<p><span style=\"color: #0000ff;\">sudo apt upgrade<\/span><br \/>\n\u306b\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u305f\u3002<br \/>\nA new version of \/boot\/grub\/menu.lst is available, but the version installed currently has been locally modified<\/p>\n<p>\u9078\u629e\u80a2\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u3002<\/p>\n<p>\u30fbinstall the package maintainer&#8217;s verstion<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30e1\u30f3\u30c6\u30ca\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u30fbkeep the local version currently installed<br \/>\n\u73fe\u5728\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30ed\u30fc\u30ab\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4fdd\u6301<\/p>\n<p>\u30fbshow the differences between the versions<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u306e\u5dee\u7570\u3092\u8868\u793a<\/p>\n<p>\u30fbshow a side-by-side difference between the versions<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u306e\u5dee\u7570\u3092\u4e26\u884c\u8868\u793a<\/p>\n<p>\u30fbshow a 3-way difference between available vertions<br \/>\n\u5229\u7528\u53ef\u80fd\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u306e3\u7a2e\u985e\u306e\u5dee\u7570\u3092\u8868\u793a<\/p>\n<p>\u30fbdo a 3-way merge between available versions<br \/>\n\u5229\u7528\u53ef\u80fd\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u9593\u3067\u306e3\u7a2e\u985e\u30de\u30fc\u30b8\u3092\u884c\u3046 (\u5b9f\u9a13\u7684)<\/p>\n<p>\u30fbstart a new shell to examine the situation<br \/>\n\u72b6\u6cc1\u3092\u691c\u8a0e\u3059\u308b\u305f\u3081\u306e\u65b0\u3057\u3044\u30b7\u30a7\u30eb\u3092\u8d77\u52d5<\/p>\n<p>\uff0a\uff0a\uff0a<\/p>\n<p><span style=\"color: #0000ff;\">\u30fbinstall the package maintainer&#8217;s verstion<\/span><br \/>\n\u3092\u5b9f\u884c\u3057\u305f\u304c\u3001\u4e00\u5fdc\u3001<br \/>\n<span style=\"color: #0000ff;\">sudo vim \/boot\/grub\/menu.lst<\/span><br \/>\n\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f\u3068\u3002<\/p>\n<p>\u25cf\u65e7<\/p>\n<p>title Ubuntu 18.04.1 LTS, kernel 4.15.0-43-generic<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-43-generic root=LABEL=cloudimg-rootfs ro console=hvc0<br \/>\ninitrd \/boot\/initrd.img-4.15.0-43-generic<\/p>\n<p>title Ubuntu 18.04.1 LTS, kernel 4.15.0-43-generic (recovery mode)<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-43-generic root=LABEL=cloudimg-rootfs ro single<br \/>\ninitrd \/boot\/initrd.img-4.15.0-43-generic<\/p>\n<p>\u25cf\u65b0<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-123-generic<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-123-generic root=LABEL=cloudimg-rootfs ro console=hvc0<br \/>\ninitrd \/boot\/initrd.img-4.15.0-123-generic<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-123-generic (recovery mode)<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-123-generic root=LABEL=cloudimg-rootfs ro single<br \/>\ninitrd \/boot\/initrd.img-4.15.0-123-generic<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-122-generic<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-122-generic root=LABEL=cloudimg-rootfs ro console=hvc0<br \/>\ninitrd \/boot\/initrd.img-4.15.0-122-generic<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-122-generic (recovery mode)<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-122-generic root=LABEL=cloudimg-rootfs ro single<br \/>\ninitrd \/boot\/initrd.img-4.15.0-122-generic<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-43-generic<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-43-generic root=LABEL=cloudimg-rootfs ro console=hvc0<br \/>\ninitrd \/boot\/initrd.img-4.15.0-43-generic<\/p>\n<p>title Ubuntu 18.04.5 LTS, kernel 4.15.0-43-generic (recovery mode)<br \/>\nroot (hd0)<br \/>\nkernel \/boot\/vmlinuz-4.15.0-43-generic root=LABEL=cloudimg-rootfs ro single<br \/>\ninitrd \/boot\/initrd.img-4.15.0-43-generic<\/p>\n<p>\u3068\u306a\u3063\u305f\u3002<\/p>\n<p>\u73fe\u5728\u306e\u30ab\u30fc\u30cd\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u65b9\u6cd5<br \/>\n<span style=\"color: #0000ff;\">uname -r<\/span><br \/>\n4.15.0-123-generic<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sudo apt upgrade \u306b\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u305f\u3002 A new version of \/boot\/grub\/menu.lst is available, but the version install &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=3897\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Ubuntu apt(\u30ab\u30fc\u30cd\u30eb\u30d1\u30c3\u30c1)&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[145],"class_list":["post-3897","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/3897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3897"}],"version-history":[{"count":1,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/3897\/revisions"}],"predecessor-version":[{"id":3898,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/3897\/revisions\/3898"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}