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 4VLVmY5b0xz5GlMr for ; Fri, 19 Apr 2024 10:11:41 +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 4VLVmY2HpLz4nrB 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=jjqfypW7BQ7RUlXab6bIruxH7YmODYHJGSwtyq4QB73eAyhRP0gPbDXYC8wv/h8IoyuIuA /MOc0g0G+n3eZ1ffpI8IRfsvkFX0M1mdTf4jzFLWsyeY7gn6cNKes/E3Iqm1TJNnK654ZC 5ofc+bPWyLF51IgzX3RF6agP5jOSoAQ2cvhp0mn8uWcDR8u1+wTyAy8aKsFJrAlI58gwru KI4gSZT640UyyFuXxixKvV3F79+MiWzRXdKof1bvzvg3y+pAeo0F2OxrO2lxjOctBasQ2O FHDsP890+EL5dmiGOV2WUOnc73/jDLpRlYGRKRHULICrLtCSiBJbLy7WHN8CqQ== 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: in-reply-to:in-reply-to:references:references; bh=7OrE2Ki5bnRHaeMe2cpSbuenswSxUM/mUUAaWjWm7Fk=; b=cnhmQcZoL6cMAUZ44J1CHOAd2vV34R+LGlvM+NyFXDtsyYjkhxrNyEoQbPyfSmv50SxXpe 0uqy4V21qYgi0yvJZ2UlUROtf1K+JBL3OMaRi8mDMsLNOLTbLNH4cjYx9pmPkEkYL0dKwK j18YSF8nuBL/qCiFJXTLgiLP7NMVL6Mof7SfGt+AIKfI4QnWXJtSC/HGAVLJWG+KYGr/8Z Ak4n6/Ip2DPOs4tx5zqJ6CdmCNJEk4BLUu7+Zm2uQxx+l2ybhhgfLaX3vey5oVdOoP5oXm 6dr7C81pGbzZQyvbNl6+UqMkFJSXC9E5WWm54XUbP0Xb3fyKrPsNJDt8YzXGUg== 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 4VLVmY1cRTzq4Y 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 43JABfY4018071 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 43JABfsO018065 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 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 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-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 278456: ports-mgmt/pkg: needless reinstall of packages with multiple re= pos [1.21.2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278456 --- Description --- 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?