{"id":369,"date":"2024-09-04T11:47:07","date_gmt":"2024-09-04T02:47:07","guid":{"rendered":"https:\/\/drroot.page\/wp\/?p=369"},"modified":"2024-09-18T00:13:09","modified_gmt":"2024-09-17T15:13:09","slug":"wsl2%e3%81%aeubuntu-22-04-lts%e3%81%abwine%e3%81%8c%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/drroot.page\/wp\/?p=369","title":{"rendered":"WSL2\u306eUbuntu 22.04 LTS\u306bWine\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044"},"content":{"rendered":"<pre><code class=\"language-shell\">$ sudo apt install --install-recommends winehq-stable\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n winehq-stable : Depends: wine-stable (= 9.0.0.0~jammy-1)\nE: Unable to correct problems, you have held broken packages.<\/code><\/pre>\n<p>\u3093\u3067winehq-stable : Depends: wine-stable (= 9.0.0.0~jammy-1)\u3068\u304b\u3044\u3046\u304b\u3089\u3058\u3083\u3042sudo apt install wine-stable\u3057\u3066\u3084\u308d\u3046\u3058\u3083\u3093\u3068\u304b\u3059\u308b\u3068\u3001<\/p>\n<pre><code class=\"language-shell\">Reading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n libgphoto2-6:i386 : Depends: libgd3:i386 (&gt;= 2.1.0~alpha~) but it is not installable<\/code><\/pre>\n<p>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5f93\u3063\u3066\u3093\u306e\u306b\u3053\u308c<br \/>\n\u3067\u826f\u304f\u898b\u308b\u3068\u516c\u5f0f\u306eFAQ\u306bUbuntu\u3067\u306f\u3088\u304f\u3042\u308b\u3053\u3068\u3068\u8a18\u8f09\u304c\u3042\u308b<br \/>\n<a href=\"https:\/\/gitlab.winehq.org\/wine\/wine\/-\/wikis\/FAQ#how-do-i-solve-dependency-errors-when-trying-to-install-wine\">https:\/\/gitlab.winehq.org\/wine\/wine\/-\/wikis\/FAQ#how-do-i-solve-dependency-errors-when-trying-to-install-wine<\/a><\/p>\n<p>\u3056\u3063\u304f\u308a\u8a33<\/p>\n<blockquote>\n<p>ubuntu\u3060\u3068\u3042\u308b\u30d1\u30b1\u306e64bit\u7248\u306832bit\u7248\uff08\u30d1\u30b1\u540d\u304c\uff5e:i386\u306b\u306a\u3063\u3066\u308b\u3084\u3064\uff09\u3092\u540c\u6642\u306b\u5165\u308c\u3088\u3046\u3068\u3057\u305f\u5834\u5408\u3001\u4e21\u65b9\u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u3058\u3083\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u6c7a\u307e\u308a\u304c\u3042\u308b\u3088<br \/>\n\u3093\u3067\u4f8b\u3048\u3070\u516c\u5f0f\u30ea\u30dd\u306b\u4e0a\u304c\u3063\u3066\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u6bce\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u9055\u3063\u305f\u308a\u3059\u308b\u3068\u3001\u7247\u65b9\u5165\u308c\u305f\u3089\u81ea\u52d5\u3067\u3082\u3046\u7247\u65b9\u304c\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u308a\u3059\u308b\u3088<br \/>\nPPA\u3068\u304b\u3067\u3088\u304f\u8d77\u3053\u308b\u3084\u3064\u3060\u3051\u3069\u3001\u3053\u308c\u304c\u8d77\u304d\u305f\u3089\u30ea\u30dd\u8a2d\u5b9a\u5f04\u3063\u3066\u9069\u5207\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5165\u308b\u3088\u3046\u306b\u3057\u3066\u306d<\/p>\n<\/blockquote>\n<p>\u3067\u4e0a\u306e\u4f8b\u3060\u3068\u66f4\u306blibgd3:i386\u304c\u5165\u3089\u3093\u3068\u304b\u8a00\u308f\u308c\u3066\u308b\u308f\u3051\u3060\u304c\u3001\u5b9f\u969b\u306b\u3053\u308c\u3092\u5165\u308c\u3088\u3046\u3068\u3059\u308b\u3068\u52dd\u624b\u306blibgd3\u306e64bit\u7248\u304c\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<br \/>\n\u305d\u308c\u305e\u308c\u306e\u30d1\u30b1\u304c\u3069\u3053\u304b\u3089\u3069\u3046\u5165\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u308b\u304b\u8abf\u3079\u308b\u3068\u3001<\/p>\n<pre><code class=\"language-shell\">$ apt policy libgd3\nlibgd3:\n  Installed: (none)\n  Candidate: 2.3.3-12+ubuntu22.04.1+deb.sury.org+1\n  Version table:\n     2.3.3-12+ubuntu22.04.1+deb.sury.org+1 500\n        500 https:\/\/ppa.launchpadcontent.net\/ondrej\/php\/ubuntu jammy\/main amd64 Packages\n     2.3.0-2ubuntu2 500\n        500 http:\/\/archive.ubuntu.com\/ubuntu jammy\/main amd64 Packages\n\n$ apt policy libgd3:i386\nlibgd3:i386:\n  Installed: 2.3.3-6+ubuntu22.04.1+deb.sury.org+1\n  Candidate: 2.3.3-6+ubuntu22.04.1+deb.sury.org+1\n  Version table:\n *** 2.3.3-6+ubuntu22.04.1+deb.sury.org+1 500\n        500 https:\/\/ppa.launchpadcontent.net\/ondrej\/php\/ubuntu jammy\/main i386 Packages\n        100 \/var\/lib\/dpkg\/status\n     2.3.0-2ubuntu2 500\n        500 http:\/\/archive.ubuntu.com\/ubuntu jammy\/main i386 Packages<\/code><\/pre>\n<p>\u3064\u307e\u308a64bit\u304c<em>2.3.3-12&#8230;<\/em>\u306732bit\u304c<em>2.3.3-6&#8230;<\/em>\u3060\u304b\u3089\u3069\u3063\u3061\u304b\u4e00\u65b9\u3057\u304b\u5165\u3089\u3093\u3088\u3068\u3002<br \/>\n\u6050\u3089\u304f\u7406\u60f3\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3042\u3063\u3066\u308b\u6700\u65b0\u7248\u306e\u30ea\u30dd\u3092\u5165\u308c\u308b\u4e8b\u306a\u3093\u3060\u308d\u3046\u3051\u3069\u3001\u3081\u3093\u3069\u3044\u306e\u3067\u7b2c\u4e8c\u5019\u88dc\u306e2.3.0-2ubuntu2\u3068\u3084\u3089\u3092\u5165\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<pre><code>sudo apt install libgd3=2.3.0-2ubuntu2 libgd3:i386=2.3.0-2ubuntu2<\/code><\/pre>\n<p>\u3057\u305f\u3089\u3042\u3068\u306fsudo apt install &#8211;install-recommends winehq-\u25ef\u25ef\u53e9\u304d\u76f4\u3057\u3066\u52dd\u3061\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ sudo apt install &#8211;install-recommends  &hellip; <a href=\"https:\/\/drroot.page\/wp\/?p=369\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-369","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=369"}],"version-history":[{"count":1,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drroot.page\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}