From owner-freebsd-pkg@freebsd.org Sat Sep 26 14:11:32 2020 Return-Path: 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 1B2E33FFB23 for ; Sat, 26 Sep 2020 14:11:32 +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 4Bz9gl72pwz4dXf for ; Sat, 26 Sep 2020 14:11:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F1BF73FFA1D; Sat, 26 Sep 2020 14:11:31 +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 F18823FFB21 for ; Sat, 26 Sep 2020 14:11:31 +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 4Bz9gl68spz4dRJ for ; Sat, 26 Sep 2020 14:11:31 +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 B773E2531B for ; Sat, 26 Sep 2020 14:11:31 +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 08QEBV2S000820 for ; Sat, 26 Sep 2020 14:11:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08QEBVeV000819 for pkg@FreeBSD.org; Sat, 26 Sep 2020 14:11:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 249917] ports-mgmt/pkg: pkg 1.15.6 : pkg clean also removes newly installed packages Date: Sat, 26 Sep 2020 14:11:31 +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.33 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: Sat, 26 Sep 2020 14:11:32 -0000 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 249917: ports-mgmt/pkg: pkg 1.15.6 : pkg clean also removes newly insta= lled packages https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249917 --- Description --- This is possibly a pilot error on my part. I always run a string of pkg(8) commands when upgrading my systems. Up until the 1.15 series of ports-mgmt/= pkg, pkg clean did only remove outdated packages, but only when a certain limit = was reached. It would not always remove all outdated packages in one go. Now, it seems it almost wants to blow away the entire local package cache. This is = on amd64, stable/12, r365314. # pkg update -f && pkg upgrade && pkg clean Updating builder01 repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.txz: 100% 189 KiB 193.4kB/s 00:01 Processing entries: 100% builder01 repository update completed. 677 packages processed. All repositories are up to date. Updating builder01 repository catalogue... builder01 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.15.4 -> 1.15.6 Number of packages to be upgraded: 1 8 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pkg-1.15.6.txz: 100% 8 MiB 8.0MB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 1.15.4 to 1.15.6... [1/1] Extracting pkg-1.15.6: 100% Updating builder01 repository catalogue... builder01 repository is up to date. All repositories are up to date. Checking for upgrades (7 candidates): 100% Processing candidates (7 candidates): 100% The following 7 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: bind-tools: 9.16.6 -> 9.16.7 ca_root_nss: 3.56 -> 3.57 cairo: 1.16.0,3 -> 1.16.0_1,3 emacs-nox: 27.1,3 -> 27.1_1,3 glib: 2.56.3_9,1 -> 2.66.0_1,1 libxml2: 2.9.10 -> 2.9.10_1 nss: 3.56 -> 3.57 Number of packages to be upgraded: 7 49 MiB to be downloaded. Proceed with this action? [y/N]: y [1/7] Fetching nss-3.57.txz: 100% 2 MiB 2.0MB/s 00:01 [2/7] Fetching libxml2-2.9.10_1.txz: 100% 826 KiB 845.6kB/s 00:01 [3/7] Fetching glib-2.66.0_1,1.txz: 100% 2 MiB 2.2MB/s 00:01 [4/7] Fetching emacs-nox-27.1_1,3.txz: 100% 39 MiB 40.4MB/s 00:01 [5/7] Fetching cairo-1.16.0_1,3.txz: 100% 1 MiB 1.1MB/s 00:01 [6/7] Fetching ca_root_nss-3.57.txz: 100% 285 KiB 291.5kB/s 00:01 [7/7] Fetching bind-tools-9.16.7.txz: 100% 4 MiB 4.3MB/s 00:01 Checking integrity... done (0 conflicting) [1/7] Upgrading libxml2 from 2.9.10 to 2.9.10_1... [1/7] Extracting libxml2-2.9.10_1: 100% [2/7] Upgrading glib from 2.56.3_9,1 to 2.66.0_1,1... [2/7] Extracting glib-2.66.0_1,1: 100% No schema files found: doing nothing. [3/7] Upgrading nss from 3.56 to 3.57... [3/7] Extracting nss-3.57: 100% [4/7] Upgrading emacs-nox from 27.1,3 to 27.1_1,3... [4/7] Extracting emacs-nox-27.1_1,3: 100% [5/7] Upgrading cairo from 1.16.0,3 to 1.16.0_1,3... [5/7] Extracting cairo-1.16.0_1,3: 100% [6/7] Upgrading ca_root_nss from 3.56 to 3.57... [6/7] Extracting ca_root_nss-3.57: 100% [7/7] Upgrading bind-tools from 9.16.6 to 9.16.7... [7/7] Extracting bind-tools-9.16.7: 100% The following package files will be deleted: /var/cache/pkg/php72-pgsql-7.2.33.txz /var/cache/pkg/libxml2-2.9.10.txz /var/cache/pkg/php72-openssl-7.2.33-31cef81672.txz /var/cache/pkg/libxml2-2.9.10_1~41d1fe6151.txz <=3D=3D Hey, you just installed this one! Why do you want to to remove it? /var/cache/pkg/php72-7.2.33-e2ff17d93a.txz /var/cache/pkg/emacs-nox-27.1_1,3~5e52c7e66b.txz <=3D=3D Hey, you just installed this one! Why do you want to to remove it? /var/cache/pkg/emacs-nox-27.1,3-1a60b72082.txz /var/cache/pkg/pkg-1.15.4-d83943d7a4.txz /var/cache/pkg/glib-2.66.0_1,1.txz <=3D=3D Hey, you just installed this one! Why do you want to to remove it? /var/cache/pkg/libxml2-2.9.10-9f8039cde2.txz /var/cache/pkg/cairo-1.16.0_1,3.txz <=3D=3D Hey, you just installed this one! Why do you want to to remove it? /var/cache/pkg/ca_root_nss-3.57~ec3bc4201c.txz <=3D=3D Hey, you just installed this one! Why do you want to to remove it? /var/cache/pkg/php72-pgsql-7.2.33-83d5696f58.txz /var/cache/pkg/apache24-2.4.46.txz /var/cache/pkg/php72-zlib-7.2.33-f23c8a821f.txz /var/cache/pkg/php72-json-7.2.33-68450bd8db.txz /var/cache/pkg/bind-tools-9.16.7~c1f49e7dd1.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/ca_root_nss-3.57.txz /var/cache/pkg/php72-xml-7.2.33-4162a6bcc7.txz /var/cache/pkg/ca_root_nss-3.56-7667a45152.txz /var/cache/pkg/bind-tools-9.16.7.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/pkg-1.15.6.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/amanda-client-3.3.9_4,1.txz /var/cache/pkg/emacs-nox-27.1_1,3.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/nss-3.57.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/emacs-nox-27.1,3.txz /var/cache/pkg/nss-3.57~8f087328c7.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/php72-session-7.2.33-a11b0363fb.txz /var/cache/pkg/php72-hash-7.2.33-adc1712add.txz /var/cache/pkg/amanda-client-3.3.9_4,1-36d9da8a4c.txz /var/cache/pkg/php72-json-7.2.33.txz /var/cache/pkg/mc-nox11-4.8.24-f22aeb3572.txz /var/cache/pkg/mc-nox11-4.8.24.txz /var/cache/pkg/postgresql11-contrib-11.9.txz /var/cache/pkg/postgresql11-contrib-11.9-ae1c78215d.txz /var/cache/pkg/libxml2-2.9.10_1.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/php72-openssl-7.2.33.txz /var/cache/pkg/ca_root_nss-3.56.txz /var/cache/pkg/php72-zlib-7.2.33.txz /var/cache/pkg/glib-2.66.0_1,1~47f326b2dc.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? /var/cache/pkg/apache24-2.4.46-a2e3ac4fa4.txz /var/cache/pkg/php72-hash-7.2.33.txz /var/cache/pkg/pkg-1.15.6~dee248db4a.txz /var/cache/pkg/php72-mbstring-7.2.33.txz /var/cache/pkg/php72-xml-7.2.33.txz /var/cache/pkg/php72-mbstring-7.2.33-bfb8823175.txz /var/cache/pkg/php72-session-7.2.33.txz /var/cache/pkg/php72-7.2.33.txz /var/cache/pkg/cairo-1.16.0_1,3~0deca7e1e2.txz <=3D=3D Hey, you just installed this one! Why do you want to remove it? The cleanup will free 116 MiB Proceed with cleaning the cache? [y/N]: y Deleting files: 100% All done