tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_install in base system again



On Tue, Nov 08, 2011 at 09:15:30AM +0100, Hauke Fath wrote:
 > > > Linux doesn't have "base system" as *BSD have. Linux users are able to
 > > > update their apt/yum/zypper/whatever as soion as update is available. We
 > > > cannot do the same in NetBSD. This is the problem.
 > >
 > >It is not a problem and never has been a problem. Next...
 > 
 > # pkg_add netatalk-2.2.0.tgz
 > pkg_add: Error: package `netatalk-2.2.0' was built with a newer pkg_install
 > version
 > pkg_add: 1 package addition failed
 > # uname -rs
 > NetBSD 5.1_STABLE
 > # whereis pkg_add
 > /usr/sbin/pkg_add
 > /usr/pkg/sbin/pkg_add
 > # /usr/pkg/sbin/pkg_add netatalk-2.2.0.tgz
 > [...]
 > 
 > Of course, I could 'chmod -x /usr/sbin/pkg_*' after every system update...

Or you could set $PATH correctly...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index