-
Notifications
You must be signed in to change notification settings - Fork 196
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
Dot in Installed-Size when syncing RaspberryPi OS 12 packages #9613
Comments
Hi there, thank you for reporting the issue. As far as I can tell, per [0], However, I would say that on our side in Uyuni, we can also ensure that we round the installed size attribute to an int before we try to convert to int. I'm keeping this issue open and will try to find time to fix this. [0] https://www.debian.org/doc/debian-policy/ch-controlfields.html#installed-size |
Hi! Thanks for your response. Indeed, the wolfram packages are to blame, I'll drop the maintainers an e-mail to make them aware of this. Also: thanks for being pragmatic on this, input validation is obviously important, but in this case one could also argue that using package attributes in the wrong format is beyond scope and Raspberry Pi OS is not (or not yet) officially supported. Not really a pressing issue either and the workaround is as simple as ugly. Thanks again! |
FYI: Wolfram support replied swiftly: "It does appear that the Installed-Size attribute of Wolfram packages for Raspberry Pi is not behaving properly. I have forwarded an issue report to our developers with the information you provided. I also included your contact information in my report." I'll keep you posted on any further updates. |
Hello @basdakkenhorst , I finally found the time to look into this. I reproduced the error and fixed it with #9726. Would you like to test the changes? If you don't have the time, no worries of course. If so, before testing the diff, first please undo the changes you made in the workaround part of the issue description.
Then, change into the
Now, you can test the patch. In your case, this might mean removing the custom channel and executing the repo-sync again. Finally, after you're done with the testing, you can undo the patch by using the
|
Question
Allthough, not (or at least not yet) officially supported, I use Uyuni to sync Raspberry Pi OS 12 packages. I therefor make this a question, instead of a bug report.
Since at least a couple of months this fails with the following error:
I found out that has something todo with a dot in the Installed-Size value of both packages.
In: http://archive.raspberrypi.org/debian/dists/bookworm/main/binary-arm64/Packages both packages are defined as follows:
Workaround
I added the following to
python/spacewalk/server/importlib/debPackage.py
Since I applied above change the synchronization works again. Obviously, one could just as easily replace the dot, I do not use the wolfram packages myself, so all I really care about is that it doesn't break syncing.
What I do not know:
I figured I'd just share my "fix" as an FYI. Might save someone else a headache or maybe the base for a fix.
Last but not least:
Thanks for the great work, I really appreciate Uyuni!
Version of Uyuni Server and Proxy (if used)
The text was updated successfully, but these errors were encountered: