Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Issues with Chocolatey version and update
-
I've recently installed proget to set up a small internal nuget repository to use with chocolatey. I've been quite happily installing packages manually and with puppet. However I'm now looking at pushing out my first update.
I add the new version of the package (vmwarevsphereclient) to proget (I now have 5.1.0 and 5.5.0) and run 'chocolatey update vmwarevsphereclient' only to get 'Nothing to update'.
If I run chocolatey version vmwarevsphere client I get:
found : 5.1.0 name : vmwarevsphereclient latestCompare : 000000000000 verMessage : System.Collections.DictionaryEntry does not appear to be on the source(s) specified: latest : foundCompare : 000000000005.000000000001.000000000000
It's like proget isn't reporting the most recent version.
Interestingly if I rename both the 5.1.0 and 5.5.0 package to 'vmware' it works fine.
If I run 'chocolatey version all' the following packages give me the error:
MsSqlServerManagementStudio2014Express 7zip.install putty.portable GoogleChrome git.install vmwarevsphereclient DotNet4 notepadplusplus.install
The following work fine:
git Firefox filezilla windirstat notepadplusplus 7zip SourceTree putty
Any help you can offer is most appreciated!
Product: ProGet
Version: 3.1.2
-
Could you send a Fiddler trace to support@inedo.com of the requests that the Chocolatey client is sending to the ProGet server when you run
chocolatey update vmwarevsphereclient
andchocolatey version vmwarevsphereclient
?
-
Thanks for the help Tod. I've sent the requested trace in an email.
Regards
Sam
-
Are these packages from a connector to http://chocolatey.org/api/v2 ? Did you pull them to a locally-hosted feed before updating them? Are they cached in the _cache directory in the package storage path?
I entered the same search URL provided in the Fiddler trace (http://proget-server/nuget/choco/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='vmwarevsphereclient'&targetFramework=''&includePrerelease=false) and it came back with the 5.5.0 version.
-
Hi Tod,
Apologies for the slow reply. I actually decided not to use connectors at all, and all the packages are manually downloaded to a folder which proget indexes.
This is what I get from that URL:
<?xml version="1.0" encoding="utf-8"?><feed xml:base="http://sfoffice2:8888/nuget/snowflake/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"><title type="text">Search</title><id>http://sfoffice2:8888/nuget/snowflake/Search()/</id><updated>2014-09-08T10:42:54Z</updated><link rel="self" title="Search" href="Search" /></feed>If I do it for chocolatey.org:
http://chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='vmwarevsphereclient'&targetFramework=''&includePrerelease=falseThanks
Sam
-
Sorry I didn't paste the chocolatey version correctly:
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <feed xml:base="http://chocolatey.org/api/v2/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> <title type="text">Search</title> <id>http://chocolatey.org/api/v2/Search</id> <updated>2014-09-08T10:44:01Z</updated> <link rel="self" title="Search" href="Search" /> <entry> <id>http://chocolatey.org/api/v2/Packages(Id='vmwarevsphereclient',Version='5.5.0')</id> <title type="text">vmwarevsphereclient</title> <summary type="text">VMware vShere Client - Mananage virtual infrastructure</summary> <updated>2014-09-08T00:47:50Z</updated> <author> <name>VMware, Inc.</name> </author> <link rel="edit-media" title="V2FeedPackage" href="Packages(Id='vmwarevsphereclient',Version='5.5.0')/$value" /> <link rel="edit" title="V2FeedPackage" href="Packages(Id='vmwarevsphereclient',Version='5.5.0')" /> <category term="NuGetGallery.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <content type="application/zip" src="http://chocolatey.org/api/v2/package/vmwarevsphereclient/5.5.0" /> <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"> <d:Version>5.5.0</d:Version> <d:Copyright>Copyright © 2013 VMware, Inc. All rights reserved.</d:Copyright> <d:Created m:type="Edm.DateTime">2013-11-01T10:52:58.64</d:Created> <d:Dependencies></d:Dependencies> <d:Description>The vSphere Client is a Windows program that you can use to configure the host and to operate its virtual machines. Note: Microsoft .NET Framework 3.5 required</d:Description> <d:DownloadCount m:type="Edm.Int32">587</d:DownloadCount> <d:GalleryDetailsUrl>http://chocolatey.org/packages/vmwarevsphereclient/5.5.0</d:GalleryDetailsUrl> <d:IconUrl>https://raw.github.com/pjahn/nugetpackages/master/vmwarevsphereclient/vmwarevsphereclient.png</d:IconUrl> <d:IsLatestVersion m:type="Edm.Boolean">true</d:IsLatestVersion> <d:IsAbsoluteLatestVersion m:type="Edm.Boolean">true</d:IsAbsoluteLatestVersion> <d:IsPrerelease m:type="Edm.Boolean">false</d:IsPrerelease> <d:Language m:null="true"></d:Language> <d:Published m:type="Edm.DateTime">2013-11-01T10:52:58.64</d:Published> <d:LicenseUrl>http://www.vmware.com/download/eula/esxi50_eula.html</d:LicenseUrl> <d:PackageHash>C8Xk6CwR+v5UvjGcacQbmLsQ9W3zxUeBDip1MVz1HpH1uddUg3cjIE1ZRdF/XyGZax5z0eNOxJ9M5Z8ZcI+6FA==</d:PackageHash> <d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm> <d:PackageSize m:type="Edm.Int64">18793</d:PackageSize> <d:ProjectUrl>https://www.vmware.com/products/vsphere/</d:ProjectUrl> <d:ReportAbuseUrl>http://chocolatey.org/package/ReportAbuse/vmwarevsphereclient/5.5.0</d:ReportAbuseUrl> <d:ReleaseNotes>https://www.vmware.com/support/vsphere5/doc/vsphere-esx-vcenter-server-55-release-notes.html</d:ReleaseNotes> <d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance> <d:Tags xml:space="preserve"> vmware vsphere client virtual machine virtualization esx esxi </d:Tags> <d:Title>VMware vSphere Client</d:Title> <d:VersionDownloadCount m:type="Edm.Int32">587</d:VersionDownloadCount> </m:properties> </entry> </feed>
-
If it's not appearing locally via the Search() URL, are you actually seeing it in the web application itself?
Perhaps there was an indexing issue or something (this can happen on network paths). If you restart the ProGet service that might resolve it.
-
Hi Tod,
I think I've got to the bottom of it. I deleted the feed and recreated it with a local path and had the exact same problem. However I spotted that if I changed the search term to vmware, it worked fine. So I changed the title of the package to 'vmwarevsphereclient' as well from 'VMWare vSphere Client' to match the id, and that seems to fix it.
For now I'll do this for all my packages, but I think this might be a bug in proget, using title which to my understanding is supposed to just be a display name (at least this is how chocolatey.org uses it) when it should use id.
Thanks
Sam
-
Looks like this has been fixed in 3.2.0. Thanks guys!