Subject: pkg/27556: pkg_add/pkg_install problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <syn@sceen.net>
List: pkgsrc-bugs
Date: 10/27/2004 14:24:25
>Number: 27556
>Category: pkg
>Synopsis: pkg_add/pkg_install problems
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 27 12:25:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2_STABLE
>Organization:
Richard Braun
>Environment:
System: NetBSD kenobi 1.6.2_STABLE NetBSD 1.6.2_STABLE (KENOBI) #0: Wed Sep 1 01:06:21 CEST 2004 syn@kenobi:/usr/src/sys/arch/sparc64/compile/KENOBI sparc64
Architecture: sparc64
Machine: sparc64
>Description:
I'm using pkg_comp to create binary packages before updating them in the
real system. But many times, I get errors like this one :
$ pkg_add -u /usr/pkgsrc/packages/All/glib2-2.4.7.tgz
assertion "rc == 0" failed: file "/usr/src/usr.sbin/pkg_install/add/perform.c", line 443, function "pkg_do"
Avorté (core dumped)
The error message is sometimes different.
Another problem related to pkg_add -u is the relation between needed libraries
and library files paths. For example, when updating libiconv, and adding
back previous precompiled packages, pkg_add doesn't find any dependancy
problem. But then, programs like mutt can't be started because the path
of the libiconv library has changed, so it must be recompiled too.
Something should be done to prevent it, or at least, explicitely show it,
so that administration work is easier.
>How-To-Repeat:
Try to update binary packages :-p.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: