2020-05-02
ThinkPad T450のWWAN端子はM.2 2242
ThinkPad: T400 / T500 and newer T series Laptops-Lenovo Community
2020-05-03
Chocolateyでエラーの出ているSamsung Magicianをインストールする
ChocolateyでSamsung Magician 6.1.0をインストールしようとするとエラーが発生します。
PS C:\Windows\system32> choco install samsung-magician Chocolatey v0.10.15 Installing the following packages: samsung-magician By installing you accept licenses for the packages. Progress: Downloading samsung-magician 6.1.0... 100% samsung-magician v6.1.0 [Approved] samsung-magician package files install completed. Performing other installation steps. The package samsung-magician wants to run 'chocolateyInstall.ps1'. Note: If you don't run this script, the installation will fail. Note: To confirm automatically next time, use '-y' or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded. Error - hashes do not match. Actual value was '84D0DD07925F56D1492B68F4B1EB787BA377788BA1123576765E4B322047AAA3'. Downloading samsung-magician from 'http://ssd.samsungsemi.com/ecomobile/ssd/update8.do?fname=/Samsung_Magician_Installer.zip' WARNING: C:\Users\paz\AppData\Local\Temp\chocolatey\samsung-magician\6.1.0\samsung-magicianInstall.zip is of content type text/html; charset=UTF-8 Download of samsung-magicianInstall.zip (-1 B) completed. Error - hashes do not match. Actual value was 'B175741C5A6EC6C766E71D659F29F82B3F741E295126CE1ED3E0625723E6473F'. ERROR: Checksum for 'C:\Users\paz\AppData\Local\Temp\chocolatey\samsung-magician\6.1.0\samsung-magicianInstall.zip' did not meet '9daeed4fdd5b4492442c706ee71d305b00824e716415fb616235e00174403dfd' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary. The install of samsung-magician was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\samsung-magician\tools\chocolateyInstall.ps1'. See log for details. Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - samsung-magician (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\samsung-magician\tools\chocolateyInstall.ps1'. See log for details.
Chocolatey Software | Samsung Magician 6.1.0のコメント欄を見ると次のように書かれています。
- サムスンによるダウンロード制限がかかっている
- Zipファイルを配置することでインストール可能
そこで次の手順でインストールしたところ成功しました。
choco install samsung-magician
を実行する→失敗する (いちど失敗させる)- SSD ツール&ソフトウェア | タイプ別 Download | サポート | Samsung Semiconductor Global Websiteから
Samsung_Magician_Installer.zip
をダウンロードする Samsung_Magician_Installer.zip
をsamsung-magicianInstall.zip
にリネームしC:\Users\ユーザー名\AppData\Local\Temp\chocolatey\samsung-magician\6.1.0
フォルダにコピーするchoco install samsung-magician
を実行する
PS C:\Windows\system32> choco install samsung-magician Chocolatey v0.10.15 Installing the following packages: samsung-magician By installing you accept licenses for the packages. Progress: Downloading samsung-magician 6.1.0... 100% samsung-magician v6.1.0 [Approved] samsung-magician package files install completed. Performing other installation steps. The package samsung-magician wants to run 'chocolateyInstall.ps1'. Note: If you don't run this script, the installation will fail. Note: To confirm automatically next time, use '-y' or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded. Hashes match. Hashes match. Extracting C:\Users\paz\AppData\Local\Temp\chocolatey\samsung-magician\6.1.0\samsung-magicianInstall.zip to C:\ProgramData\chocolatey\lib\samsung-magician\tools... C:\ProgramData\chocolatey\lib\samsung-magician\tools Installing samsung-magician... samsung-magician has been installed. samsung-magician can be automatically uninstalled. The install of samsung-magician was successful. Software installed to 'C:\Program Files (x86)\Samsung\Samsung Magician\' Chocolatey installed 1/1 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).