Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th September 2021
netbsdnew17 netbsdnew17 is offline
New User
Join Date: Sep 2021
Posts: 1
Default pkg_add pkgin error

# export PKG_PATH
# pkg_add pkgin
# pkg_add: Cant process file.....

pkg_add http://ftp.netbsd.org/pub/pkgsrc/pac...20.12.1nb1.tgz

pkg_add: cant process, pkg_add: no pkg found for, pkg_add: 1 package addition failed

Ping works
Reply With Quote
  #2   (View Single Post)  
Old 21st September 2021
Sehnsucht94's Avatar
Sehnsucht94 Sehnsucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
Join Date: Oct 2017
Location: Rome
Posts: 161

Originally Posted by netbsdnew17 View Post
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
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg_add error Luarini OpenBSD Packages and Ports 3 19th July 2019 09:53 PM
pkgin pkgsrc pkg_add errors gpatrick NetBSD Package System (pkgsrc) 8 11th November 2015 10:42 PM
Weird PKG_ADD error EverydayDiesel OpenBSD Packages and Ports 3 3rd June 2015 01:24 AM
pkgin in vs. pkg_add DaBSD NetBSD Package System (pkgsrc) 3 3rd May 2015 11:48 PM
pkg_add error buba OpenBSD Packages and Ports 4 13th June 2008 03:29 PM

All times are GMT. The time now is 11:07 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick