<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>progrunner17</author_name>
  <author_url>https://blog.hatena.ne.jp/progrunner17/</author_url>
  <blog_title>Re Inventing the Wheel.</blog_title>
  <blog_url>https://progrunner.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ubuntu</anon>
    <anon>Python</anon>
  </categories>
  <description>まとめ Ubuntu18.04で python3 パッケージをインストールするとデフォルトでは python3.6 が入ります。 ただ諸事情で新しいバージョンを使いたくなったので、python3.8 パッケージをインストールして、 update-alternativesを使って python3 コマンドを使った際に呼び出されるバージョンを変更してみたところ、後述のようにaptが壊れてしまいました。 デフォルト以外バージョンのpythonを使いたいときは、おおちゃくせずにpyenvとかを使いましょうという教訓。 詳細 前述のようにpython3のバージョンを変えて使っていたら、以下のように「ap…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogrunner.hatenablog.jp%2Fentry%2F2020%2F11%2F29%2F201343&quot; title=&quot;Ubuntu18.04でpython3のデフォルトを3.6から3.8に変更したらaptが壊れた話 - Re Inventing the Wheel.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-29 20:13:43</published>
  <title>Ubuntu18.04でpython3のデフォルトを3.6から3.8に変更したらaptが壊れた話</title>
  <type>rich</type>
  <url>https://progrunner.hatenablog.jp/entry/2020/11/29/201343</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
