> On Jul 13, 2025, at 13:32, John Klos <j...@klos.com> wrote:
> 
> If you've gotten your RISC-V system booted and online, then you can use these 
> binary packages for pkgsrc and pkgin. Set PKG_PATH to this as explained at 
> https://www.pkgsrc.org to:
> 
> https://pkg.zia.io/pub/pkgsrc/packages/NetBSD/riscv64/current_2025Q2/All/
> 
> And you should have a good collection of packages. There's only about 5000 
> right now, since there's no official RISC-V release yet.
> 
> John

Thanks!  I exported PKG_PATH as instructed, but there’s no pkgin there AFAICT:

riscv64# set | grep PKG
PKG_PATH=https://pkg.zia.io/pub/pkgsrc/packages/NetBSD/riscv64/current_2025Q2/All/
riscv64# export PKG_PATH
riscv64# pkg_add pkgin
pkg_add: no pkg found for 'pkgin', sorry.
pkg_add: 1 package addition failed

However it looks like 2025Q1 has it.

riscv64# 
PKG_PATH=https://pkg.zia.io/pub/pkgsrc/packages/NetBSD/riscv64/current_2025Q1/All/
riscv64# pkg_add pkgin
pkg_add: pkgin-24.12.0: warning: was built for a different platform:
pkg_add: NetBSD/riscv64 10.99 (pkg) vs. NetBSD/riscv64 10.99.14 (this host)
pkg_add: pkg_install-20250219: warning: was built for a different platform:
pkg_add: NetBSD/riscv64 10.99 (pkg) vs. NetBSD/riscv64 10.99.14 (this host)
pkg_add: sqlite3-3.48.0: warning: was built for a different platform:
pkg_add: NetBSD/riscv64 10.99 (pkg) vs. NetBSD/riscv64 10.99.14 (this host)
pkgin-24.12.0: copying /usr/pkg/share/examples/pkgin/repositories.conf.example 
to /usr/pkg/etc/pkgin/repositories.conf

alas pkgin doesn’t seem to work I expected it to:

riscv64# pkgin search emacs 
processing remote summary 
(https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/riscv64/10.99/All)...
pkgin: Could not fetch 
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/riscv64/10.99/All/pkg_summary.gz:
 Not Found

as it’s searching https://cdn.netbsd.org <https://cdn.netbsd.org/>, not 
https://pkg.zia.io 
<https://pkg.zia.io/pub/pkgsrc/packages/NetBSD/riscv64/current_2025Q1/All/>

Thanks,
Tommy

Reply via email to