Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 10:11:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278456] ports-mgmt/pkg: needless reinstall of packages with multiple repos [1.21.2]
Message-ID:  <bug-278456-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278456

            Bug ID: 278456
           Summary: ports-mgmt/pkg: needless reinstall of packages with
                    multiple repos [1.21.2]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: mandree@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

Created attachment 250081
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250081&action=
=3Dedit
log from: pkg -ddd upgrade -n

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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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