View Single Post
  #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