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 UTC
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 repos [1.21.2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278456 --- 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. 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. (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 REPO for me does NOT want to reinstall boost-libs) So... is this a solver bug which doesn't figure that the installed boost-libs package is the same, or not check everything? (grep DBG.1.*request to understand this question)? Where else in the debug output do I need to look to understand why pkg wants to reinstall boost-libs ONLY IF I enable both repositories?