From nobody Thu Jul 27 09:42:30 2023 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RBQm72NLmz4pXmQ for ; Thu, 27 Jul 2023 09:42: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBQm66T0Nz445B for ; Thu, 27 Jul 2023 09:42:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690450950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fDWHx37uMFyNbQ4oB89wnN4YLnCdI79IKm/W2PJanh8=; b=V9u5R2QY7gxiyNTO1VqF8E6KZz+2IkD1wLgdCUFOOgnXWXZmbkmCgyY/KwETEt7RYKKt19 V5QXpo0Pyqz8bz/Y8DxaPu9ZvWjnzhQZbRHaHBf5K+y6SzVYVT85RjU3tmFU7F09XgrjI6 Xh6NzgkTgqZ5OrK8PzGIzNq2Pka5IkRGTt5hJ21pzY9LNCPTCc6goVvcdfIkSrpnET4/Fc 7gv8CD1O+dUrFtEBmDY4ckWxbP6YL8ly0Nm0Z6ul+LAEo+Ya9dCxbAa1yekEOO9o4NurQW 8jEa3laCKp4OQyDdDWOTNSOi2qkq4CxVGh3lXDleJsIDWspm/aLnfapWcn5WIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690450950; a=rsa-sha256; cv=none; b=jQrN5GaBRwLvtt0IWi8yKNKsoMAZKn6dEendxFT44K/cZPXrmsavMozyZWJTPIZHHs+Ctb Ob935SBP82SKL9w9uVJPVD08adTdX6Tt6K1aZl2qMN74qbK9ytZcQAvg6LQ3ZKAGb6kNLk rgtfblFKWpTra9D7/xy/QlsrUVaLtawBZRIxyCyt2ov3QMDVMhkOV6764mGgOPtdFybkaN WDLkgERrtn4uA/DVsLb9LjcsVKNmP5RZhvNrnlCpuTGFfY1lZVUdA2Y6kqk5lMQlfPlUUz 7WWnwu0tYlpUVGLdsJoTJdHjsjCirPoMxvFDVRDqBkwcRP975wqR86YRvipRFA== 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 4RBQm65Q8nz1Jw6 for ; Thu, 27 Jul 2023 09:42:30 +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 36R9gUIV058511 for ; Thu, 27 Jul 2023 09:42:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36R9gUqC058510 for pkg@FreeBSD.org; Thu, 27 Jul 2023 09:42:30 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 272751] ports-mgmt/pkg Conflict detection has gone missing in 1.20.4 Date: Thu, 27 Jul 2023 09:42:30 +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 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 272751: ports-mgmt/pkg Conflict detection has gone missing in 1.20.4 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272751 --- Description --- On pkg 1.20.4 there doesn't seem to the usual run of things when you want to install a package that conflicts with an existing package.=20 It seems the installation of the new package just takes place, there is no mention of REMOVED the old package; And in the end pkg is saying it is doing some things with the conflicting package. See below where postgresql14-clie= nt seems to get the last "install". Nonetheless, the files on disk seem to be = from postgresql15-client.=20 The example below is from postgresql client and server, but I'm also seeing this with other packages that have CONFLICTS_INSTALL in their port.=20 This is a snippet from an upgrade in a jail that has pkg 1.20.4: [...] Checking integrity... done (1 conflicting)=09=09=09=09=20=20=20=20=20=20=20 - postgresql15-client-15.3 conflicts with postgresql14-client-14.8 on /usr/local/bin/clusterdb=09=09=09=09=09=09=20=20=20=20=20=20=20 Checking integrity... done (0 conflicting)=09=09=09=09=20=20=20=20=20=20=20 Conflicts with the existing packages have been found.=09=09=09=20=20=20=20= =20=20=20 One more solver iteration is needed to resolve them.=09=09=09=20=20=20=20= =20=20=20 The following 6 package(s) will be affected (of 0 checked):=09=09=20=20=20= =20=20=20=20 New packages to be INSTALLED:=09=09=09=09=09=09=20=20=20=20=20=20=20 postgresql15-client: 15.3=09=09=09=09=09=20=20=20=20=20=20=20 Installed packages to be UPGRADED:=09=09=09=09=09=20=20=20=20=20=20=20 py311-phonenumberslite: 8.13.16 -> 8.13.17=09=09=09=20=20=20=20=20=20=20 py311-urllib3: 2.0.3,1 -> 2.0.4,1=09=09=09=09=20=20=20=20=20=20=20 Installed packages to be REINSTALLED:=09=09=09=09=09=20=20=20=20=20=20=20 py311-psycopg2-2.9.6 (direct dependency changed: postgresql15-client)=20=20 Number of packages to be installed: 1=09=09=09=09=09=20=20=20=20=20=20=20 Number of packages to be upgraded: 2=09=09=09=09=09=20=20=20=20=20=20=20 Number of packages to be reinstalled: 1=20=09=09=09=09=20=20=20=20=20=20=20 The process will require 10 MiB more space.=09=09=09=09=20=20=20=20=20=20=20 Proceed with this action? [y/N]: y [xxx] Fetching postgresql14-client-14.8.pkg: 100% 2 MiB 2.5MB/s 00:01= =20=20 [xxx] [1/6] Deinstalling postgresql14-client-14.8... [xxx] [1/6] Deleting files for postgresql14-client-14.8: 100% [xxx] [2/6] Installing postgresql15-client-15.3... [xxx] [2/6] Extracting postgresql15-client-15.3: 100% [xxx] [2/6] Installing postgresql14-client-14.8... pkg: postgresql14-client-14.8 conflicts with postgresql15-client-15.3 (inst= alls files into the same place). Problematic file: /usr/local/bin/clusterdb On pkg 1.19.2: [...] Installed packages to be REMOVED: =C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-client: 14.8 =C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-contrib: 14.8 =C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-server: 14.8 New packages to be INSTALLED: =C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql15-client: 15.3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql15-server: 15.3