DaemonForums  

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

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th February 2018
jmar83 jmar83 is offline
jmar83
 
Join Date: Feb 2018
Posts: 17
Default NetBSD 7.1.1 on sparc64 (Sun Ultra 45) pkg_chk: not found ??

Hi there

Now i installed NetBSD 7.1.1 on my Sun Ultra 45 (sparc64) successfully.

But it seems "pkg_chk" does not exist:

Code:
ultra45$ pkg_chk
pkg_chk: not found
I try to call it with a ssh remote connection, logged-in as non-root*, but in root mode with "su -"...

but "pkg_add" seems to work:
Code:
ultra45$ pkg_add
pkg_add: missing package name(s)
usage: pkg_add [-AfhILnRuVv] [-C config] [-P destdir] [-K pkg_dbdir]
               [-m machine] [-p prefix] [-s verification-type
               [-W viewbase] [-w view]

               [[ftp|http]://[user[:password]@]host[:port]][/path/]pkg-name ...
*PermitRootLogin yes in /etc/ssh/ssh_config file does also not work:

Code:
# NetBSD.org DNS provides SSHFP records - use them when possible
Host *.netbsd.org *.NetBSD.org
    VerifyHostKeyDNS ask
PermitRootLogin yes

..."pkg_chk" seems to be an offical NetBSD thing: https://wiki.netbsd.org/pkgsrc/how_to_upgrade_packages/

But it's not available on my installation...?
__________________
Regards, Jan

Last edited by jmar83; 24th February 2018 at 02:32 PM.
Reply With Quote
  #2   (View Single Post)  
Old 24th February 2018
jmar83 jmar83 is offline
jmar83
 
Join Date: Feb 2018
Posts: 17
Default

Almost impossible to work without "nano"..
__________________
Regards, Jan

Last edited by jmar83; 24th February 2018 at 02:31 PM.
Reply With Quote
  #3   (View Single Post)  
Old 25th February 2018
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

pkg_chk is a package installed from pkgsrc. You'll find it in pkgsrc/pkgtools/pkg_chk, and need to install it from there, or a package repository.
Reply With Quote
  #4   (View Single Post)  
Old 25th February 2018
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

PermitRootLogin is a configuration option for /etc/ssh/sshd_config, not /etc/ssh/ssh_config.
Reply With Quote
  #5   (View Single Post)  
Old 26th February 2018
jmar83 jmar83 is offline
jmar83
 
Join Date: Feb 2018
Posts: 17
Default

Hello schnoebe

Thank you very much, will try it as soon as possible!!
__________________
Regards, Jan
Reply With Quote
Reply

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
Solaris emulation on NetBSD sparc64 bashrules NetBSD General 2 22nd January 2013 12:06 AM
Atheros Wifi NetBSD on a Sparc64 granowski NetBSD General 1 27th September 2010 11:35 AM
Maven/Lift on NetBSD sparc64 not1337 NetBSD Package System (pkgsrc) 6 29th July 2010 10:59 PM
pkg_chk c++ compiler not available fenrisW0lf NetBSD Package System (pkgsrc) 15 30th June 2008 10:48 AM
7.0 on DFI Lanparty NF4 Ultra D revzalot FreeBSD General 1 12th May 2008 11:11 PM


All times are GMT. The time now is 10:24 PM.


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