What happend:
Error message raised by pacman after having package added to Org, error was fixed after package was removed. Both using codeberg.org AP-calls.
This works on my own private Forgejo (v15) instance, where at least size of DB file went from about 2.7 KiB to 39.7 KiB after package was added. On codeberg.org the DB stays at 9.7 KiB (without package 2.7 KiB) after package was added.
Steps:
- build Arch package for icon theme sours-full-color-icon-theme-git (package contains bigger number of files) using git clone + mkpkg
- Upload new package (file size 2.5 MiB) with curl:
curl -X PUT \
https://codeberg.org/api/packages/GWC-AUR/arch/aur \
--user git@awalon.de \
--header "Content-Type: application/octet-stream" \
--data-binary '@sours-full-color-icon-theme-git-2025年10月27日.a7027ca-1-any.pkg.tar.zst'
- Installation via
LC_ALL=en sudo pacman -Sy sours-full-color-icon-theme-git (same for other package) fails with (looks like broken DB file):
error: could not parse package description file 'sours-full-color-icon-theme-git-2025年10月27日.a7027ca-1/files' from db 'gwc-aur.codeberg.org'
error: failed to prepare transaction (invalid or corrupted database)
- Error can be fixed by removing package again:
curl -X DELETE \
https://codeberg.org/api/packages/GWC-AUR/arch/aur/sours-full-color-icon-theme-git/2025.10.27.a7027ca-1/any \
--user git@awalon.de
Arch package is currently available in a brocken repo (different group):
https://codeberg.org/api/packages/GWC-AUR/arch/gwc/$arch
Expecation:
Option 1: If this package reached a ressource limit there should be an error message for upload API (like for invalid authorization)
Option 2: Arch repo DB file can be successfully processed by pacman
Btw. thank you very much for your efforts and this great service.
### Comment
**What happend:**
Error message raised by pacman after having package added to Org, error was fixed after package was removed. Both using codeberg.org AP-calls.
This works on my own private Forgejo (v15) instance, where at least size of DB file went from about 2.7 KiB to **39.7 KiB** after package was added. On codeberg.org the DB stays at **9.7 KiB** (without package 2.7 KiB) after package was added.
**Steps:**
1. build Arch package for icon theme [sours-full-color-icon-theme-git](https://codeberg.org/GWC-AUR/sours-full-color-icon-theme-git) (package contains bigger number of files) using git clone + mkpkg
2. Upload new package (file size 2.5 MiB) with curl:
```sh
curl -X PUT \
https://codeberg.org/api/packages/GWC-AUR/arch/aur \
--user git@awalon.de \
--header "Content-Type: application/octet-stream" \
--data-binary '@sours-full-color-icon-theme-git-2025年10月27日.a7027ca-1-any.pkg.tar.zst'
```
3. Installation via`LC_ALL=en sudo pacman -Sy sours-full-color-icon-theme-git` (same for other package) fails with (looks like broken DB file):
```text
error: could not parse package description file 'sours-full-color-icon-theme-git-2025年10月27日.a7027ca-1/files' from db 'gwc-aur.codeberg.org'
error: failed to prepare transaction (invalid or corrupted database)
```
4. Error can be fixed by removing package again:
```sh
curl -X DELETE \
https://codeberg.org/api/packages/GWC-AUR/arch/aur/sours-full-color-icon-theme-git/2025.10.27.a7027ca-1/any \
--user git@awalon.de
```
Arch package is currently available in a brocken repo (different group):
[https://codeberg.org/api/packages/GWC-AUR/arch/gwc/$arch](https://codeberg.org/GWC-AUR/-/packages/arch/sours-full-color-icon-theme-git/2025.10.27.a7027ca-1)
**Expecation:**
Option 1: If this package reached a ressource limit there should be an error message for upload API (like for invalid authorization)
Option 2: Arch repo DB file can be successfully processed by pacman
Btw. thank you very much for your efforts and this great service.