Skip to content

Commit

Permalink
網站更新: 2024年4月12日 15:38:39
Browse files Browse the repository at this point in the history
  • Loading branch information
tim32503 committed Apr 12, 2024
1 parent f0a89c6 commit a4d3d83
Show file tree
Hide file tree
Showing 92 changed files with 303 additions and 246 deletions.
2 changes: 1 addition & 1 deletion 2018/08/03/particle-in-japanese/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2019/09/11/access-database-error/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2019/09/16/unrecognized-targetframework/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2019/10/05/javaScript-error-for-crystal-report/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2021/04/08/cannot-open-sqlite-file-in-wsl/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2021/04/25/github-notifications-in-discord/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2022/08/23/bundler-error-for-apple-m1/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2022/08/23/install-ruby-for-apple-m1/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2023/02/01/fly-to-singapore/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2023/02/03/osaka-justsleep/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2023/02/04/fubon-costco/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2023/03/11/backend-engineer-with-astro-camp/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2023/11/01/ai-workshop-review/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2024/02/11/command-build-failed/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 2024/02/20/tutorial-about-flyio/index.html

Large diffs are not rendered by default.

Binary file added 2024/03/22/deploy-failed-on-ubuntu-20/cover.webp
Binary file not shown.
56 changes: 48 additions & 8 deletions 2024/03/22/deploy-failed-on-ubuntu-20/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
isHome: false,
isHighlightShrink: false,
isToc: false,
postUpdate: '2024-03-29 10:52:00'
postUpdate: '2024-04-12 15:38:39'
}
</script><script type="application/ld+json">{
"@context" : "https://schema.org",
Expand Down
4 changes: 2 additions & 2 deletions archives/2018/08/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2018/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2019/09/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2019/10/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2019/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2021/04/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2021/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2022/08/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2022/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2023/02/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2023/11/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2023/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2024/02/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2024/03/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/2024/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions archives/page/2/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion categories/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/優惠折扣/KLOOK優惠折扣快報/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/優惠折扣/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/技術筆記/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/技術筆記/page/2/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/技術筆記/都是M1惹的禍?/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/技術筆記/錯誤排除/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions categories/投資理財/index.html

Large diffs are not rendered by default.

Binary file added images/post/tech.webp
Binary file not shown.
23 changes: 20 additions & 3 deletions index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2024-03-29 10:52:00'
postUpdate: '2024-04-12 15:38:39'
}
</script><script type="application/ld+json">{
"@context" : "https://schema.org",
Expand Down Expand Up @@ -282,4 +282,4 @@


例句
...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/images/avatar.webp" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">兩盒</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">15</div></a><a href="/tags/"><div class="headline">標籤</div><div class="length-num">48</div></a><a href="/categories/"><div class="headline">分類</div><div class="length-num">10</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://instagram.com/curihaosity"><i class="fab fa-instagram"></i><span>追蹤我</span></a></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2024/03/22/deploy-failed-on-ubuntu-20/" title="無法在 Ubuntu 20 上部署?!撞牆筆記全記錄"><img src="/2024/03/22/deploy-failed-on-ubuntu-20/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="無法在 Ubuntu 20 上部署?!撞牆筆記全記錄"/></a><div class="content"><a class="title" href="/2024/03/22/deploy-failed-on-ubuntu-20/" title="無法在 Ubuntu 20 上部署?!撞牆筆記全記錄">無法在 Ubuntu 20 上部署?!撞牆筆記全記錄</a><time datetime="2024-03-22T07:30:00.000Z" title="發表於 2024-03-22 15:30:00">2024-03-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/02/20/tutorial-about-flyio/" title="部署平台新寵兒!教你快速上手 Fly.io !"><img src="/2024/02/20/tutorial-about-flyio/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="部署平台新寵兒!教你快速上手 Fly.io !"/></a><div class="content"><a class="title" href="/2024/02/20/tutorial-about-flyio/" title="部署平台新寵兒!教你快速上手 Fly.io !">部署平台新寵兒!教你快速上手 Fly.io !</a><time datetime="2024-02-20T05:10:24.000Z" title="發表於 2024-02-20 13:10:24">2024-02-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/02/11/command-build-failed/" title="Yarn 指令建置失敗!"><img src="/2024/02/11/command-build-failed/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Yarn 指令建置失敗!"/></a><div class="content"><a class="title" href="/2024/02/11/command-build-failed/" title="Yarn 指令建置失敗!">Yarn 指令建置失敗!</a><time datetime="2024-02-11T08:16:58.000Z" title="發表於 2024-02-11 16:16:58">2024-02-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/11/01/ai-workshop-review/" title="與 AI 對話! LLM 應用開發工作坊心得分享!"><img src="/2023/11/01/ai-workshop-review/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="與 AI 對話! LLM 應用開發工作坊心得分享!"/></a><div class="content"><a class="title" href="/2023/11/01/ai-workshop-review/" title="與 AI 對話! LLM 應用開發工作坊心得分享!">與 AI 對話! LLM 應用開發工作坊心得分享!</a><time datetime="2023-11-01T14:59:41.000Z" title="發表於 2023-11-01 22:59:41">2023-11-01</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/02/04/fubon-costco/" title="新卡上路!富邦 Costco 聯名卡懶人包"><img src="/2023/02/04/fubon-costco/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="新卡上路!富邦 Costco 聯名卡懶人包"/></a><div class="content"><a class="title" href="/2023/02/04/fubon-costco/" title="新卡上路!富邦 Costco 聯名卡懶人包">新卡上路!富邦 Costco 聯名卡懶人包</a><time datetime="2023-02-04T11:20:21.000Z" title="發表於 2023-02-04 19:20:21">2023-02-04</time></div></div></div></div><div class="card-widget ads-wrap is-center"><script type="text/javascript"> cv_ad_options = { ad_slot_id: "edb2f37f0a0db578badce273bbd854ab", ad_width: "180", ad_height: "280", mode: "production" }; </script><script text="text/javascript" src="//cdn.adotone.com/adslots/va.ads.js"></script></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>網站資訊</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章數目 :</div><div class="item-count">15</div></div><div class="webinfo-item"><div class="item-name">本站訪客數 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站總訪問量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最後更新時間 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-03-29T02:52:00.121Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2024 By 兩盒</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主題 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="淺色和深色模式轉換"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="單欄和雙欄切換"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="設定"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="返回頂部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜尋</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span> 資料庫載入中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜尋文章" type="text"/></div></div><hr/><div id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div></body></html>
...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/images/avatar.webp" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">兩盒</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">15</div></a><a href="/tags/"><div class="headline">標籤</div><div class="length-num">48</div></a><a href="/categories/"><div class="headline">分類</div><div class="length-num">10</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://instagram.com/curihaosity"><i class="fab fa-instagram"></i><span>追蹤我</span></a></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2024/03/22/deploy-failed-on-ubuntu-20/" title="升級成 Ubuntu 20 後網站開不了?!撞牆筆記全記錄"><img src="/2024/03/22/deploy-failed-on-ubuntu-20/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="升級成 Ubuntu 20 後網站開不了?!撞牆筆記全記錄"/></a><div class="content"><a class="title" href="/2024/03/22/deploy-failed-on-ubuntu-20/" title="升級成 Ubuntu 20 後網站開不了?!撞牆筆記全記錄">升級成 Ubuntu 20 後網站開不了?!撞牆筆記全記錄</a><time datetime="2024-03-22T07:30:00.000Z" title="發表於 2024-03-22 15:30:00">2024-03-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/02/20/tutorial-about-flyio/" title="部署平台新寵兒!教你快速上手 Fly.io !"><img src="/2024/02/20/tutorial-about-flyio/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="部署平台新寵兒!教你快速上手 Fly.io !"/></a><div class="content"><a class="title" href="/2024/02/20/tutorial-about-flyio/" title="部署平台新寵兒!教你快速上手 Fly.io !">部署平台新寵兒!教你快速上手 Fly.io !</a><time datetime="2024-02-20T05:10:24.000Z" title="發表於 2024-02-20 13:10:24">2024-02-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2024/02/11/command-build-failed/" title="Yarn 指令建置失敗!"><img src="/2024/02/11/command-build-failed/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Yarn 指令建置失敗!"/></a><div class="content"><a class="title" href="/2024/02/11/command-build-failed/" title="Yarn 指令建置失敗!">Yarn 指令建置失敗!</a><time datetime="2024-02-11T08:16:58.000Z" title="發表於 2024-02-11 16:16:58">2024-02-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/11/01/ai-workshop-review/" title="與 AI 對話! LLM 應用開發工作坊心得分享!"><img src="/2023/11/01/ai-workshop-review/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="與 AI 對話! LLM 應用開發工作坊心得分享!"/></a><div class="content"><a class="title" href="/2023/11/01/ai-workshop-review/" title="與 AI 對話! LLM 應用開發工作坊心得分享!">與 AI 對話! LLM 應用開發工作坊心得分享!</a><time datetime="2023-11-01T14:59:41.000Z" title="發表於 2023-11-01 22:59:41">2023-11-01</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/02/04/fubon-costco/" title="新卡上路!富邦 Costco 聯名卡懶人包"><img src="/2023/02/04/fubon-costco/cover.webp" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="新卡上路!富邦 Costco 聯名卡懶人包"/></a><div class="content"><a class="title" href="/2023/02/04/fubon-costco/" title="新卡上路!富邦 Costco 聯名卡懶人包">新卡上路!富邦 Costco 聯名卡懶人包</a><time datetime="2023-02-04T11:20:21.000Z" title="發表於 2023-02-04 19:20:21">2023-02-04</time></div></div></div></div><div class="card-widget ads-wrap is-center"><script type="text/javascript"> cv_ad_options = { ad_slot_id: "edb2f37f0a0db578badce273bbd854ab", ad_width: "180", ad_height: "280", mode: "production" }; </script><script text="text/javascript" src="//cdn.adotone.com/adslots/va.ads.js"></script></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>網站資訊</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章數目 :</div><div class="item-count">15</div></div><div class="webinfo-item"><div class="item-name">本站訪客數 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站總訪問量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最後更新時間 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2024-04-12T07:38:39.123Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2024 By 兩盒</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主題 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="淺色和深色模式轉換"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="單欄和雙欄切換"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="設定"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="返回頂部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜尋</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span> 資料庫載入中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜尋文章" type="text"/></div></div><hr/><div id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div></body></html>
4 changes: 2 additions & 2 deletions search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


<entry>
<title>無法在 Ubuntu 20 上部署?!撞牆筆記全記錄</title>
<title>升級成 Ubuntu 20 後網站開不了?!撞牆筆記全記錄</title>
<link href="/2024/03/22/deploy-failed-on-ubuntu-20/"/>
<url>/2024/03/22/deploy-failed-on-ubuntu-20/</url>

<content type="html"><![CDATA[]]></content>
<content type="html"><![CDATA[<p>AWS EC2 的主機從原本的 Ubuntu 18 升級到 20,但卻遇到無法成功部署的問題。如果你也有相同困擾,不妨參考我的作法試試看吧!</p><span id="more"></span><h2 id="起因">起因</h2><p>某天晚上,在 Teams 上收到主管的訊息說:我好像不小心玩壞測試機了⋯⋯</p><p>隔天仔細一問,原來是因為主管在檢查各個專案的 EC2 主機是否有資安疑慮。<br>然後在主機上要下指令更新套件時,不小心去更新到主機系統,導致主機從原先的 Ubuntu 18 更新到 20 了!<br>但我們也都很納悶為什麼這樣升級完之後,Rails 程式無法順利被啟動,只好開始研究怎麼救活它了。</p><h2 id="過程">過程</h2><p>起初,我們發現原因似乎是主機上的 Puma server 沒有順利運作啟用。<br>因此我們嘗試透過 Capistrano 重新部署程式,想看能不能藉此重新啟用它。<br>但經過幾次嘗試都失敗,只好再想看看其他解法。</p><p>接著主管想到,如果複製其他台主機來作為新的主機環境來讓我們能重新部署程式,應該可以吧?<br>我們測試環境的主機配置為:</p><ol><li>一台主機 (A) 處理網頁連線</li><li>兩台主機 (B、C) 處理 Sidekiq 排程</li></ol><p>由於被玩壞掉的是 A 主機,所以主管幫忙複製 B 主機產生出 D 主機。<br>不過我猜測這樣複製出來的 D 主機配置,會與原先 A 主機的不同,進而導致部署可能失敗。<br>經過測試後,的確重新部署到 D 主機的環境也仍然失敗,看來還是先暫停採用這個解法好了。</p><p>就在下午休息放空的時候突然想到,這類型的問題應該不會只有我們遇到過才對吧?<br>會不會網路上有不少求救文章能幫助我解決 A 主機無法順利連線的問題?</p><p>產生這樣的想法後,便開始在 Stack Overflow 上爬文。<br>一查才發現,的確有人遇過這類型的問題<sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup>,雖然提問者不是用 Ruby 環境而是 Python。<br>但看了文章內容後覺得挺有參考價值的,不妨試試看文章中的正解⋯⋯</p><p>咦?!居然成功了!🥳</p><h2 id="總結">總結</h2><p>文章中的答案提到因為升級成 Ubuntu 20 時,系統的內建套件 <code>libffi6</code> 也一併升級成 <code>libffi7</code> ,但原本安裝的 Python 設定仍然是會去找 <code>libffi6</code>。</p><p>所以綜合大家所回覆的解法,建議將 Python 重新安裝一次,讓它能去吃到系統中新的 <code>libffi7</code> 就沒問題。<br>同理,我們也只要重新安裝 Ruby 即可!</p><h2 id="參考資料">參考資料</h2><hr class="footnotes-sep"><section class="footnotes"><ol class="footnotes-list"><li id="fn1" class="footnote-item"><p><a href="https://stackoverflow.com/questions/61875869/ubuntu-20-04-upgrade-python-missing-libffi-so-6">Ubuntu 20.04 upgrade, Python missing libffi.so.6</a> <a href="#fnref1" class="footnote-backref">↩︎</a></p></li></ol></section>]]></content>


<categories>
Expand Down
Loading

0 comments on commit a4d3d83

Please sign in to comment.