[pacman-dev] Error: Maximum file size exceeded
I maintain a pacman repository and I frequently end up with broken packages because of this error. I'm surprised this doesn't come up on Arch Linux's production repositories. I add the package to the repository with a script that rsyncs up the tarball and does this: repo-add -n -R \ $repo_path/sr.ht.db.tar.gz \ $repo_path/python-srht-$pkgver-$pkgrel-any.pkg.tar.xz This error happens maybe 1 in 10 times. Thoughts? -- Drew DeVault
On 10/25/2017 01:29 PM, Drew DeVault wrote:
I maintain a pacman repository and I frequently end up with broken packages because of this error. I'm surprised this doesn't come up on Arch Linux's production repositories.
I add the package to the repository with a script that rsyncs up the tarball and does this:
repo-add -n -R \ $repo_path/sr.ht.db.tar.gz \ $repo_path/python-srht-$pkgver-$pkgrel-any.pkg.tar.xz
This error happens maybe 1 in 10 times. Thoughts?
So as discussed on IRC, the %CSIZE% in the database desc file for one package was 1110220 while the package file itself had a size of 1110240 Adding --blocking-io to the rsync call https://builds.sr.ht/job/361 has caused this to start working at least 1 in 1 times. :D Which I think is a reasonable explanation for what happened. Report back if it keeps happening though. -- Eli Schwartz
participants (2)
-
Drew DeVault
-
Eli Schwartz