-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's do full disk scan after install mongodb, that's annoy #154
Comments
Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the director
|
1 similar comment
Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the director
|
Hello - I see you are using 0.9.8.33 - This repository represents the rewrite of 0.9.9+. Perhaps you should upgrade and try again |
..... What do you mean? I am using the newest stable version! |
Not according to your logs:
Right now the website installs the last POSH version (0.9.8.33) - from there you need to call cup chocolatey to upgrade to the latest client. |
choco/src/chocolatey.resources/helpers/functions/Write-FileUpdateLog.ps1 |
This is done so automation tools have a chance to play catch up, there are quite a few changes. |
The code doesn't changed, so the problem will appear again! |
Please re-open this issue. |
C:\Users\luoyonggang>cup chocolatey For details on the all new Chocolatey, visit http://bit.ly/new_choco |
So - 2 things.
|
Perhaps try choco install chocolatey https://chocolatey.org/packages/chocolatey/0.9.9.2 - guarantee that there is one. |
https://github.com/chocolatey/choco/blob/master/README.md#submitting-issues - when you are not certain if you should log an issue, we have a gitter chat room that you can come in and ask. |
Let's do this. Let's log a proper issue, reference this and close it. |
You didn't even read the error report Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the director |
The issue is the function Write-FileUpdateLog is not robust,
|
So are you adding multiple issues? |
We should log each of them separately as each could be prioritized and worked on separately. |
It's caused these two problems when I trying to |
OK, I'll modify this issue to resolve the long path issue. |
Honestly I've never been a fan of that function - but it will become more important once we move to automatically tracking where things are installed to and removing them on uninstall. But it will be implemented a different way. :) |
Let's create a new issue for that and reference this. |
C:\Windows\system32>cinst mongodb
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.
For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'mongodb' and dependencies. By installing you accept the license for 'mongodb' and each dependency you are instal
ling.
mongodb v2.4.7.1
Extracting C:\Users\LUOYON~1\AppData\Local\Temp\chocolatey\MongoDB\MongoDBInstall.zip to C:...
Get-ChildItem : Access to the path 'C:\Windows\CSC' is denied.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-FileUpdateLog.ps1:11 char:23
Get-ChildItem : Access to the path 'C:\Windows\System32\LogFiles\WMI\RtBackup' is denied.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-FileUpdateLog.ps1:11 char:23
Get-ChildItem : Access to the path 'C:\Windows\CSC' is denied.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-FileUpdateLog.ps1:15 char:18
Get-ChildItem : Access to the path 'C:\Windows\System32\LogFiles\WMI\RtBackup' is denied.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-FileUpdateLog.ps1:15 char:18
The text was updated successfully, but these errors were encountered: