Skip to content

Maximum file size exceeded: wrong file size in database #61

Description

@mygithubthrowaway

Hi all,

repoctl version 0.21

i found this problem several times using repoctl, for instance "downgrade" package:

error: failed retrieving file 'downgrade-9.0.0-1-any.pkg.tar.zst' from xxxx : Maximum file size exceeded
warning: failed to retrieve some files

googling it I found this issue:

https://bugs.archlinux.org/task/30878

in particular the Allan McRae reply

and I can confirm the problem is the wrong file size:

[downgrade-9.0.0-1]$ cat desc |grep size -i -A 1
%CSIZE%
19170
--
%ISIZE%
49421
[downgrade-9.0.0-1]$ ls -lha /srv/repo/|grep downgrade
-rw-r--r-- 1 makepkg makepkg  19K Dec  8 00:17 downgrade-9.0.0-1-any.pkg.tar.zst
[downgrade-9.0.0-1]$ ls -l /srv/repo/|grep downgrade
-rw-r--r-- 1 makepkg makepkg     19446 Dec  8 00:17 downgrade-9.0.0-1-any.pkg.tar.zst

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions