From nobody Fri Apr 19 10:11:41 2024 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 4VLVmZ18Tfz5GlQG for ; Fri, 19 Apr 2024 10:11:42 +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 4VLVmY4WWyz4nWH for ; Fri, 19 Apr 2024 10:11:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713521501; a=rsa-sha256; cv=none; b=CZEo3ckvvro306zv7V/Oe6w8DiE2wmuNoyvYJemyA8VVvzuaeHLqcoE72fyyeOO9+QggfP eIRKT6jGiyAsktsz8kTH3d+SYcDlC28CF1/KqR/kodVWEXwhbFf34I6Z4c87AdiJkHAZ4x /wxGmQVbvb09V3/zGuu2LoV0oFG+yOenGEYMnrBL/CMZnjwKzqipuDxW5X2qKJkN5ngaty 5djKvD5KfVITcxvpbM3V/5KG+2tx8lcxKMZsDH2D54LSGr5H5USFOyUdxJqGuQNIB04dxv RIZsJUFaNaT0XcnHhN9GhVqumbTOdmR91g+vx4YTL6TCmJiue2DJdLANil567A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713521501; 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; bh=UX2uhWPP1L82HsPnHg+cMEUJZOSSIdFUEgVS5DzvSjU=; b=EEGh8fjMV6AWjavXsQwCqJKuJClsKRb6eefsMPK6j8iqhmyvYssI/1qMeZJpUcpeNzzeK/ Wijtitcw395j1DM2KA3RXnuAFDovKEm2SVuoHjPzovSwG7Q62cfUfEIE9vsb5la+R9xrIi 6EwFmYexnJZv8Oe+O2BP1VkQYjabvKn/rQbGe8u5PUfe5eJiZsE6cLboOcmOiMEYou26f4 IpS2+qDeuj/TPiMaNOXmNNG74ewxw1PBVlGOBke43kL2q7W0D3csbFyaZgYqwutsShQbzg MSPHiQd8XmYmuqDx5R5wTWUr0OHyZUQNUsIj2du32oa7q1YgJqdOJ2vfcZer0A== 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 4VLVmY47f7zq4Z for ; Fri, 19 Apr 2024 10:11:41 +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 43JABfdL018121 for ; Fri, 19 Apr 2024 10:11:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43JABfn3018119 for pkg@FreeBSD.org; Fri, 19 Apr 2024 10:11:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 278456] ports-mgmt/pkg: needless reinstall of packages with multiple repos [1.21.2] Date: Fri, 19 Apr 2024 10:11:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: mandree@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278456 Bug ID: 278456 Summary: ports-mgmt/pkg: needless reinstall of packages with multiple repos [1.21.2] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: mandree@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org Created attachment 250081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250081&action= =3Dedit log from: pkg -ddd upgrade -n Greetings, pkg 1.21.2 which I use with FreeBSD-latest repo and a local repo that has mostly the same packages very often wants to reinstall one package without = any visible reason, in this case, boost-libs-This is a package that I do not knowingly reconfigure away from the default settings.=20=20 I build my local packages with poudriere-devel, upstream are built with poudriere stable. Please find attached three console (stdout + stderr merged) logs, zstd compressed, from three pkg -ddd upgrade -n runs, one without -r option, one with -r FreeBSD-latest to reference ONLY the upstream, one with -r local to ONLY reference my local repo.=20=20 (My local repo does not build all of ports because that's way too slow on an old 8-core Ryzen VM -- please ignore the fact that pkg is going to uninstall some packages with the -r local option -- this is to show that using one RE= PO for me does NOT want to reinstall boost-libs) So... is this a solver bug which doesn't figure that the installed boost-li= bs package is the same, or not check everything? (grep DBG.1.*request to understand this question)?=20=20 Where else in the debug output do I need to look to understand why pkg want= s to reinstall boost-libs ONLY IF I enable both repositories? --=20 You are receiving this mail because: You are the assignee for the bug.=