[pacman-dev] Error: Maximum file size exceeded

Eli Schwartz eschwartz at archlinux.org
Wed Oct 25 18:37:20 UTC 2017


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20171025/7acbacfc/attachment.asc>


More information about the pacman-dev mailing list