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!

[ProGet] Can't download ProxyKit.2.3.3+build.0



  • ProGet version: 5.0.10
    Nuget version: 4.6.2.5055

    We can download manually (from proget) but not through nuget. Here's the output:

    C:>nuget install ProxyKit -Version 2.3.3 -Source http://xxxx.xxxx.xxx/nuget/Empower8/
    Feeds used:
    C:\Users\xxxx.nuget\packages
    http://xxxx.xxxx.xxx/nuget/Empower8/

    Attempting to gather dependency information for package 'ProxyKit.2.3.3' with respect to project 'C:\Users\xxxx', targeting 'Any,Version=v0.0'
    Gathering dependency information took 193.46 ms
    Attempting to resolve dependencies for package 'ProxyKit.2.3.3' with DependencyBehavior 'Lowest'
    Resolving dependency information took 0 ms
    Resolving actions to install package 'ProxyKit.2.3.3'
    Resolved actions to install package 'ProxyKit.2.3.3'
    Retrieving package 'ProxyKit 2.3.3' from 'http://xxxx.xxxx.xxx/nuget/Empower8/'.
    GET http://xxxx.xxxx.xxx/nuget/Empower8/package/ProxyKit/2.3.3+build.0
    NotFound http://xxxx.xxxx.xxx/nuget/Empower8/package/ProxyKit/2.3.3+build.0 504ms
    WARNING: Install failed. Rolling back...
    Executing nuget actions took 567.51 ms
    Package 'ProxyKit.2.3.3' is not found on source 'http://xxxx.xxxx.xxx/nuget/Empower8/'.

    How do we fix this issue?
    Thank you.


  • inedo-engineer

    Hello;

    I haven't tested this on ProGet v5.0.10 (note: it's 2.5years old), but I can see that there's a +build.0 in the version. There's been a number of changes since that version of ProGet to better address the quirks surrounding build metadata. So please upgrade to the latest ProGet.

    Best,
    Alana



  • Okay,
    Will do so. Thanks.



  • Okay, we upgraded to version 5.3.11 (Build 37) and we are still getting the a 500 (Internal Server Error).

    Please add ProxyKit.2.3.3+build.0 (found here) to your environment and test to see if you can duplicate our issue.

    Thank you.



  • I think the problem is that the package is being saved as: D:\...\ProxyKit.2.3.3+build.0.nupkg but the server is trying to access: d:\...\ProxyKit.2.3.3.nupkg which doesn't exist. I believe this because when I click on "Download Package > with source" I get the following response:
    Could not find file 'D:...\ProxyKit.2.3.3.0.nupkg'.



  • For those who ran into the same issue:
    I got it working by deleting the package and then re-adding it. This then saved the file without the +build.0 now everything is working.
    (Note: you might want to go into the physical HD location and manually delete the old file since it isn't automatically deleted for you.)


  • inedo-engineer

    Hello;

    I'm not able to reproduce this on the latest ProGet, and I'm thinking the problem may have been the package file was on disk from the previous version.

    Here's what I did:

    1. Create a new Feed with a connector to NuGet NuGet
    2. Download package using the URL /nuget/nuuget-public/package/ProxyKit/2.3.3+build.0
    3. File on disk is ProxyKit.2.3.3.nupkg

    Cheers,
    Alana



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation