From owner-freebsd-pkg@freebsd.org Mon Nov 20 12:58:30 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3792CDEB0A3 for ; Mon, 20 Nov 2017 12:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1DEAD7C784 for ; Mon, 20 Nov 2017 12:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1A4B9DEB0A2; Mon, 20 Nov 2017 12:58:30 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E95DEB0A1 for ; Mon, 20 Nov 2017 12:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0615D7C783 for ; Mon, 20 Nov 2017 12:58:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAKCwTMs097684 for ; Mon, 20 Nov 2017 12:58:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 223751] ports-mgmt/pkg: unable to pkg upgrade: Assertion failed: (strcmp(uid, p->uid) != 0) Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386 Date: Mon, 20 Nov 2017 12:58:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: x11max1@unitybox.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 12:58:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223751 --- Comment #1 from x11max1@unitybox.de --- I found out - in my case - what the problem is if "pkg upgrade" fails. Running "pkg check -s -a" shows some errors.=20=20 - "missing file" - "checksum mismatch" For example:=20 root@freebsd:~ # pkg check -s -a ImageMagick-6.9.9.15,1: missing file /usr/local/etc/ImageMagick-6/coder.xml.sample ImageMagick-6.9.9.15,1: missing file /usr/local/etc/ImageMagick-6/colors.xml.sample ImageMagick-6.9.9.15,1: missing file /usr/local/etc/ImageMagick-6/log.xml.sample ImageMagick-6.9.9.15,1: missing file /usr/local/etc/ImageMagick-6/magic.xml.sample urwfonts-ttf-1.0.7b18_6: checksum mismatch for /usr/local/share/fonts/urwfonts-ttf/fonts.dir urwfonts-ttf-1.0.7b18_6: checksum mismatch for /usr/local/share/fonts/urwfonts-ttf/fonts.scale That is why "pkg upgrade" couldn't run successfully. Reinstalling the relevat packages solved my problem with pkg. root@freebsd:~ # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (217 candidates): 100% Processing candidates (217 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. root@freebsd:~ # --=20 You are receiving this mail because: You are the assignee for the bug.=