From owner-freebsd-pkg@freebsd.org Mon Nov 9 17:16:58 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 5E7A3468A1B for ; Mon, 9 Nov 2020 17:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CVHjQ23jTz3LFp for ; Mon, 9 Nov 2020 17:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 46AC446846F; Mon, 9 Nov 2020 17:16:58 +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 466E346846E for ; Mon, 9 Nov 2020 17:16:58 +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 4CVHjQ1RDXz3LCS for ; Mon, 9 Nov 2020 17:16:58 +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 245C414E5E for ; Mon, 9 Nov 2020 17:16:58 +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 0A9HGwYt083541 for ; Mon, 9 Nov 2020 17:16:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A9HGwex083540 for pkg@FreeBSD.org; Mon, 9 Nov 2020 17:16:58 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 250989] ports-mgmt/pkg does not upgrade dependencies Date: Mon, 09 Nov 2020 17:16:58 +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.34 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: Mon, 09 Nov 2020 17:16:58 -0000 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 250989: ports-mgmt/pkg does not upgrade dependencies https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250989 --- Description --- >From "man pkg-upgrade": "pkg upgrade tries to upgrade dependencies of packa= ges matched"; however I see several situations where this does not happen. I was able to find a trivial example: > # pkg version |grep lynis > lynis-3.0.0 =3D > # pkg version | grep lsof > lsof-4.93.2_11,8 < > # pkg info -d lynis > lynis-3.0.0: > lsof-4.93.2_11,8 > # pkg info -r lsof > lsof-4.93.2_11,8: > lynis-3.0.0 > # pkg upgrade lynis > Updating custom repository catalogue... > custom repository is up to date. > All repositories are up to date. > Checking integrity... done (0 conflicting) > Your packages are up to date. So lsof is a dependency of lynis and can be upgraded, but this does not hap= pen. When run with debug info, I get: # pkg -d -d upgrade lynis DBG(1)[32115]> pkg initialized Updating custom repository catalogue... DBG(1)[32115]> PkgRepo: verifying update for custom DBG(1)[32115]> Pkgrepo, begin update of '/var/db/pkg/repo-custom.sqlite' DBG(1)[32115]> Request to fetch https://poudriere.url/121amd64-default/meta.conf DBG(1)[32115]> opening libfetch fetcher DBG(1)[32115]> Fetch > libfetch: connecting DBG(1)[32115]> Fetch: fetching from: https://poudriere.url/121amd64-default/meta.conf with opts "i" DBG(1)[32115]> Request to fetch https://poudriere.url/121amd64-default/meta= .txz DBG(1)[32115]> opening libfetch fetcher DBG(1)[32115]> Fetch > libfetch: connecting DBG(1)[32115]> Fetch: fetching from: https://poudriere.url/121amd64-default/meta.txz with opts "i" DBG(1)[32115]> Request to fetch https://poudriere.url/121amd64-default/packagesite.txz DBG(1)[32115]> opening libfetch fetcher DBG(1)[32115]> Fetch > libfetch: connecting DBG(1)[32115]> Fetch: fetching from: https://poudriere.url/121amd64-default/packagesite.txz with opts "i" custom repository is up to date. All repositories are up to date. DBG(1)[32115]> want to get an advisory lock on a database DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> universe: add new local pkg: pkg, (pkg-1.15.10:2$2$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiy= grsq hnom6hft3qjik5k3g1y67tezidzmbcbm7b4iu4axb) DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> Pkg> adding options: DOCS =3D on DBG(2)[32115]> universe: add new local pkg: lynis, (lynis-3.0.0:2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouz= mm9b 4wik4wnx998646hbuspgo6btrdaucbnpt36oih6iy) DBG(2)[32115]> cannot find variable dependency lsof DBG(2)[32115]> cannot find any suitable dependency for lynis DBG(1)[32115]> problem has no requests DBG(2)[32115]> decided local pkg-2$2$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiygrsqhnom6= hft3 qjik5k3g1y67tezidzmbcbm7b4iu4axb to install DBG(2)[32115]> decided local lynis-2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouzmm9b4wi= k4wn x998646hbuspgo6btrdaucbnpt36oih6iy to install DBG(2)[32115]> solver: ignoring package pkg(2$2$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiygrsqhnom6= hft3 qjik5k3g1y67tezidzmbcbm7b4iu4axb) as its state has not been changed DBG(2)[32115]> solver: ignoring package lynis(2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouzmm9b4wi= k4wn x998646hbuspgo6btrdaucbnpt36oih6iy) as its state has not been changed Checking integrity...DBG(1)[32115]> check integrity for 0 items added done (0 conflicting) Your packages are up to date. DBG(1)[32115]> release an advisory lock on a database I find "cannot find variable dependency lsof" and "cannot find any suitable dependency for lynis" suspicious.