Date: Mon, 27 Oct 2025 22:13:29 +0000 From: Frank Leonhardt <freebsd-doc@fjl.co.uk> To: questions@freebsd.org Subject: Re: [List] pkg segfault Message-ID: <afb9b56b-9f7b-4e2a-9e7f-0e57688bc5cd@fjl.co.uk> In-Reply-To: <g5b5b6cjsnv4z4ent4c4osvvd4zhlswyxnyka7lymsmo4m6aaw@3f6or6lcm2fe>
index | next in thread | previous in thread | raw e-mail
On 27/10/2025 20:16, Alexey Vyskubov wrote:
> Hello,
>
> I wonder what I am doing wrong. I have three repositories defined:
>
> ❯ pkg repos
> FreeBSD-ports-latest: {
> url : "pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
> enabled : yes,
> priority : 0,
> mirror_type : "SRV",
> signature_type : "FINGERPRINTS",
> fingerprints : "/usr/share/keys/pkg"
> }
> FreeBSD-kmods-latest: {
> url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_latest_3",
> enabled : yes,
> priority : 0,
> mirror_type : "SRV",
> signature_type : "FINGERPRINTS",
> fingerprints : "/usr/share/keys/pkg"
> }
> local: {
> url : "file:///usr/local/poudriere/data/packages/pdbuild-pdbuild",
> enabled : yes,
> priority : 3
> }
>
> Now, "pkg update -r local" and "pkg update -r FreeBSD-ports-latest" work fine.
> But the third consistently segfaults:
>
> ❯ doas pkg update -r FreeBSD-kmods-latest
> Updating FreeBSD-kmods-latest repository catalogue...
> FreeBSD-kmods-latest repository is up to date.
> FreeBSD-kmods-latest is up to date.
> Child process pid=79502 terminated abnormally: Segmentation fault
>
> I tried to rename the repository without any effect. Any ideas?
Looking at it and taking a wild guess, should that read
"pkg+file:///....." ?
Shouldn't segfault if the syntax is inconsistent anyway.
Regards, Frank.
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afb9b56b-9f7b-4e2a-9e7f-0e57688bc5cd>
