Subject: NetBSD 2.0.2 problems with pkgsrc
To: None <netbsd-users@NetBSD.org>
From: Simeon Nifos <archwndas@yahoo.com>
List: netbsd-users
Date: 06/06/2005 13:10:11
Dear users,
I am a new one! I have experience with FreeBSD, Gentoo
and SuSE and I am migrating! Please help because
pkgsrc
in NetBSD 2.0.2 has gone crazy and wild!

I managed to install mozilla from the pkgiso for i386
CD. Questions follow:

1) Why isn't there a packages directory for i386 but 
for AMD64 only for NetBSD 2.0.2?

2) Trying to install emacs and anything else I get
----------------------
/usr/pkgsrc/editors/emacs> make install
===> Error: The package tools installed on this system
are out of date.
===> The installed package tools are dated 2004/01/15
and you must update
===> them to at least 2005/02/04 using the following
command:
===> 
===>    cd /usr/pkgsrc/pkgtools/pkg_install &&
/usr/bin/make clean && /usr/bin/make install
===> Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/emacs

/usr/pkgsrc/editors/emacs>cd
/usr/pkgsrc/pkgtools/pkg_install
/usr/pkgsrc/pkgtools/pkg_install>make clean
make: "../../mk/../../mk/bsd.pkg.mk" line 1013:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
make: "../../mk/../../mk/bsd.pkg.mk" line 1016:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
===> Cleaning for pkg_install-20050530

/usr/pkgsrc/pkgtools/pkg_install>make install
make: "../../mk/../../mk/bsd.pkg.mk" line 1013:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
make: "../../mk/../../mk/bsd.pkg.mk" line 1016:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
===> Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

setenv PKG_PATH ""

/usr/pkgsrc/pkgtools/pkg_install>make install
make: "../../mk/../../mk/bsd.pkg.mk" line 1013:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
make: "../../mk/../../mk/bsd.pkg.mk" line 1016:
warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 81: warning: using
previous script for "update" defined here
===> Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

-------------------
As you see it is impossible to proceed!
What is wrong here? Look the following:

/usr/pkgsrc/All>pkg_add -u emacs-21.4a.tgz
pkg_add: Package `/usr/pkgsrc/All/emacs-21.4a.tgz' OS
mismatch:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0.2
(this host)
pkg_add: pkg `tiff>=3.7.1nb1' required, but
`tiff-3.6.1nb4' found installed.
pkg_add: Please resolve this conflict!
pkg_add: 1 package addition failed

Why? I tried to search in packages of 2.0 in the 
default  FTP server but there were nowhere any tiff*
files.tgz neither pkg_install*.tgz.

Please help!

Best Regards!
Simeon!





		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/