From owner-freebsd-pkg@freebsd.org Tue Jul 12 10:23:24 2016 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 6BA5EB91B91 for ; Tue, 12 Jul 2016 10:23:24 +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 549B817A3 for ; Tue, 12 Jul 2016 10:23:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 53FB2B91B90; Tue, 12 Jul 2016 10:23:24 +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 5395CB91B8E for ; Tue, 12 Jul 2016 10:23:24 +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 2586817A2 for ; Tue, 12 Jul 2016 10:23:24 +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 u6CANO9f022603 for ; Tue, 12 Jul 2016 10:23:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 210888] ports-mgmt/pkg: pkg 1.8.6 loops while upgrading itself from local repository Date: Tue, 12 Jul 2016 10:23:24 +0000 X-Bugzilla-Reason: CC 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: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Axel.Rau@Chaos1.DE X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.22 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: Tue, 12 Jul 2016 10:23:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210888 --- Comment #1 from Axel.Rau@Chaos1.DE --- As one can see on the original report, both repo configs have no 'PRIORITY' attribute. After adding priorities, the following happened (in a different jail): - - - [imap4:/var/tmp] root# pkg upgrade Updating lrau-repo-py3 repository catalogue... lrau-repo-py3 repository is up-to-date. Updating lrau-repo-py35 repository catalogue... lrau-repo-py35 repository is up-to-date. Updating lrau-repo repository catalogue... lrau-repo repository is up-to-date. All repositories are up-to-date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.8.6 -> 1.8.7 [lrau-repo-py3] 2 MiB to be downloaded. Proceed with this action? [y/N]: y [imap4] Fetching pkg-1.8.7.txz: 100% 2 MiB 1.3MB/s 00:02=20=20=20=20 Checking integrity... done (0 conflicting) [imap4] [1/1] Upgrading pkg from 1.8.6 to 1.8.7... [imap4] [1/1] Extracting pkg-1.8.7: 100% You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed. /usr/local/lib/libpkg.so.3: Undefined symbol "openat" - - - Because of this error, the installed pkg was unusable. pkg-static worked as expected. The libpkg problem was not reproducible. The complete rebuild of lrau-repo-py3 did not show any errors (log availabl= e on request). It seems, pkg requires PRIORITY, otherwise it loops in multi-repo situation= s. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=