Subject: Re: rman and tkman dependency
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: =?ISO-8859-2?Q?Przemys=B3aw_Pawe=B3czyk?= <pp@kv.net.pl>
List: netbsd-users
Date: 12/14/2006 15:11:12
Steven M. Bellovin wrote:
> Check your path -- when I install rman from
> ftp://ftp.netbsd.org/pub/NetBSD/packages/packages-2006Q3/NetBSD-3.0/i386/All/
> and do 'rman -v', it says 3.2:
> 
> 	$ rman -v
> 	PolyglotMan v3.2 of $Date: 2003/07/26 19:00:48 $

See the messages:
...
Reusing FDs 4/5 for communication to FTP coprocess
unpackURL 
'ftp://ftp.netbsd.org/pub/NetBSD/packages/packages-2006Q3/NetBSD-3.0/i 
            386/All/rman-3.2.tgz' to '/var/tmp/instmp.01547e'

ftp> get rman-3.2.tgz "| ( cd /var/tmp/instmp.01547e; tar 
--use-compress-program              gzip -vvxp -f - | tee /dev/stderr )"
tar: ustar vol 1, 10 files, 163840 bytes read, 0 bytes written in 4 secs 
(40960              bytes/sec)
+CONTENTS
+COMMENT
+DESC
+MTREE_DIRS
+BUILD_VERSION
+BUILD_INFO
+SIZE_PKG
+SIZE_ALL
bin/rman
man/man1/rman.1
pkg_add: Warning: package 
`ftp://ftp.netbsd.org/pub/NetBSD/packages/packages-200 
6Q3/NetBSD-3.0/i386/All/rman-3.2.tgz' was built for a different version 
of the O             S:
pkg_add: NetBSD/i386 3.0 (pkg) vs. NetBSD/i386 3.1 (this host)
extract: Package name is rman-3.2
extract: CWD to /usr/pkg
extract: /usr/pkg/bin/rman
extract: /usr/pkg/man/man1/rman.1
extract: CWD to .
Running mtree for rman-3.2.
mtree -U -f +MTREE_DIRS -d -e -p /usr/pkg
Attempting to record package into /var/db/pkg/rman-3.2.
Package rman-3.2 registered in /var/db/pkg/rman-3.2

ftp> close
bash-2.05b# rman -v
PolyglotMan v3.0.8+XFree86
bash-2.05b#

pp
-- 
Przemysław Pawełczyk [pren. Pshemislav Paveltchik]
pp@kv.net.pl, http://pp.kv.net.pl