{"componentChunkName":"component---src-templates-post-template-js","path":"/2019/04/01/update-wsl-from-18.04-18.10/","result":{"data":{"mdx":{"frontmatter":{"title":"Update Windows Subsystem Linux Ubuntu from 18.04 to 18.10","date":"2019 April 1st"},"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"date\": \"2019-04-01T00:00:00.000Z\",\n  \"title\": \"Update Windows Subsystem Linux Ubuntu from 18.04 to 18.10\",\n  \"tags\": [\"information\", \"learning\", \"wsl\", \"guide\", \"bash on windows\", \"ubuntu\"],\n  \"published\": true\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h2\", {\n    \"id\": \"already-use-wsl-with-ubuntu-want-an-upgrade\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#already-use-wsl-with-ubuntu-want-an-upgrade\",\n    \"aria-label\": \"already use wsl with ubuntu want an upgrade permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"Already use WSL with Ubuntu? Want an Upgrade??\"), mdx(\"p\", null, \"This is a guide that will cover upgrading Windows Subsystem Linux\\n(WSL) from the current LTS version to the latest \\u2018normal\\u2019 version\\n18.10.\"), mdx(\"p\", null, \"I found this post on \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://dev.to\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"dev.to\"), \" this weekend detailing going from\\nversion 18.04 to 18.10 on Ubuntu for Windows Subsystem Linux. You will\\nknow form \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://thelocalhost.blog/wsl-bootstrap-2019#update-upgrade-and-autoremove\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"earlier posts from me\"), \" that trying to go the update route\\non WSL is time consuming and you\\u2019re basically better off starting\\nagain.\"), mdx(\"p\", null, \"I tried it myself and got in a bit of trouble, you can see by checking\\nout the comments on \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://dev.to/david_j_eddy/how-to-upgrade-wsl-ubuntu-18-04-to-18-10-203\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"David\\u2019s post\")), mdx(\"p\", null, \"So from uninstalling my version of Ubuntu I went ahead and tried\\nagain, if you have read the comment\\u2019s on \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://dev.to/david_j_eddy/how-to-upgrade-wsl-ubuntu-18-04-to-18-10-203\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"David\\u2019s post\"), \" you\\u2019ll see\\nthat I came up against an issue with being unable to reach the \\u2018snap\\nstore\\u2019. I don\\u2019t know what that is or means but basically it stopped my\\nupgrade and I was left not knowing if I was fully upgraded or not.\"), mdx(\"p\", null, \"Thankfully someone else had come across the same problem and asked on\\n\", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://askubuntu.com/questions/1119301/your-system-is-unable-to-reach-the-snap-store\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"Stack Overflow\"), \", basically you need to uninstall Lxd with:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sudo dpkg --force depends -P lxd; sudo dpkg --force depends -P lxd-client\\n\")), mdx(\"p\", null, \"Now we can go about updating Ubuntu with the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"do-release-upgrade\"), \"\\ncommand, if you do that right away you may see something along the\\nlines of:\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"534px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/7d50b4fcaaff9385631fc85d31cd2418/a07a7/noLtsUpgrade.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": [\"noopener\"]\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"47.5%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/svg+xml,%3csvg%20xmlns=\\\\'http://www.w3.org/2000/svg\\\\'%20width=\\\\'400\\\\'%20height=\\\\'191\\\\'%20viewBox=\\\\'0%200%20400%20191\\\\'%20preserveAspectRatio=\\\\'none\\\\'%3e%3cpath%20d=\\\\'M0%209l1%208c0-1%202%200%202%202l2%203v-3l1-3%201%202c0%202%200%202%201%201%203-3%207%202%205%205-2%202-8%201-10-2l-1-2v2l-1%203-1%203c0%203%200%204%202%203l4%201h3c1-2%202-1%202%203l1%204v1c-2%200-3-1-3-3%200-3-1-3-3%200%200%202-2%203-3%203-3%200-3%201-3%203%200%203%200%204%202%203%202%200%203%200%204%202%201%201%202%202%203%201l2-1c3%201%202%204%200%204-2%201-2%201%200%202l3%201h-3l-4-1H6l-4%201c-2%200-2%200-2%203s0%204%203%204c2%200%203%200%203%203v5l-2-1-1-2-1%202-1%201-1%205c0%203%200%204%201%203%201-2%204-3%205-1l-1%201c-3%201-4%204-2%205s4%200%204-1c0-3%203-4%205-3s5%200%207-3c1-1%201-1%201%202s0%203%201%202c1-2%205-3%205-1%201%202%200%203-2%203s-2%200-1%201h2l1%201c0%202-4%201-5-1h-1c0%202-4%203-6%201h-1c-2%202-11%201-12-1-1-1-1%203-1%2013s0%2013%201%2012l3-2h5l2%202c2%201%202%202%202%204%200%203%200%203-1%201-1-3-3-4-3-1s-6%204-8%201c-1-1-1%200-1%203v5h5l4%201%202%201c2%201%202%202%202%204%200%203%200%203-1%201-1-3-3-4-3-1l-1%203-1-4c0-5-3-4-3%201l-1%204v-4l-1-4c-2-1-2%200-2%206v7h4c3%200%203%200%202%201l-2%205-1%204v-4l-1-4c-2-1-2%202-2%2026v27h401V0H213v4c0%204%200%205%202%205%201%201%200%201-1%201-2%200-3-1-3-4l-1-4V1l-13-1-13%201%202%203c4%201%203%205%200%206-3%200-3%200-3-5V0h-11l1%204%201%205c1%201%201%201-1%201s-2-1-2-4l-1-5c-2-1-11-2-11%200l1%201c2%200%201%202-1%202h-2l2%201c3%201%203%203%201%205-1%202-1%202-3%201-2-2-1-3%201-2l2-1-2-1c-2-1-3-3-1-4%204-3-4-3-78-3H0v9m66%207v1l-2%201c-3%202-4%202-5%201h-6c-2-2-5-1-6%203l1%203%201-3c0-1%200-2%201-1%201%203%2010%206%2010%203h1l4%201c2%200%202%200%202-5s0-6-1-4m42%2019c0%204%201%205%203%205l3-1h1c0%202%205%201%206-1h1l3%202c3%200%203%200%203-3l-1-3c-1-1-1%200-1%202l-1%203-1-2-1-3c-1-1-1%200-1%201h-1l-3-2-1-1c0-3-4%200-4%203-1%204-2%204-3%200l-1-4-1%204m8%2011h-2l-1%204c-1%204-2%204-3%200l-1-4-1%204c0%204%201%205%203%205l3-1h1c0%202%205%201%206-1h1l3%202c3%200%203%200%203-3l-1-3c-1-1-1%200-1%202l-1%203-1-2-1-3c-1-1-1%200-1%201h-1l-2-2-2-2h-1M35%2093c-2%204-1%209%203%209%202%200%202%200%200-1-3-1-3-2%201-2h7c2-3%201-8-3-8l-2%202h-1c-1-3-4-2-5%200m81%2031c-2%202-1%205%201%206l4-2c1-1%201-1%201%201%200%203%201%204%202%202l3-1c3%200%203-1%203-3s0-2%201%200l1%202v-2c1-2%201-2%201%200s0%203%204%203c3%200%204%200%203-1h-1l-1-1%202-1c1-1%202%200%202%201l1%202%201-2%201-3%201%203%201%202%201-3c0-3-2-5-5-3h-16c-2-2-5-1-5%201h-1c-1-2-3-3-5-1m111%2012l-2%202c-3%201-2%206%201%207%202%200%203%200%203-2h1l3%202c3%200%202-2%200-2s-2%200%201-1c2-2%203-2%203%201%201%203%203%203%204-1%202-2%202-2%202%200s2%203%205%203c1-1%201-1-1-2l-2-1h1c2%200%204-2%202-3h-5c0-2-2-1-3%202v3l-1-3c-2-4-2-4-3-2h-1c0-2-4-1-5%201%200%201-1%201-1-2s-1-3-2-2M0%20164l1%2019c0-7%200-8%202-8%203%200%204-2%201-4v-1l2-1-2-1c-3%201-3%200-3-4s0-4%203-4c2%200%203-2%200-4v-1l2-1-2-1c-3%201-3%201-3-8l-1%2019m257-24c-2%203%200%205%205%205%203%200%203-1%203-3s0-2%201%200v2l1-2c1-2%201-2%201%200s0%203%204%203c3%200%204%200%203-1l-2-1-1-1h1c2%200%204-2%202-3h-13c-2-2-4-1-5%201M35%20169c-2%203%200%207%203%208%202%200%202%200%200-1-3-1-3-2%201-2h7c2-3%201-8-3-8l-2%202h-1c-2-3-4-2-5%201\\\\'%20fill=\\\\'%23d3d3d3\\\\'%20fill-rule=\\\\'evenodd\\\\'/%3e%3c/svg%3e')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"picture\", {\n    parentName: \"a\"\n  }, \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/7d50b4fcaaff9385631fc85d31cd2418/60a22/noLtsUpgrade.webp 160w\", \"/static/7d50b4fcaaff9385631fc85d31cd2418/4c812/noLtsUpgrade.webp 320w\", \"/static/7d50b4fcaaff9385631fc85d31cd2418/29722/noLtsUpgrade.webp 534w\"],\n    \"sizes\": \"(max-width: 534px) 100vw, 534px\",\n    \"type\": \"image/webp\"\n  })), \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/7d50b4fcaaff9385631fc85d31cd2418/69538/noLtsUpgrade.png 160w\", \"/static/7d50b4fcaaff9385631fc85d31cd2418/72799/noLtsUpgrade.png 320w\", \"/static/7d50b4fcaaff9385631fc85d31cd2418/a07a7/noLtsUpgrade.png 534w\"],\n    \"sizes\": \"(max-width: 534px) 100vw, 534px\",\n    \"type\": \"image/png\"\n  })), \"\\n        \", mdx(\"img\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/7d50b4fcaaff9385631fc85d31cd2418/a07a7/noLtsUpgrade.png\",\n    \"alt\": \"no lts upgrade\",\n    \"title\": \"no lts upgrade\",\n    \"loading\": \"lazy\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  })), \"\\n      \"), \"\\n  \"), \"\\n    \")), mdx(\"p\", null, \"This is setting the updater to to only check for Long Term Support\\nversions, we\\u2019re going to change that now by changing the prompt from\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"lts\"), \" to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"normal\"), \", in bash use:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sudo nano /etc/update-manager/release-upgrades\\n\")), mdx(\"p\", null, \"You should see the default release upgrader settings:\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"640px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/0920e538b6e247b6658b4ae737dd6113/2e06c/defaultRelaeaseUpgrader.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": [\"noopener\"]\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"46.25%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/svg+xml,%3csvg%20xmlns=\\\\'http://www.w3.org/2000/svg\\\\'%20width=\\\\'400\\\\'%20height=\\\\'184\\\\'%20viewBox=\\\\'0%200%20400%20184\\\\'%20preserveAspectRatio=\\\\'none\\\\'%3e%3cpath%20d=\\\\'M1%202c0%202%200%203%202%202%201%200%202%200%202%202l1%204c0%202%200%202-2%202H1v13c0%2012%200%2013%202%2012%202%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203l-2%203c-1%200-2%201-2%203s0%203%202%202c2%200%202%200%202%203%200%202-1%202-2%202-2%200-2%201-2%202%200%202%201%203%202%203%202%200%202%203%200%205-1%202-2%203-2%207v4h399V0H1v2\\\\'%20fill=\\\\'%23d3d3d3\\\\'%20fill-rule=\\\\'evenodd\\\\'/%3e%3c/svg%3e')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"picture\", {\n    parentName: \"a\"\n  }, \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/0920e538b6e247b6658b4ae737dd6113/60a22/defaultRelaeaseUpgrader.webp 160w\", \"/static/0920e538b6e247b6658b4ae737dd6113/4c812/defaultRelaeaseUpgrader.webp 320w\", \"/static/0920e538b6e247b6658b4ae737dd6113/0ba47/defaultRelaeaseUpgrader.webp 640w\", \"/static/0920e538b6e247b6658b4ae737dd6113/e46b2/defaultRelaeaseUpgrader.webp 960w\", \"/static/0920e538b6e247b6658b4ae737dd6113/af3f0/defaultRelaeaseUpgrader.webp 1280w\", \"/static/0920e538b6e247b6658b4ae737dd6113/7ad36/defaultRelaeaseUpgrader.webp 1637w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/webp\"\n  })), \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/0920e538b6e247b6658b4ae737dd6113/69538/defaultRelaeaseUpgrader.png 160w\", \"/static/0920e538b6e247b6658b4ae737dd6113/72799/defaultRelaeaseUpgrader.png 320w\", \"/static/0920e538b6e247b6658b4ae737dd6113/6af66/defaultRelaeaseUpgrader.png 640w\", \"/static/0920e538b6e247b6658b4ae737dd6113/d9199/defaultRelaeaseUpgrader.png 960w\", \"/static/0920e538b6e247b6658b4ae737dd6113/21b4d/defaultRelaeaseUpgrader.png 1280w\", \"/static/0920e538b6e247b6658b4ae737dd6113/2e06c/defaultRelaeaseUpgrader.png 1637w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/png\"\n  })), \"\\n        \", mdx(\"img\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/0920e538b6e247b6658b4ae737dd6113/6af66/defaultRelaeaseUpgrader.png\",\n    \"alt\": \"default release ugrader\",\n    \"title\": \"default release ugrader\",\n    \"loading\": \"lazy\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  })), \"\\n      \"), \"\\n  \"), \"\\n    \")), mdx(\"p\", null, \"You\\u2019ll need to set it to normal:\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"640px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/f459e42150a391a68786a8b0a9562a03/fd8a5/normalRelaeaseUpgrader.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": [\"noopener\"]\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"45.62500000000001%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/svg+xml,%3csvg%20xmlns=\\\\'http://www.w3.org/2000/svg\\\\'%20width=\\\\'400\\\\'%20height=\\\\'184\\\\'%20viewBox=\\\\'0%200%20400%20184\\\\'%20preserveAspectRatio=\\\\'none\\\\'%3e%3cpath%20d=\\\\'M0%203c0%202%200%202%201%200l3-2%201%202-1%203-2%201C0%206%200%207%200%2022c0%209%200%2015%201%2014l2-2c2%200%202%200%202%202l-1%202c0%201-1%202-2%201-2%200-2%200-2%205%200%204%200%204%201%202%201-1%201-2%203-1l1%202-1%202-2%201c-2-1-2%200-2%204s0%205%201%203c2-4%204-2%203%202l-2%202c-2-1-2%200-2%204s0%205%201%203l3-2%201%202-1%203-2%201c-2-1-2%200-2%204s0%205%201%203l3-2%201%202-1%203-2%201c-2-1-2%200-2%204s0%205%201%203l3-2%201%202-1%203-2%201c-2-1-2%200-2%204%200%203%200%204%201%203l2-2c2%200%202%200%202%202l-1%203-2%201c-2-1-2%200-2%204%200%203%200%204%201%203l2-2c2%200%202%200%202%202l-1%202-2%201c-2%200-2%201-2%205s0%204%201%202c1-1%201-2%203-1l1%202-1%202-2%201c-2-1-2%200-2%204%200%205%200%205%201%203s3-3%203-1v3c0%202%200%202-2%202-2-1-2%200-2%204s0%205%201%203l3-2%201%202-1%203-2%201c-2-1-2%200-2%204s0%205%201%203l3-2%201%202-1%203-2%201c-2-1-2%200-2%202s0%203%202%202c3-1%204%203%201%205s-3%203-3%209v7h401V0H0v3\\\\'%20fill=\\\\'%23d3d3d3\\\\'%20fill-rule=\\\\'evenodd\\\\'/%3e%3c/svg%3e')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"picture\", {\n    parentName: \"a\"\n  }, \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/f459e42150a391a68786a8b0a9562a03/60a22/normalRelaeaseUpgrader.webp 160w\", \"/static/f459e42150a391a68786a8b0a9562a03/4c812/normalRelaeaseUpgrader.webp 320w\", \"/static/f459e42150a391a68786a8b0a9562a03/0ba47/normalRelaeaseUpgrader.webp 640w\", \"/static/f459e42150a391a68786a8b0a9562a03/e46b2/normalRelaeaseUpgrader.webp 960w\", \"/static/f459e42150a391a68786a8b0a9562a03/af3f0/normalRelaeaseUpgrader.webp 1280w\", \"/static/f459e42150a391a68786a8b0a9562a03/a3d21/normalRelaeaseUpgrader.webp 1659w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/webp\"\n  })), \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/f459e42150a391a68786a8b0a9562a03/69538/normalRelaeaseUpgrader.png 160w\", \"/static/f459e42150a391a68786a8b0a9562a03/72799/normalRelaeaseUpgrader.png 320w\", \"/static/f459e42150a391a68786a8b0a9562a03/6af66/normalRelaeaseUpgrader.png 640w\", \"/static/f459e42150a391a68786a8b0a9562a03/d9199/normalRelaeaseUpgrader.png 960w\", \"/static/f459e42150a391a68786a8b0a9562a03/21b4d/normalRelaeaseUpgrader.png 1280w\", \"/static/f459e42150a391a68786a8b0a9562a03/fd8a5/normalRelaeaseUpgrader.png 1659w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/png\"\n  })), \"\\n        \", mdx(\"img\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/f459e42150a391a68786a8b0a9562a03/6af66/normalRelaeaseUpgrader.png\",\n    \"alt\": \"default release ugrader\",\n    \"title\": \"default release ugrader\",\n    \"loading\": \"lazy\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  })), \"\\n      \"), \"\\n  \"), \"\\n    \")), mdx(\"p\", null, \"Now we can go and do the release upgrade command:\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sudo do-release-upgrade\\n\")), mdx(\"h2\", {\n    \"id\": \"upgrade-time\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#upgrade-time\",\n    \"aria-label\": \"upgrade time permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"Upgrade time!\"), mdx(\"p\", null, \"Now I was quite surprised that it didn\\u2019t \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"really\"), \" take that long at\\nall for the upgrade to complete, you may get asked questions about\\nmodified packages and weather you want to accept the maintainers or\\nkeep your version, I will always go with the maintainers version of\\nany packages. You can do what you like with yours, I\\u2019m not your mum \\uD83D\\uDE1C\"), mdx(\"h2\", {\n    \"id\": \"thats-it\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#thats-it\",\n    \"aria-label\": \"thats it permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"That\\u2019s it\"), mdx(\"p\", null, \"You should now have your Ubuntu WSL version at 18.10 \\uD83D\\uDC4F\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"640px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/659d8b8617efe423b8fb2548500b9806/ddc81/updateComlpete.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": [\"noopener\"]\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"38.75%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/svg+xml,%3csvg%20xmlns=\\\\'http://www.w3.org/2000/svg\\\\'%20width=\\\\'400\\\\'%20height=\\\\'154\\\\'%20viewBox=\\\\'0%200%20400%20154\\\\'%20preserveAspectRatio=\\\\'none\\\\'%3e%3cpath%20d=\\\\'M2%2076v75h27c26%200%2027%200%2026-2-2-2-3-9-1-12%201-3%205-3%207%200l2%203v-3c0-2%205-3%207-1%202%203%202%209-1%2011h-6l-3-1c-4%201-6-4-2-5%203-1%202-3-1-3-4%200-3%2010%202%2011l2%201%2053%201a330%20330%200%200154%201l116-1h116V0H2v76M54%205c-3%206%200%2015%205%2014%202-1%202-1%200-2-5-2-6-11-2-11%203%200%204%202%201%203-4%201-2%206%202%205l3%201h6c3-2%203-8%201-11-2-2-7-1-7%201v3l-2-3c-2-3-6-3-7%200m59-1v11c4%203%208%200%208-6%200-5-5-8-8-5m228%204c-1%201%200%204%203%204l2%201-3%201h-3c1%202%207%202%208%200%202-2%202-2%203%200l4%202c4%200%204-2%200-2-4-1-4-3%200-3%203%200%205-1%203-4-2-2-6-1-8%202s-2%203-5%201l-2-1%202-1%203-1c0-2-6-1-7%201M99%2026l-2%202-4%202c-1%201-1%201-3-1h-9l-5-1h-4v5l1%205%201-4%201-3%201%202%201%202%201-2%201-2%201%204%201%203%201-1h1c2%201%205%201%207-1h3l5%202h3v-7l-1-7-1%202M3%2032l1%206%201-4c0-5%201-5%203%200%202%204%204%205%204%202h2c3%204%208%202%208-3s-6-7-8-3c-2%202-2%202-2-1l-1-4-1%204v4l-2-4c-3-6-5-5-5%203m31-1v7h8c11%200%2013-3%206-8-3-2-3-4%201-2l2-1c-1-2-6-2-7%200-2%202%201%206%204%206l1%201c-1%201-3%202-7%202h-6v-5l-1-6-1%206m19%200v7h3c4%200%207-2%205-5v-4c0-3-1-4-4-4h-4v6M3%2053c0%207%200%207%203%207s6-2%206-5c1-4%203-3%204%201%200%203%201%204%203%204%203%200%204-2%201-2-2-1-2-2-2-4%200-4%200-4-2-4l-3%201-1-1c-1-2-2-3-5-3H3v6m129%201v6h3c4%200%206-2%206-7%200-4-2-6-6-6-3%200-3%200-3%207M3%2076v6h3l5-2c2-2%202-2%203%200s7%203%207%201l-2-1-3-1c-1-2-1-2%202-2s4%200%204-2c0-3-5-4-8-1-2%201-2%201-2-1%200-3-2-4-6-4H3v7m268-4c-3%207%203%2014%208%207%202-4%201-9-4-10-2%200-3%200-4%203M93%2074c-3%206%203%2011%207%207l2-2%201%202%201%201%201-4%201-4c1%200%203%203%203%205l1%203v-9c-2-2-7-1-7%201l-1%202-2-2c-1-3-6-3-7%200m109%2019c-2%204%200%2011%203%2011%204%200%205-2%205-6%200-7-5-10-8-5M29%20114l-2%202-3%202h-3c-3-4-8-2-8%203s5%207%208%203c1-1%201-1%203%201l5%201c2%200%203-1%203-7l-1-7-2%202m33%207c0%206%203%207%203%201%200-2%200-3%201-1%200%203%202%203%202%200l1-2%201%204%201%203%201-1h3l5%201c1-1%201-1-1-2-4-1-5-3-1-3%203%200%204-1%203-3s-5-3-7-1-2%202-2%200l-5-1h-5v5m51%2015c-3%203%200%2012%204%2012%202%200%204-3%204-7s-1-6-4-6l-4%201\\\\'%20fill=\\\\'%23d3d3d3\\\\'%20fill-rule=\\\\'evenodd\\\\'/%3e%3c/svg%3e')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"picture\", {\n    parentName: \"a\"\n  }, \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/659d8b8617efe423b8fb2548500b9806/60a22/updateComlpete.webp 160w\", \"/static/659d8b8617efe423b8fb2548500b9806/4c812/updateComlpete.webp 320w\", \"/static/659d8b8617efe423b8fb2548500b9806/0ba47/updateComlpete.webp 640w\", \"/static/659d8b8617efe423b8fb2548500b9806/a6125/updateComlpete.webp 837w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/webp\"\n  })), \"\\n        \", mdx(\"source\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"srcSet\": [\"/static/659d8b8617efe423b8fb2548500b9806/69538/updateComlpete.png 160w\", \"/static/659d8b8617efe423b8fb2548500b9806/72799/updateComlpete.png 320w\", \"/static/659d8b8617efe423b8fb2548500b9806/6af66/updateComlpete.png 640w\", \"/static/659d8b8617efe423b8fb2548500b9806/ddc81/updateComlpete.png 837w\"],\n    \"sizes\": \"(max-width: 640px) 100vw, 640px\",\n    \"type\": \"image/png\"\n  })), \"\\n        \", mdx(\"img\", _extends({\n    parentName: \"picture\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/659d8b8617efe423b8fb2548500b9806/6af66/updateComlpete.png\",\n    \"alt\": \"update complete\",\n    \"title\": \"update complete\",\n    \"loading\": \"lazy\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  })), \"\\n      \"), \"\\n  \"), \"\\n    \")), mdx(\"p\", null, \"If, like me, you uninstalled Ubuntu and tried to reinstall it and are\\ngetting errors like this:\"), mdx(\"p\", null, mdx(\"img\", _extends({\n    parentName: \"p\"\n  }, {\n    \"src\": \"/e0476cc0d2751828f40541b205165d16/derp-install.gif\",\n    \"alt\": \"error installing ubuntu\"\n  }))), mdx(\"p\", null, \"Then what worked for me was to restart the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"LxssManager\"), \" via a\\nPowerShell console with admin rights.\"), mdx(\"pre\", null, mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-powershell\"\n  }), \"Get-Service LxssManager | Restart-Service\\n\")), mdx(\"h2\", {\n    \"id\": \"wrap-up\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#wrap-up\",\n    \"aria-label\": \"wrap up permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  })))), \"Wrap up!\"), mdx(\"p\", null, \"We went ahead an upgraded our WSL Ubuntu version from 18.04 to 18.10,\\nwe removed Lxd which isn\\u2019t needed on WSL but is part of the Microsoft\\nStore version \\uD83E\\uDD37\\u200D\\u2642\\uFE0F\"), mdx(\"p\", null, \"Then we changed the default behaviour of the release upgrader from\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"lts\"), \" to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"normal\"), \".\"), mdx(\"p\", null, \"Once we have done those two parts we can then go ahead and upgrade\\nUbuntu with `do-release-upgrade.\"), mdx(\"p\", null, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Thanks for reading\"), \" \\uD83D\\uDE4F\"), mdx(\"p\", null, \"Please take a look at my other content if you enjoyed this.\"), mdx(\"p\", null, \"Follow me on \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://twitter.com/spences10\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"Twitter\"), \" or \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/spences10/ama\",\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"Ask Me Anything\"), \" on GitHub.\"));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"Already use WSL with Ubuntu? Want an Upgrade?? This is a guide that will cover upgrading Windows Subsystem Linux\n(WSL) from the current LTS…","tableOfContents":{"items":[{"url":"#already-use-wsl-with-ubuntu-want-an-upgrade","title":"Already use WSL with Ubuntu? Want an Upgrade??"},{"url":"#upgrade-time","title":"Upgrade time!"},{"url":"#thats-it","title":"That's it"},{"url":"#wrap-up","title":"Wrap up!"}]},"timeToRead":2,"fields":{"slug":"/2019/04/01/update-wsl-from-18.04-18.10/","editLink":"https://github.com/spences10/thelocalhost/edit/authoring/posts/2019/04/01/update-wsl-from-18.04-18.10/index.mdx"}}},"pageContext":{"slug":"/2019/04/01/update-wsl-from-18.04-18.10/","previous":{"id":"7c5133ff-9e7b-5b30-9f29-a5bc3bd36955","excerpt":"Hooks ahoy! Ok, let's get it on with the new hotness in Reactland, React Hooks!\nThis is a guide covering using the Gatsby custom React hook for\n StaticQuery  which it is now replacing with  useStaticQuery . If you haven't used Gatsby before…","frontmatter":{"title":"Creating a Custom React Hook for Gatsby Site Metadata","date":"2019-03-24T00:00:00.000Z"},"fields":{"slug":"/2019/03/24/custom-gatsby-metadata-hook/"}},"next":{"id":"eeb454c8-a7e7-5937-80b5-c30cac3ce932","excerpt":"In this guide we're going to cover converting the Gatsby default blog\nstarter to use MDX. All the cool kids are using Gatsby and MDX in their blogs these days.\nIf you already have a blog that uses Gatsby but want to move onto the\nnew hotness then…","frontmatter":{"title":"Convert the Gatsby default starter blog to use MDX","date":"2019-04-09T00:00:00.000Z"},"fields":{"slug":"/2019/04/09/convert-gatsby-default-blog-to-mdx/"}}}}}