-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Mirror Ubuntu 22.04 LTS repos #131
Comments
Just noticed this is a graphical fronted for reprepo, therefore this issue relates to this bug ionos-cloud/reprepro#20 |
Indeed Repomanager is using It's seems the Sometimes I also think about making my own metadata builder tool to get rid of this... All I can tell you is that it's going to take time. |
Supposedly support is added in bullseyebackports version.
Will give it a shot tomorrow. Also might try building repomanager on an Ubuntu image and see how it goes. |
reprepro version is already |
I fixed this issue but I'm now facing another problem with reprepro randomly hanging on some packages import, still related to zstd I think.. I continue my investigation |
@lbr38 how did you fix the issue, I haven't had an opportunity to work on the issue myself yet and I am curious how you did it. |
@lbr38 from my testing of your latest stable docker image, the fault doesn't seem to lie entirely with reprepro.
I have confirmed repomanager is not running an older version of the software: I am guessing it might be environment related:
I hope this points you in the right direction. |
Yes it was indeed a missing env var problem. I fixed the PATH var yesterday (but not yet released): https://github.com/lbr38/repomanager/pull/136/files#diff-a07f7ac307fad4d2cda6bc25e9736a9db54d4daed82fed2090daf0a6dadcdd0f But now as I said I'm facing another problem with reprepro hanging while importing packages (when mirroring |
I released the fix (in v3.7.7) for the I looked deep in the source code of reprepro and identified what line might cause the problem but I have no idea what to do next. Also tried to add more logging in the source code, tried to build the latest version of reprepro from source but still facing the same problem. I will see if I can find a way to open an issue to a Debian dev to ask for help. Maybe you can test on your side and tell me if reprepro is hanging when mirroring |
@lbr38 I have replicated the issue on my desktop running your latest image, will try fiddling with some pieces: |
@lbr38 why did you decide to use the includedeb method for mirroring large repos like Ubuntu vs the updates method (I am genuinely curious). It seems that using updates, is the intended methodology from reprepro for mirroring scenarios, while includedeb is for local repos, though it does seem a lot slower. |
@rolffujino I'm not using |
I found someone having the same issue with the ubuntu repository: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056380 I guess there is nothing else I can do for now, I will keep and eye on the Debian bug report and see if there is any progress in the next days. |
@lbr38 FYI I did test the |
Alright thank you for testing :-) |
Hello @rolffujino Can you please confirm that the latest version (3.7.10) solves this issue? Seeing no progress on the reprepro bug issued on bugs.debian.org, I just replaced |
Hi @lbr38 @rolffujino, This commit fixes the "Broken pipe" issue: https://salsa.debian.org/debian/reprepro/-/commit/6a8ac062c49093ad33689754558e626851070e61. I am not sure, if that fix causes that reprepro hangs from time to time on zstd-compressed packages or if those hangs must be regarded as a separate (independent) issue. |
Hello @cfiehe Thank you for your message but this issue is now closed as I hope you will get an answer to your problem from the Debian/Ubuntu team. |
That is an understandable solution. A colleague and I did some testing and we were able to narrow down the issue, but we are unsure if our changes really solve the issue. We are both no C++ experts: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056380#20 |
From 2021/06/14 Ubuntu switched the default compression for
dpkg
from xz to zstd (CHANGELOG).I believe this causing my attempts to mirror the Ubuntu 22.04 LTS to fail:
The text was updated successfully, but these errors were encountered: