View Single Post
  #2   (View Single Post)  
Old 21st September 2021
Sensucht94's Avatar
Sensucht94 Sensucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
 
Join Date: Oct 2017
Location: Rome
Posts: 140
Default

Quote:
Originally Posted by netbsdnew17 View Post
#PKG_PATH=http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$/i386/$/9.1/All/
This looks like a malformed URL. What are the '$' supposed to be expanded into? Also, remove the trailing slash (make it end with 'All' and as opposed to 'All/'). A properly formatted PKG_PATH for your use case would be
Code:
PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/9.1/All"
#or
PKG_PATH="https://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All"
You can set this repo (without quotation marks) in /usr/pkg/etc/pkgin/repositories.conf for pkgin to use.

pkgin-20.12.1 is not at patch level -1 for 9.1/i386 platform, remove *nb1*; the correct URL is: https://ftp.netbsd.org/pub/pkgsrc/pa...in-20.12.1.tgz (notice pkg_add/pkgin speak SSL, so you can safely fetch binary packages over an encrypted network).
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„
Reply With Quote