|
NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD. |
|
Thread Tools | Display Modes |
|
|||
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 |
|
|||
Yes, done 'pkgin update' a few times before, on first install and one other time. But was not clinical about doing it on regular basis (I almost install no new soft due to HD space limitations).
Contents of /usr/pkg/etc/pkgin/repositories.conf (uncommented stuff only): ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/6.0/All Running 'pkgin update' did certainly solve the problem (the above file didn't change, but the pkg summary was refreshed), so thank you everyone! |
|
|
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 |