Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    Nuget.exe cannot delete from a proget feed.

    Scheduled Pinned Locked Moved Support
    progetnuget
    6 Posts 1 Posters 13 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi

      I am running proget Version 2.2.7 (Build 3) on a Windows 2012 server hosted on IIS with my own instance of MSSQL Enterprise.

      I cannot delete packages from a feed using the nuget exe.

      When I run >>nuget delete package_id version -Source http://proget/nuget/feed_name It returns a 404 error.

      When I run >>nuget delete package_id version -Source http://proget/feeds/feed_name It claims to succeed for any package_id or version I enter but nothing happens on the server.

      Regards,
      Calvin

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        This looks to be a bug, thank you for the report. We'll have this fixed in an upcoming maintenance release (2.2.8).

        The current workaround is to delete them from the file system directly, or from the package details page in the web UI.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          We have the same issue in ProGet 3.3.3. Deleting using '.../feeds/...' path claims to succeed, but in fact deletes nothing. Deleting using '.../nuget/...' throws "(500) internal server error exception".

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            @Dmitrii - I am still unable to reproduce this behavior in ProGet v3.5.4. I would suggest upgrading to the latest version and see if that helps?

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              nuget delete is working for me as of 3.5.4 like expected

              C:\Temp\nuget stuff> nuget delete Dashboard 1.0.0.1 -source http://proget/nuget/test -apikey test
              Dashboard 1.0.0.1 will be deleted from the 'http://proget/nuget/test'. Would you like to continue? (y/N) y
              Deleting Dashboard 1.0.0.1 from the 'http://proget/nuget/test'.
              Dashboard 1.0.0.1 was deleted successfully.
              
              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                @Tod,@Calvin I've tested it in 3.5.3 and it works now. Thanks!

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation