pkg segfault

1 view
Skip to first unread message

Alexey Vyskubov

unread,
Oct 27, 2025, 4:16:56 PMOct 27
to FreeBSD questions mailing list
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?

--
Alexey
I cannot receive HTML mail at this account.
Hi, I am a signature virus. Add me to your signature to help me spread.

Frank Leonhardt

unread,
Oct 27, 2025, 6:13:51 PMOct 27
to ques...@freebsd.org
Looking at it and taking a wild guess, should that read
"pkg+file:///....." ?
Shouldn't segfault if the syntax is inconsistent anyway.

Regards, Frank.





Frank Leonhardt

unread,
Oct 27, 2025, 6:15:57 PMOct 27
to ques...@freebsd.org
While I was at it I might set mirror_type : "NONE", signature_type : "NONE" too.

Regards, Frank.




Alexey Vyskubov

unread,
Oct 28, 2025, 4:12:31 AMOct 28
to FreeBSD questions mailing list
On Mon, Oct 27, 2025 at 10:16:21PM +0200, Alexey Vyskubov wrote:

> }
> FreeBSD-kmods-latest: {
> url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_latest_3",
[...]
> ❯ 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 solved this by changing url to "pkg+http" instead of "pkg+https".
Now it does not segfault anymore. Not nice, though.
Reply all
Reply to author
Forward
0 new messages