NetBSD Problem Report #30441
From tron@colwyn.zhadum.de Mon Jun 6 09:07:17 2005
Return-Path: <tron@colwyn.zhadum.de>
Received: from colwyn.zhadum.de (colwyn.zhadum.de [81.187.181.114])
by narn.netbsd.org (Postfix) with ESMTP id 6724A63B104
for <gnats-bugs@gnats.NetBSD.org>; Mon, 6 Jun 2005 09:07:16 +0000 (UTC)
Message-Id: <200506060907.j5697Ce6017341@colwyn.zhadum.de>
Date: Mon, 6 Jun 2005 10:07:12 +0100 (BST)
From: Matthias Scheler <tron@zhadum.de>
Reply-To: tron@zhadum.de
To: gnats-bugs@netbsd.org
Subject: "pkg_chk -i -f" doesn't work anymore
X-Send-Pr-Version: 3.95
>Number: 30441
>Category: pkg
>Synopsis: "pkg_chk -i -f" doesn't work anymore
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: abs
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 06 09:08:00 +0000 2005
>Closed-Date:
>Last-Modified: Wed Dec 02 04:50:02 +0000 2009
>Originator: tron@zhadum.de
>Release: NetBSD 3.0_BETA 2005-06-06 sources,
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 3.0_BETA NetBSD 3.0_BETA (COLWYN) #0: Sun May 29 12:34:37 BST 2005 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
Information for pkg_chk-1.59:
Comment:
Check installed package versions against pkgsrc
Description:
pkg_chk verifies that the versions of installed packages matches those in
pkgsrc, optionally adding missing or updating mismatched packages.
It can verify all installed packages, or check against a set of packages
based on the hostname, architecture, and other characteristics.
Homepage:
ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
>Description:
"pkg_chk" will now longer fetch distfiles for packages which need to
be updated:
tron@colwyn:/usr/pkgsrc/net/samba>pkg_chk -i -f
[...]
samba-3.0.14anb1: version mismatch - samba-3.0.10nb2
[...]
[ Fetch ]
tron@colwyn:/usr/pkgsrc/net/samba>make fetch
===> Checking for vulnerabilities in samba-3.0.14anb1
=> samba-3.0.14a.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch samba-3.0.14a.tar.gz from ftp://ftp.uk.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [15605851 bytes]
Requesting ftp://ftp.uk.NetBSD.org/pub/NetBSD/packages/distfiles/samba-3.0.14a.tar.gz
(via proxy.zhadum.de:8080)
[...]
>How-To-Repeat:
Use "pkg_chk -i -f" on a system with at least one outdated package.
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: tron@netbsd.org
Responsible-Changed-When: Tue, 14 Jun 2005 18:33:31 +0000
Responsible-Changed-Why:
Assign this PR to the package's maintainer.
State-Changed-From-To: open->feedback
State-Changed-By: asau@NetBSD.org
State-Changed-When: Tue, 01 Dec 2009 16:01:02 +0000
State-Changed-Why:
Does the problem exist in pkg_chk 2.0 (four years later)?
From: Matthias Scheler <tron@zhadum.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/30441 ("pkg_chk -i -f" doesn't work anymore)
Date: Tue, 1 Dec 2009 17:26:30 +0000
On Tue, Dec 01, 2009 at 04:01:03PM +0000, asau@NetBSD.org wrote:
> Synopsis: "pkg_chk -i -f" doesn't work anymore
>
> State-Changed-From-To: open->feedback
> State-Changed-By: asau@NetBSD.org
> State-Changed-When: Tue, 01 Dec 2009 16:01:02 +0000
> State-Changed-Why:
> Does the problem exist in pkg_chk 2.0 (four years later)?
It still doesn't do anything:
tron@colwyn:/usr/pkgsrc/audio/libaudiofile>pkg_chk -i -f
-i is deprecated - use -u -q
audio/libaudiofile - libaudiofile-0.2.6nb2 < libaudiofile-0.2.6nb3
*** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-colwyn.zhadum.org.uk.conf'
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
State-Changed-From-To: feedback->open
State-Changed-By: tron@NetBSD.org
State-Changed-When: Tue, 01 Dec 2009 17:31:17 +0000
State-Changed-Why:
Feedback was provided.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30441 ("pkg_chk -i -f" doesn't work anymore)
Date: Wed, 02 Dec 2009 13:46:38 +0900
On Wed, 02 Dec 2009 02:30:06 +0900, Matthias Scheler <tron@zhadum.de> wrote:
> tron@colwyn:/usr/pkgsrc/audio/libaudiofile>pkg_chk -i -f
> -i is deprecated - use -u -q
> audio/libaudiofile - libaudiofile-0.2.6nb2 < libaudiofile-0.2.6nb3
> *** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-colwyn.zhadum.org.uk.conf'
As warning messages, deprecated "-i" option is converted to "-u -q" automatically,
but "-q" also affect to "-f" option, so not fetched.
Any solution?
1) back -c" and "-i" option again (just specify check type, allow other actions)
2) change -q option not to affect -f
3) other?
>Unformatted:
(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.