NetBSD Problem Report #46181

From www@NetBSD.org  Mon Mar 12 11:53:41 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 1F97163E2FE
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Mar 2012 11:53:41 +0000 (UTC)
Message-Id: <20120312115340.7299063BA17@www.NetBSD.org>
Date: Mon, 12 Mar 2012 11:53:40 +0000 (UTC)
From: donaldcallen@gmail.com
Reply-To: donaldcallen@gmail.com
To: gnats-bugs@NetBSD.org
Subject: In a newly-installed 5.1.2 (i386), pkg_add fails
X-Send-Pr-Version: www-1.0

>Number:         46181
>Category:       pkg
>Synopsis:       In a newly-installed 5.1.2 (i386), pkg_add fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 11:55:01 +0000 2012
>Originator:     Don Allen
>Release:        5.1.2
>Organization:
>Environment:
NetBSD pelleas.comcast.net 5.1.2 NetBSD 5.1.2 (GENERIC) #0: Thu Feb  2 17:22:10 UTC 2012  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
In a newly-installed 5.1.2 system, pkg_add fails when 
PKG_PATH=ftp://<mirror>/pub/NetBSD/packages/5.1/i386/All.

The error:
dca@pelleas:~/Software/vim-source$ sudo -E /usr/sbin/pkg_add gnuplot
pkg_add: Error: package `gnuplot-4.4.3nb1' was built with a newer pkg_install version
pkg_add: 1 package addition failed


>How-To-Repeat:
Run /usr/sbin/pkg_add.
>Fix:
A workaround is to build and install pkgtools/pkg_add from pkgsrc and then place /usr/pkg/sbin earlier in PATH than /usr/sbin.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.