有馬総一郎のブログ

(彼氏の事情)

2021年12月22日 14:24:19 JST - 3 minute read - Comments - Linux

Alter Linuxで`The requested URL returned error: 404`とエラーが出て、リポジトリからパッケージを取得できない

yayコマンドを使っての出来事。

 エラー: ファイル 'cmake-3.22.1-3-x86_64.pkg.tar.zst' を mirrors.cat.net から取得するのに失敗しました : The requested URL returned error: 404
 エラー: ファイル 'cmake-3.22.1-3-x86_64.pkg.tar.zst' を mirrors.cat.net から取得するのに失敗しました : The requested URL returned error: 404
 エラー: ファイル 'cmake-3.22.1-3-x86_64.pkg.tar.zst' を ftp.tsukuba.wide.ad.jp から取得するのに失敗しました : The requested URL returned error: 404
 エラー: ファイル 'cmake-3.22.1-3-x86_64.pkg.tar.zst' を ftp.jaist.ac.jp から取得するのに失敗しました : The requested URL returned error: 404
 エラー: ファイル 'cmake-3.22.1-3-x86_64.pkg.tar.zst' を ftp.jaist.ac.jp から取得するのに失敗しました : The requested URL returned error: 404

2021年12月15日 10:29:13 JST - 1 minute read - Comments - Vim

Pythonをアップデートしたら依存してるNeovimのプラグインが動かなくなった

pythonのアップデートしたら、nvimでpython依存のプラグインが動作しなくなってしまった…

function provider#python3#Call[9]..remote#host#Require[10]..provider#pythonx#Require[14]..provider#Poll, 行 7
Vim(if):Error invoking 'poll' on channel 3:<00>ch 3 was closed by the client                                                                                                 
Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is available in messages.

2021年11月03日 02:19:54 JST - 2 minute read - Comments - Linux

ApacheからNginxに乗り換えたのでLet's Encryptでサーバー停止せず自動更新できるようにする

特に変更しないでも大丈夫かな、と思ってcertbot renew --dry-run --webroot-pathするも失敗したので、 Nginx+リバースプロキシ環境でWebサーバを停止させずに Let’s Encrypt (Certbot) のSSL証明書を自動更新するを参考に、自動更新できるようにした。