Subject: Re: NetBSD 2.0.2 problems with pkgsrc
To: Simeon Nifos <archwndas@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 06/06/2005 23:32:47
On Mon, Jun 06, 2005 at 01:10:11PM -0700, Simeon Nifos wrote:
> 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?
Because noone built them. NetBSD 2.0 packages will run on 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
Looks like your pkgsrc tree is inconsistent. Try to update again.
Especially watch for lines starting with C or M: they mention files
in your local tree that have a conflics or are otherwise modified locally.
> [...]
> 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.
The tiff package got removed because of security issues (the policy has
since then changed: vulnerable packages are moved to a vulnerable/ subdir
instead of being deleted). I'm rebuilding pkgsrc-2005Q1 for 2.0 and 1.6.2
and will upload when finished, but it may need a few more 10s of hours:
there were a lot of missing or updated packages, some of them with deep
dependencies, and all of gnome and kde (among others) got rebuilt.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--