teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

②の実行結果

2018/11/25 07:36

投稿

yu1212
yu1212

スコア13

title CHANGED
File without changes
body CHANGED
@@ -50,10 +50,47 @@
50
50
  場所 chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError)
51
51
  パス 'C:\ProgramData\chocolatey.chocolatey' へのアクセスが拒否されました。
52
52
  ```
53
+
54
+ ```
55
+ Windows PowerShell
56
+ Copyright (C) Microsoft Corporation. All rights reserved.
53
57
 
58
+ PS C:\WINDOWS\system32> choco install rsync --version 5.5.0
59
+ Chocolatey v0.10.11
60
+ Installing the following packages:
61
+ rsync
62
+ By installing you accept licenses for the packages.
63
+
64
+ rsync v5.5.0 [Approved]
65
+ rsync package files install completed. Performing other installation steps.
66
+ The package rsync wants to run 'chocolateyInstall.ps1'.
67
+ Note: If you don't run this script, the installation will fail.
68
+ Note: To confirm automatically next time, use '-y' or consider:
69
+ choco feature enable -n allowGlobalConfirmation
70
+ Do you want to run the script?([Y]es/[N]o/[P]rint): Y
71
+
72
+ Attempt to get headers for https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip failed.
73
+ The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
74
+ Downloading rsync
75
+ from 'https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip'
76
+ ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.itefix.net/dl/cwRsync_5.5.0_x86_Free.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
77
+ This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
78
+ The install of rsync was NOT successful.
79
+ Error while running 'C:\ProgramData\chocolatey\lib\rsync\tools\chocolateyInstall.ps1'.
80
+ See log for details.
81
+
82
+ Chocolatey installed 0/1 packages. 1 packages failed.
83
+ See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
84
+
85
+ Failures
86
+ - rsync (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\rsync\tools\chocolateyInstall.ps1'.
87
+ See log for details.
88
+ ```
54
89
  ### 試したこと
55
90
 
56
- 環境変数をみて、優先度をあげてみましたが、解決には至らずでした。
91
+ 環境変数をみて、優先度をあげてみましたが、解決には至らずでした。
92
+ ②管理者権限でコマンドプロンプトを開き実行
57
93
 
94
+
58
95
  ### 補足情報(FW/ツールのバージョンなど)
59
96
  chocolatey Chocolatey v0.10.11

1

文章修正

2018/11/25 07:36

投稿

yu1212
yu1212

スコア13

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
3
  chocolateyをインストールしたのですが、どのコマンドもアクセス拒否となります。
4
+ どなたかご教示いただけますでしょうか?
4
5
 
5
6
  choco install rsync --version 5.5.0を実行したところ、以下のエラーメッセージが発生しました。
6
7