0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacのVSコードの更新に時間をかけた

Posted at

セキュリティに甘いムーブをしたことに反省。。

今後のためにメモ

更新に至る経緯

Pythonの拡張機能をインストールしようとしたところ以下の表示が出たこと。

Visual Studio Code の現在のバージョン (バージョン 1.74.3) と互換性がないため、"ms-python.debugpy" 拡張機能はインストールできません。

ここでVSコードを更新していないことに気づいた。

更新がある時はエディタの右下にお知らせが出てくるものだと思っていたが今回は出てこず、このエラーがなければ更新に気がつかなかったと思う。

更新に着手する

VSコードをクリックし、以下の画像の「更新の確認」をクリックする

スクリーンショット 2025-07-27 11.07.24.png

本来はこれで更新できるが、VSコード内で以下のようなエラーが出た。

Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. This might mean the application was put on quarantine by macOS. See [this link](https://github.com/microsoft/vscode/issues/7426#issuecomment-425093469) for more information.

エラーの内容と解決

端的にいうと、アプリが読み取り専用の箇所にあるためアップデートができないというエラーだった。

アプリが/Downloads/Desktop にある場合も同様のエラーが起きるらしい。

/Applications にアプリを移動させて再び上記の画像の「更新を確認」をクリックすると無事にアップデートできた。

今後はアプリの設置場所の確認やバージョン管理もより意識していきたい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?