{"action":"closed","issue":{"url":"https://api.github.com/repos/OneGet/oneget/issues/170","repository_url":"https://api.github.com/repos/OneGet/oneget","labels_url":"https://api.github.com/repos/OneGet/oneget/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/OneGet/oneget/issues/170/comments","events_url":"https://api.github.com/repos/OneGet/oneget/issues/170/events","html_url":"https://github.com/OneGet/oneget/issues/170","id":138618545,"number":170,"title":"Errors installing packages ","user":{"login":"leftcoastbeard","id":15200810,"avatar_url":"https://avatars.githubusercontent.com/u/15200810?v=3","gravatar_id":"","url":"https://api.github.com/users/leftcoastbeard","html_url":"https://github.com/leftcoastbeard","followers_url":"https://api.github.com/users/leftcoastbeard/followers","following_url":"https://api.github.com/users/leftcoastbeard/following{/other_user}","gists_url":"https://api.github.com/users/leftcoastbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/leftcoastbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftcoastbeard/subscriptions","organizations_url":"https://api.github.com/users/leftcoastbeard/orgs","repos_url":"https://api.github.com/users/leftcoastbeard/repos","events_url":"https://api.github.com/users/leftcoastbeard/events{/privacy}","received_events_url":"https://api.github.com/users/leftcoastbeard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T23:37:53Z","updated_at":"2016-03-05T01:02:10Z","closed_at":"2016-03-05T01:02:10Z","body":"I'm having a similar (and possibly related to issue #169 ) issue installing packages.\r\nI am attempting to install proget on a Windows 10 box as described below:\r\n```\r\nPS C:\\WINDOWS\\system32> install-package proget\r\ninstall-package : Unable to resolve package dependency -- package 'chocolatey:vcredist2008' not found.\r\nAt line:1 char:1\r\n+ install-package proget\r\n+ ~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (chocolatey:SqlS...tey.org/api/v2/:String) [Install-Package], Exception\r\n    + FullyQualifiedErrorId : UnableToResolveDependency_dependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdle\r\n   ts.InstallPackage\r\n\r\nPS C:\\WINDOWS\\system32> install-package proget -ProviderName chocolatey -verbose\r\nVERBOSE: Exception : DefaultDomain//InvalidOperationException/An error occurred while processing this request.\r\n   at NuGet.DataServiceQueryWrapper`1.Execute[TResult](Func`1 action)\r\n   at NuGet.DataServiceQueryWrapper`1.<GetAll>d__7.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Microsoft.PackageManagement.ChocolateyPrototype.ChocolateyRequest.GetPackageById(PackageSource source, String\r\nname, String requiredVersion, String minimumVersion, String maximumVersion, Boolean allowUnlisted)\r\nVERBOSE: Performing the operation \"Install Package\" on target \"Package 'proget' version '4.0.6' from 'chocolatey'\".\r\n```\r\n\r\nHowever, if I search for the package first and pipe it into the install, it sort of complains (but doesn't actually install):\r\n```\r\nPS C:\\WINDOWS\\system32> find-package proget -verbose -ProviderName chocolatey | Install-Package -verbose\r\nVERBOSE: Performing the operation \"Install Package\" on target \"Package 'proget' version '4.0.6' from 'chocolatey'\".\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/Packages(Id='vcredist2008',Version='9.0.30729.6161')\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/package/vcredist2008/9.0.30729.6161\r\nWARNING: NuGet: System.IO.InvalidDataException: Unable to read package from path 'vcredist2008.9.0.30729.6161.nupkg'.\r\n---> System.IO.FileFormatException: File contains corrupted data.\r\nWARNING: NuGet:    at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.FindPosition(Stream archiveStream)\r\nWARNING: NuGet:    at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager)\r\nWARNING: NuGet:    at MS.Internal.IO.Zip.ZipArchive..ctor(Stream archiveStream, FileMode mode, FileAccess access,\r\nBoolean streaming, Boolean ownStream)\r\nWARNING: NuGet:    at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access,\r\nBoolean streaming)\r\nWARNING: NuGet:    at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean\r\nstreaming)\r\nWARNING: NuGet:    at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess,\r\nBoolean streaming)\r\nWARNING: NuGet:    at NuGet.OptimizedZipPackage.EnsureManifest()\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.OpenPackage(String path)\r\nWARNING: NuGet:    --- End of inner exception stack trace ---\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.GetPackage(Func`2 openPackage, String path)\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.<>c__DisplayClass13.<FindPackage>b__f(String path)\r\nWARNING: NuGet:    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\nWARNING: NuGet:    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.FindPackage(Func`2 openPackage, String packageId, SemanticVersion\r\nversion)\r\nWARNING: NuGet:    at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId,\r\nSemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean\r\nallowUnlisted)\r\nWARNING: NuGet:    at NuGet.DataServicePackage.EnsurePackage(IPackageCacheRepository cacheRepository)\r\nWARNING: NuGet:    at NuGet.DataServicePackage.get_FrameworkAssemblies()\r\nWARNING: NuGet:    at NuGet.PackageExtensions.HasProjectContent(IPackage package)\r\nWARNING: NuGet:    at NuGet.PackageWalker.GetPackageTarget(IPackage package)\r\nWARNING: NuGet:    at NuGet.PackageWalker.GetPackageInfo(IPackage package)\r\nWARNING: NuGet:    at NuGet.PackageWalker.ProcessPackageTarget(IPackage package)\r\nWARNING: NuGet:    at NuGet.PackageWalker.Walk(IPackage package)\r\nWARNING: NuGet:    at NuGet.InstallWalker.ResolveOperations(IPackage package)\r\nWARNING: NuGet:    at NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)\r\nWARNING: NuGet:    at NuGet.PackageManager.InstallPackage(IPackage package, Boolean ignoreDependencies, Boolean\r\nallowPrereleaseVersions)\r\nWARNING: NuGet:    at NuGet.Commands.InstallCommand.InstallPackage(IFileSystem fileSystem, String packageId,\r\nSemanticVersion version)\r\nWARNING: NuGet:    at NuGet.Program.Main(String[] args)\r\nVERBOSE: Skipped Package 'vcredist2008 v9.0.30729.6161' already installed\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/Packages(Id='SqlServerExpress',Version='10.0.0.20130503')\r\nVERBOSE: NuGet: Attempting to resolve dependency 'vcredist2008'.\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.<GetPackages>d__15.MoveNext()\r\nWARNING: NuGet:    at NuGet.CollectionExtensions.AddRange[T](ICollection`1 collection, IEnumerable`1 items)\r\nWARNING: NuGet:    at NuGet.LocalPackageRepository.FindPackagesById(Func`2 openPackage, String packageId)\r\nWARNING: NuGet:    at NuGet.PackageRepositoryExtensions.FindPackagesById(IPackageRepository repository, String\r\npackageId)\r\nWARNING: NuGet:    at NuGet.PriorityPackageRepository.FindPackagesById(String packageId)\r\nWARNING: NuGet:    at NuGet.PackageRepositoryExtensions.ResolveDependencyCore(IPackageRepository repository,\r\nPackageDependency dependency, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean\r\npreferListedPackages, DependencyVersion dependencyVersion)\r\nWARNING: NuGet:    at NuGet.InstallWalker.ResolveDependency(PackageDependency dependency)\r\nVERBOSE: Skipped Package 'SqlServerExpress v10.0.0.20130503' already installed\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/Packages(Id='proget',Version='4.0.6')\r\nVERBOSE: NuGet: Attempting to resolve dependency 'SqlServerExpress (≥ 10.0.0.20130503)'.\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/FindPackagesById()?id='SqlServerExpress'\r\nVERBOSE: NuGet: GET http://chocolatey.org/api/v2/package/SqlServerExpress/10.0.0.20130503\r\nWARNING: NuGet: System.IO.InvalidDataException: Unable to read package from path\r\n'SqlServerExpress.10.0.0.20130503.nupkg'. ---> System.IO.FileFormatException: File contains corrupted data.\r\nVERBOSE: Skipped Package 'proget v4.0.6' already installed\r\n```\r\nIt says skipped Package at the end and so I then check for install:\r\n```\r\nPS C:\\WINDOWS\\system32> get-package proget -verbose\r\nVERBOSE: Skipping package provider provider 'NuGet'-- missing required option 'Destination'\r\nget-package : No package found for  'proget'.\r\nAt line:1 char:1\r\n+ get-package proget -verbose\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...lets.GetPackage:GetPackage) [Get-Package], Exception\r\n    + FullyQualifiedErrorId : NoMatchFound,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackage\r\n```\r\nI have also had similar issues installing other packages on other machines after the WMF5.0 RTM update (eg: installing the package \"adobeshockwaveplayer\" on Windows 8.1; I have the command output saved on another machine at the moment)\r\n \r\nWould this be an issue with OneGet or Chocolatey or even the package itself? Any thoughts or suggestions?"}}