Details
Description
After upgrading to version 3.17.0-01 we started getting reports of errors downloading a powershell module from a NugGet repository "Unable to install <modulename>, multiple modules matched". After debugging the issue, I found that nugget findpackage uses the api call FindPackagesById()?id='<modulename>&$skip=0&$top=40' which pulls the top 40 packages. In this particular repository there were more than 40 packages. The first set of packages had one with "isLatest" = "true" and "isabsoluteLatest" = True. The next set had different packages and one with "isLatest" = "true" and "isabsoluteLatest" = True. This causes the module to fail to be installed because there are two versions that have isLatest=true.
This problem did not exist on the previous release with the same exact NuGet repository (I believe it was 3.16.2-01).
Attachments
Issue Links
- is duplicated by
-
NEXUS-23092 Attempting to install "InvokeBuild" package from powershell gallery fails with "Unable to install, multiple modules matched" error
-
- Closed
-
- is related to
-
NEXUS-13767 NuGet metadata shows as latest falsely
-
- Open
-