DaemonForums  

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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 29th April 2015
DaBSD DaBSD is offline
Shell Scout
 
Join Date: Jan 2013
Location: Russia/Iceland
Posts: 102
Default pkgin in vs. pkg_add

It happens rather often than seldom that when I try to install a binary package with 'pkgin in', nothing gets done, but when I go for the good old 'pkg_add', the package is found and installed. Does it have to do with the difference between the version in the repository and the actual version of the installed OS? Here's an example:

Code:
bash-4.2# pkgin in lynx  
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed: lynx-2.8.7nb5 (2087K to download, 4978K to install)

proceed ? [Y/n] y
downloading packages...
lynx-2.8.7nb5 is not available on the repository
proceed ? [y/N] n
pkgin: lynx-2.8.7nb5 is not available on the repository

bash-4.2# pkg_add lynx
pkg_add: Warning: package `lynx-2.8.8.2' was built for a platform:
pkg_add: NetBSD/i386 6.0 (pkg) vs. NetBSD/i386 6.1.2 (this host)
lynx-2.8.8.2: copying /usr/pkg/share/examples/lynx/lynx.cfg to /usr/pkg/etc/lynx.cfg
lynx-2.8.8.2: copying /usr/pkg/share/examples/lynx/lynx.lss to /usr/pkg/etc/lynx.lss
And voila, lynx is installed! What's wrong with pkgin then?
Reply With Quote
 


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
pkgsrc/pkgin path tolstoi NetBSD Package System (pkgsrc) 4 25th April 2015 01:26 PM
pkgin can't fetch pkg_summary.gz from master site pawaan NetBSD Package System (pkgsrc) 0 6th October 2013 12:06 PM
pkgin accident...any known solutions? enoch82 Other BSD and UNIX/UNIX-like 1 28th April 2013 02:32 PM
pkg_add times out (?) Daffy OpenBSD Packages and Ports 0 27th July 2012 09:41 PM
pkgin - fetch failure/ Not logged in nihonto NetBSD Package System (pkgsrc) 1 5th March 2011 01:27 PM


All times are GMT. The time now is 04:53 PM.


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