From owner-freebsd-pkg@freebsd.org Fri Jun 16 15:35:57 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 574A4C31AC5 for ; Fri, 16 Jun 2017 15:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 401A084AEB for ; Fri, 16 Jun 2017 15:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3C9FFC31AC3; Fri, 16 Jun 2017 15:35:57 +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 3C133C31AC2 for ; Fri, 16 Jun 2017 15:35:57 +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 2B3F184AEA for ; Fri, 16 Jun 2017 15:35:57 +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 v5GFZvFB009179 for ; Fri, 16 Jun 2017 15:35:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 220049] ports-mgmt/pkg installs unneeded packages Date: Fri, 16 Jun 2017 15:35:57 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.23 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: Fri, 16 Jun 2017 15:35:57 -0000 Miroslav Lachman <000.fbsd@quip.cz> has reassigned Bugzilla Automation 's request for maintainer-feedback to pkg@FreeBSD.org: Bug 220049: ports-mgmt/pkg installs unneeded packages https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220049 --- Description --- Sometimes (very often in my case with about 20 machines) "pkg install" or "= pkg upgrade" installed some packages which were not needed and running "pkg autoremove" imediately after previsou upgrade / install command just uninst= all those packages. This is simple example from today. I just need to install "pgtop", along wi= th dependencies "libnghttp2" were also installed: root@fido ~/# pkg install pgtop Updating codelab repository catalogue... Fetching meta.txz: 100% 820 B 0.8kB/s 00:01 Fetching packagesite.txz: 100% 136 KiB 139.5kB/s 00:01 Processing entries: 100% codelab repository update completed. 470 packages processed. Updating e2efa repository catalogue... Fetching meta.txz: 100% 820 B 0.8kB/s 00:01 Fetching packagesite.txz: 100% 37 KiB 37.6kB/s 00:01 Processing entries: 100% e2efa repository update completed. 114 packages processed. All repositories are up to date. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pgtop: 0.05_3 [e2efa] libnghttp2: 1.22.0 [codelab] p5-DBI: 1.636_1 [e2efa] p5-DBD-Pg: 3.6.2 [e2efa] Number of packages to be installed: 4 The process will require 3 MiB more space. 977 KiB to be downloaded. Proceed with this action? [y/N]: y [1/4] Fetching pgtop-0.05_3.txz: 100% 24 KiB 24.9kB/s 00:01 [2/4] Fetching libnghttp2-1.22.0.txz: 100% 105 KiB 107.1kB/s 00:01 [3/4] Fetching p5-DBI-1.636_1.txz: 100% 685 KiB 701.6kB/s 00:01 [4/4] Fetching p5-DBD-Pg-3.6.2.txz: 100% 163 KiB 166.6kB/s 00:01 Checking integrity... done (0 conflicting) [1/4] Installing p5-DBI-1.636_1... [1/4] Extracting p5-DBI-1.636_1: 100% [2/4] Installing p5-DBD-Pg-3.6.2... [2/4] Extracting p5-DBD-Pg-3.6.2: 100% [3/4] Installing pgtop-0.05_3... [3/4] Extracting pgtop-0.05_3: 100% [4/4] Installing libnghttp2-1.22.0... Extracting libnghttp2-1.22.0: 100% But nobody needs "libnghttpd2" root@fido ~/# pkg info -r -d libnghttp2 libnghttp2-1.22.0 root@fido ~/# pkg autoremove Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages: Installed packages to be REMOVED: libnghttp2-1.22.0 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling libnghttp2-1.22.0... [1/1] Deleting files for libnghttp2-1.22.0: 100% Similar issue was encountered on last "pkg upgrade" on almost all our machi= nes where "libarchive" was installed and immediately deleted by "pkg autoremove= ". We are using own Poudriere repo, FreeBSD 10.3, pkg 1.10.1 Let me know how can I debug this issue and I will provide more details.