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!

    Unable to promote: Distribution must be specified when adding a Debian package.

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 16 Views 1 Watching
    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.
    • R Offline
      rhowell_8827
      last edited by

      Hello, I am evaluating ProGet for our company. I am interested how it handles the package promotion process. I created two debian package feeds "production" and "test". I uploaded a few debian packages into the test feed. Then I went to promote them from test to production. I keep getting this error though:

      An error occurred promoting the package: Distribution must be specified when adding a Debian package.

      When I uploaded them using curl they had the distribution and components set.

      Additional info:
      I am using the Docker image and using the default guest user (ie administrator).
      Version 2024.32 (Build 26) • Anonymous User

      1 Reply Last reply Reply Quote 0
      • R Offline
        rhowell_8827
        last edited by

        The logs indicate that the web UI is indeed not including the distribution field when doing the promotion.

        info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
              Request starting HTTP/1.1 GET http://10.11.113.215/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.Layout.NotificationBar/GetNotifications - - -
        info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
              Request finished HTTP/1.1 GET http://10.11.113.215/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.Layout.NotificationBar/GetNotifications - 200 258 - 2.7448ms
        info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
              Request starting HTTP/1.1 GET http://10.11.113.215/packages/promote?packageName=lumabridge&version=1.1.4.0&fromFeedId=2&parentUrl=http%3A%2F%2F10.11.113.215%2Ffeeds%2Fengineering%2Flumabridge%2F1.1.4.0 - - -
        info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
              Request finished HTTP/1.1 GET http://10.11.113.215/packages/promote?packageName=lumabridge&version=1.1.4.0&fromFeedId=2&parentUrl=http%3A%2F%2F10.11.113.215%2Ffeeds%2Fengineering%2Flumabridge%2F1.1.4.0 - 200 1785 text/html;+charset=UTF-8 32.6732ms
        info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
              Request starting HTTP/1.1 GET http://10.11.113.215/resources/styles/Fonts/Karla-Variable/Karla-Italic-VariableFont_wght.woff2 - - -
        info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
              Request finished HTTP/1.1 GET http://10.11.113.215/resources/styles/Fonts/Karla-Variable/Karla-Italic-VariableFont_wght.woff2 - 499 33104 font/woff2 6.3718ms
        info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
              Request starting HTTP/1.1 POST http://10.11.113.215/packages/promote?packageName=lumabridge&version=1.1.4.0&fromFeedId=2&parentUrl=http%3A%2F%2F10.11.113.215%2Ffeeds%2Fengineering%2Flumabridge%2F1.1.4.0 - application/x-www-form-urlencoded 287
        info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
              Request finished HTTP/1.1 POST http://10.11.113.215/packages/promote?packageName=lumabridge&version=1.1.4.0&fromFeedId=2&parentUrl=http%3A%2F%2F10.11.113.215%2Ffeeds%2Fengineering%2Flumabridge%2F1.1.4.0 - 200 1865 text/html;+charset=UTF-8 81.9450ms
        
        
        1 Reply Last reply Reply Quote 0
        • Dan_WoolfD Offline
          Dan_Woolf inedo-engineer
          last edited by

          Hi @rhowell_8827,

          Thanks for reaching out. I took a look at the promotion code for Debian-based package promotion and it looks like this is due to a recent regression in our promotion process. I have created a new ticket, PG-2942, to track the fix. This is expected to be released next week in ProGet 2024.33.

          Thanks,
          Dan

          1 Reply Last reply Reply Quote 0
          • R Offline
            rhowell_8827
            last edited by

            Awesome! Thanks so much for the quick response.

            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