From owner-freebsd-questions@freebsd.org Sun Oct 25 12:55:02 2020 Return-Path: Delivered-To: freebsd-questions@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 4538944E242; Sun, 25 Oct 2020 12:55:02 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CJyc51VQFz425n; Sun, 25 Oct 2020 12:55:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.15.2) with ESMTPSA id 09PCso5q076774 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 25 Oct 2020 13:54:50 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: pkg upgrade and dependency From: Andrea Venturoli To: Mike Clarke , freebsd-questions@freebsd.org, pkg@FreeBSD.org References: <1607868.MsCH1bHPGx@curlew> <512fee04-8da3-6070-a7b0-1fa584fd9f9b@netfence.it> Message-ID: Date: Sun, 25 Oct 2020 13:54:50 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <512fee04-8da3-6070-a7b0-1fa584fd9f9b@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CJyc51VQFz425n X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.04 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.969]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.22)[-0.218]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_MEDIUM(-1.05)[-1.050]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions,pkg] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2020 12:55:02 -0000 On 10/23/20 11:28 AM, Andrea Venturoli wrote: > On 10/23/20 10:19 AM, Mike Clarke wrote: > >> It will only upgrade those dependencies for which there's a more >> recent version. > > Well, that should be obvious. > > However that seems to be a required condition, not a sufficient condition. > > There must be some sort of additional checks, as some dependencies which > were upgradable were left untouched. My situation is quite complex (with more than 500 ports installed, pendind perl version change, etc...), but here's a minimal example: > # pkg version |grep lynis > lynis-3.0.0 = > # 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. For the curious: > # 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.netfence.it:19996/121amd64-default/meta.conf > DBG(1)[32115]> opening libfetch fetcher > DBG(1)[32115]> Fetch > libfetch: connecting > DBG(1)[32115]> Fetch: fetching from: https://poudriere.netfence.it/121amd64-default/meta.conf with opts "i" > DBG(1)[32115]> Request to fetch https://poudriere.netfence.it:19996/121amd64-default/meta.txz > DBG(1)[32115]> opening libfetch fetcher > DBG(1)[32115]> Fetch > libfetch: connecting > DBG(1)[32115]> Fetch: fetching from: https://poudriere.netfence.it/121amd64-default/meta.txz with opts "i" > DBG(1)[32115]> Request to fetch https://poudriere.netfence.it:19996/121amd64-default/packagesite.txz > DBG(1)[32115]> opening libfetch fetcher > DBG(1)[32115]> Fetch > libfetch: connecting > DBG(1)[32115]> Fetch: fetching from: https://poudriere.netfence.it/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 = on > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> universe: add new local pkg: pkg, (pkg-1.15.10:2$2$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiygrsqhnom6hft3qjik5k3g1y67tezidzmbcbm7b4iu4axb) > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> Pkg> adding options: DOCS = on > DBG(2)[32115]> universe: add new local pkg: lynis, (lynis-3.0.0:2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouzmm9b4wik4wnx998646hbuspgo6btrdaucbnpt36oih6iy) > 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$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiygrsqhnom6hft3qjik5k3g1y67tezidzmbcbm7b4iu4axb to install > DBG(2)[32115]> decided local lynis-2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouzmm9b4wik4wnx998646hbuspgo6btrdaucbnpt36oih6iy to install > DBG(2)[32115]> solver: ignoring package pkg(2$2$bttb1fthuk9dbc51q8ik4bb5a4fniq9wz8pznz1cch71npsohuoe4swtiygrsqhnom6hft3qjik5k3g1y67tezidzmbcbm7b4iu4axb) as its state has not been changed > DBG(2)[32115]> solver: ignoring package lynis(2$2$9oja9fuao15bdd161479ng1k6z8b7i69iffiicoqxdxg9tre1885jq1ouzmm9b4wik4wnx998646hbuspgo6btrdaucbnpt36oih6iy) 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 Notice: > DBG(2)[32115]> cannot find variable dependency lsof > DBG(2)[32115]> cannot find any suitable dependency for lynis ??? What does this mean? Why does it happen? bye & Thanks av.