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!
Debian Feed problem
-
Hey,
When we try to download debian package, the size of the package is zero
What is the reason of this?
-
Hi; we'll need a bit more information to help... such as what version of ProGet is this? What debian package is it? etc.
-
Sorry,
I'm using proget Version 5.2.18 (Build 2).
I created a debian repository and pushed a package.when I download this, the package come as zero size.
But I dont face this problem with other repository (nuget,etc)
-
It might be something w/ the package format, but it's hard to say.
-
How did you create the package? Please share the commands you used, etc.
-
Can you share this package? Please attach it or upload it
-
How did you push this package? Please share commands you used to do it
-
-
Has there been a workaround/resolution to this issue? I seem to have the same problem with the debian feed. The upload is fine, as I can confirm on the proget backend, the file is uploaded fine. However when we download the package via apt-get or via UI, the package is zero bytes. We are on proget 5.2.30 and we are running proget docker container.
Thanks
-
There hasn't been any activity or other reports of this problem since I asked the earlier questions.... it's obviously nothing we can reproduce.
If you can help by answering those questions then we can start to investigate. Thanks :)
@atripp said in Debian Feed problem:
How did you create the package? Please share the commands you used, etc.
Can you share this package? Please attach it or upload it
How did you push this package? Please share commands you used to do it
-
@atripp said in Debian Feed problem:
There hasn't been any activity or other reports of this problem since I asked the earlier questions.... it's obviously nothing we can reproduce.
If you can help by answering those questions then we can start to investigate. Thanks :)
@atripp said in Debian Feed problem:
How did you create the package? Please share the commands you used, etc.
Can you share this package? Please attach it or upload it
How did you push this package? Please share commands you used to do it
Thanks @atripp for having a look at this issue.
The debian package (rtpengine) was created using the instructions here: https://nickvsnetworking.com/rtpengine-installation-configuration/
We used docker to build our debian package, so summary of steps:
- install the dependencies and run the following in a container
ENV BCG_VER=${BCG_VER}
RUN curl https://codeload.github.com/BelledonneCommunications/bcg729/tar.gz/${BCG_VER} --output bcg729_${BCG_VER}.orig.tar.gz && tar zxf bcg729_${BCG_VER}.orig.tar.gz
RUN git clone https://github.com/ossobv/bcg729-deb.git bcg729-${BCG_VER}/debian
RUN cd bcg729-${BCG_VER} && dpkg-buildpackage -us -uc -sa
RUN dpkg -i libbcg729-*.deb
ENV RTP_VER=${RTP_VER}
RUN git clone https://github.com/sipwise/rtpengine.git
RUN cd rtpengine && git checkout ${RTP_VER} && dpkg-checkbuilddeps && dpkg-buildpackageYes, I have the package, happy to upload it to your file share site if you have one (Alternatively, it's available here: https://filebin.net/tq2ebua1o38z5w5l)
The package was pushed using curl:
curl https://proget.XXXX/debian-packages/upload/bionic-uw/main/ngcp-rtpengine_7.5.4.1+0~mr7.5.4.1_all.deb --user 'debupload:XXXXX' --upload-file ngcp-rtpengine_7.5.4.1+0~mr7.5.4.1_all.deb
On the backend proget server, I can see the file has been uploaded and it's definitely not 0 bytes
-Krish
-
Hi,
It looks like this is indeed an issue with the Content-Length header not being set properly when ProGet is running as a Linux container. I've logged this as PG-1740.