[Bug 297548] pkg: repository archive entry is too large: data

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297548

            Bug ID: 297548
           Summary: pkg: repository archive entry is too large: data
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]

Running "pkg update" started to show this warning on this arm64 system. And
although the exit code is 0, searching for ports does not seem to work:

=============================================
$ uname -vm; freebsd-version -rku
FreeBSD 15.1-RELEASE-p2 releng/15.1-n283596-aadd58dddcbc GENERIC arm64
15.1-RELEASE-p2
15.1-RELEASE-p2
15.1-RELEASE-p2

$ doas pkg update && pkg search cowsay
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD-ports repository catalogue...
pkg: need to re-create repo FreeBSD-ports to upgrade schema version
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01    
Fetching data: 100%  9103 KiB   9.3 MB/s    00:01    
pkg: repository archive entry is too large: data
pkg: No signature found
FreeBSD-ports repository is up to date.
All repositories are up to date.

pkg: Repository FreeBSD-ports has a wrong packagesite, need to re-create
database
pkg: repository archive entry is too large: data
pkg: No signature found
pkg: Repository FreeBSD-ports has a wrong packagesite, need to re-create
database
pkg: Repository FreeBSD-ports cannot be opened. 'pkg update' required
=============================================

Switching from "latest" to "quarterly" appears to help:


=============================================
$ cat /usr/local/etc/pkg/repos/FreeBSD.conf 
FreeBSD-ports: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

$ doas pkg update && pkg search cowsay
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
All repositories are up to date.

cowsay-3.04_3                  Configurable talking characters in ASCII art
neo-cowsay-2.0.4_40            Neo Cowsay written in Go
xcowsay-1.6_4                  Graphical configurable talking cow
=============================================

I've posted the same in the forum yesterday:
https://forums.freebsd.org/threads/pkg-repository-archive-entry-is-too-large.103578/
-- but now this feels like a proper bug, hence this report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.