3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chocolatey update するとアプリが動かない?(windows)

Last updated at Posted at 2014-05-28

Chocolatey update すると動かない

Chocolatey のばぐ?

すでにインストールしているパッケージのアップデートを行うと動かないっていう現象の解決策。といっても単純なんだけどねw

およ?うごかない…

VirtualBox がアップデートされていたので新しいのが使いたいとアップデート(PowerShellから実行ね)。で、Vagrant コマンドを実行するとコマンドが見つからないっていうメッセージが出力される。

Chocolatey のパッケージアップデート方法

C:\> chocolatey update virtualbox

環境変数が…おぉい

Chocolatey でupdateすると環境設定値が変になるらしい。コンパネから[システムのプロパティ]-[詳細設設定] の環境変数を修正すればよろし。あとは、dos窓 or PowerShell を再起動するだけ。

C:\PROGRA~2\Oracle\VirtualBox

ってなっちゃっているので、ここを下記の様に修正するだけ。

C:\Program Files\Oracle\VirtualBox

まぁこれくらいなら許容だよねw

VirtualBox に限らず同じ現象になるっぽい。あと困るのは、updateすると物によって強制的に再起動されるところでしょうか(実際、やられました)

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?