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.



  • 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


    Log in to reply
     


  • 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
    
    

  • inedo-engineer

    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



  • Awesome! Thanks so much for the quick response.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation