From owner-freebsd-pkg@freebsd.org  Sun Aug 30 21:00:44 2020
Return-Path: <owner-freebsd-pkg@freebsd.org>
Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2EED63C9FC7
 for <freebsd-pkg@mailman.nyi.freebsd.org>;
 Sun, 30 Aug 2020 21:00:44 +0000 (UTC)
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:13])
 by mx1.freebsd.org (Postfix) with ESMTP id 4Bfm2M6LhWz4YMy
 for <freebsd-pkg@freebsd.org>; Sun, 30 Aug 2020 21:00:43 +0000 (UTC)
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id CECF43CA103; Sun, 30 Aug 2020 21:00:43 +0000 (UTC)
Delivered-To: pkg@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE8CB3C9DF9
 for <pkg@mailman.nyi.freebsd.org>; Sun, 30 Aug 2020 21:00:43 +0000 (UTC)
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4Bfm2M2VFyz4YDB
 for <pkg@FreeBSD.org>; Sun, 30 Aug 2020 21:00:43 +0000 (UTC)
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:1d])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA84D1CE47
 for <pkg@FreeBSD.org>; Sun, 30 Aug 2020 21:00:42 +0000 (UTC)
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07UL0gJA034932
 for <pkg@FreeBSD.org>; Sun, 30 Aug 2020 21:00:42 GMT
 (envelope-from bugzilla-noreply@FreeBSD.org)
Received: (from bugzilla@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07UL0gUo034931
 for pkg@FreeBSD.org; Sun, 30 Aug 2020 21:00:42 GMT
 (envelope-from bugzilla-noreply@FreeBSD.org)
Message-Id: <202008302100.07UL0gUo034931@kenobi.freebsd.org>
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to
 bugzilla-noreply@FreeBSD.org using -f
From: bugzilla-noreply@FreeBSD.org
To: pkg@FreeBSD.org
Subject: Problem reports for pkg@FreeBSD.org that need special attention
Date: Sun, 30 Aug 2020 21:00:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.33
X-BeenThere: freebsd-pkg@freebsd.org
X-Mailman-Version: 2.1.33
Precedence: list
List-Id: Binary package management and package tools discussion
 <freebsd-pkg.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkg>,
 <mailto:freebsd-pkg-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkg/>
List-Post: <mailto:freebsd-pkg@freebsd.org>
List-Help: <mailto:freebsd-pkg-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkg>,
 <mailto:freebsd-pkg-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Aug 2020 21:00:44 -0000

To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    220049 | ports-mgmt/pkg installs unneeded packages         
Open        |    237369 | ports-mgmt/pkg: pkg delete removes required NLS d 

2 problems total for which you should take action.

From owner-freebsd-pkg@freebsd.org  Mon Aug 31 22:29:29 2020
Return-Path: <owner-freebsd-pkg@freebsd.org>
Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 566373D0529
 for <freebsd-pkg@mailman.nyi.freebsd.org>;
 Mon, 31 Aug 2020 22:29:29 +0000 (UTC) (envelope-from jhs@berklix.com)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 4BgPyK12R2z4Dm8
 for <freebsd-pkg@freebsd.org>; Mon, 31 Aug 2020 22:29:29 +0000 (UTC)
 (envelope-from jhs@berklix.com)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 2161E3D017A; Mon, 31 Aug 2020 22:29:29 +0000 (UTC)
Delivered-To: pkg@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2126D3D03E8
 for <pkg@mailman.nyi.freebsd.org>; Mon, 31 Aug 2020 22:29:29 +0000 (UTC)
 (envelope-from jhs@berklix.com)
Received: from slim.berklix.org (slim.berklix.org [94.185.90.68])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "slim.berklix.org", Issuer "slim.berklix.org" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4BgPyJ2FR5z4Djl
 for <pkg@FreeBSD.org>; Mon, 31 Aug 2020 22:29:27 +0000 (UTC)
 (envelope-from jhs@berklix.com)
Received: from mart.js.berklix.net (p4fc4c69f.dip0.t-ipconnect.de
 [79.196.198.159]) (authenticated bits=128)
 by slim.berklix.org (8.15.2/8.15.2) with ESMTPSA id 07VMTMsL020543
 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Tue, 1 Sep 2020 00:29:26 +0200 (CEST) (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
 by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id 07VMTMoe053526;
 Tue, 1 Sep 2020 00:29:22 +0200 (CEST) (envelope-from jhs@berklix.com)
Received: from fire.js.berklix.net (localhost [127.0.0.1])
 by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id 07VMTCe2097306;
 Tue, 1 Sep 2020 00:29:22 +0200 (CEST) (envelope-from jhs@berklix.com)
Message-Id: <202008312229.07VMTCe2097306@fire.js.berklix.net>
To: pkg@FreeBSD.org
Subject: ports-mgmt/pkg: Checking integrity...Assertion failed: (strcmp(uid, 
From: "Julian H. Stacey" <jhs@berklix.com>
cc: "Julian H. Stacey" <jhs@berklix.com>
Organization: http://berklix.com/jhs/
User-agent: EXMH on FreeBSD http://www.berklix.eu/free/
X-From: http://www.berklix.eu/~jhs/
Date: Tue, 01 Sep 2020 00:29:12 +0200
X-Rspamd-Queue-Id: 4BgPyJ2FR5z4Djl
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of jhs@berklix.com has no SPF policy when
 checking 94.185.90.68) smtp.mailfrom=jhs@berklix.com
X-Spamd-Result: default: False [-0.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 SUBJECT_ENDS_SPACES(0.50)[]; FREEFALL_USER(0.00)[jhs];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[];
 NEURAL_HAM_LONG(-0.90)[-0.895]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[berklix.com]; AUTH_NA(1.00)[];
 NEURAL_SPAM_SHORT(0.35)[0.351]; HAS_ORG_HEADER(0.00)[];
 RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.91)[-0.905];
 R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:33824, ipnet:94.185.88.0/22, country:DE];
 RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[pkg];
 RECEIVED_SPAMHAUS_PBL(0.00)[79.196.198.159:received]
X-BeenThere: freebsd-pkg@freebsd.org
X-Mailman-Version: 2.1.33
Precedence: list
List-Id: Binary package management and package tools discussion
 <freebsd-pkg.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkg>,
 <mailto:freebsd-pkg-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkg/>
List-Post: <mailto:freebsd-pkg@freebsd.org>
List-Help: <mailto:freebsd-pkg-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkg>,
 <mailto:freebsd-pkg-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2020 22:29:29 -0000

Hi pkg@FreeBSD.org 
Summary: Can we please put a more human friendly printf at line below ***

With a 2 month old current, mostly upgraded to new current
uname -a
FreeBSD lapr.js.berklix.net 13.0-CURRENT FreeBSD 13.0-CURRENT #0: Mon Aug 31 13:22:54 CEST 2020     jhs@lapr.js.berklix.net:/usr/src/sys/amd64/compile/GENERIC  amd64
cat .svn_revision 364986
cat .ctm_status src-cur 14656

& with a few src/ bits being nursed through make, fixed & rebuilt,
in parallel (being impatient, & not being stable enough to yet run
mergemaster to upgrade /etc ) I ran pkg upgrade
& got a too opaque error message:
	Updating FreeBSD repository catalogue...
	FreeBSD repository is up to date.
	All repositories are up to date.
	Updating database digests format: 100%
	Checking for upgrades (499 candidates): 100%
	Processing candidates (499 candidates): 100%
	Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.
	Child process pid=83027 terminated abnormally: Abort trap

*** From /usr/ports/ports-mgmt/pkg/work/pkg-1.14.7/libpkg/pkg_jobs_conflicts.c
                 * We have found the conflict with some other chain, so find that chain
                 * or update the universe
	assert(strcmp(uid, p->uid) != 0);

Mystifying for anyone but a programmer with time to search. 
Would be nice if you could please make it more human friendly ?
to emit a message such as
	/var/db/pkg/WHATEVER seems damaged, try fixing it with COMMAND
	( Like rc mount fails suggests fsck ?
	man pkg doesnt have a suggestion to fix/ check/ preen the db,,
	maybe theres some magic sqlite incantation one could quote from 
	/etc/rc or ? to man pkg )

I tried various things as below, no luck for a a while, but then
something there, or some fix I was doing in parallel to src/ make, fixed my pkg
repository.  
I cant repeat the error sequence, but I did copy the entire /var while
broken for autopsy if you are interested )

Things I was trying for a while in parallel to fixing src/ make,
till something fixed my pkg
------------
	alternate use of pkg-static to reinstall pkg
	pkg delete pkg, pkg install pkg,
	cd usr/ports/package/pkg ; make unistall, make install,
	& foreach (my list of 500) pkg install $i
	pkg autoremove
		pkg: No packages installed.  Nothing to do!
	pkg upgrade 
	Updating FreeBSD repository catalogue...
	Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
	Fetching packagesite.txz: 100%    6 MiB 785.6kB/s    00:08    
	Processing entries: 100%
	FreeBSD repository update completed. 30733 packages processed.
	All repositories are up to date.
	Checking for upgrades (0 candidates): 100%
	Processing candidates (0 candidates): 100%
	Checking integrity... done (0 conflicting)
	Your packages are up to date.
So eventually something seemed to have flushed & zeroed my list of 500 
at least it's working again, so am reinstalling all 500.

Cheers,
Julian
-- 
Julian Stacey, Consultant Sys. Engineer, BSD Linux http://berklix.com/jhs/
Crash Brexit Dec. 2020 paid by speculators. http://berklix.uk/brexit/#money