Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 10:11:41 +0000
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]
Message-ID:  <bug-278456-32340-o0PaKNwq07@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278456-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278456-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278456-32340-o0PaKNwq07>