[Bug 296467] pkg upgrade installs unrelated, unnecessary other packages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jul 2026 02:28:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296467 --- Comment #12 from wbe@psr.com --- (In reply to Mark Millard from comment #11) > Both notations are valid in /bin/sh . Ah, OK. Sorry I didn't recognize that. root on that system uses csh, and it complained about (...) and $(...). > Sorry for the various typos. Not a problem. :-) >> "You're welcom[e] to keep this open ...": > You can close it at will. Yes, but I don't want to close it yet if there's value in keeping it open a little longer. It's FreeBSD folks that will say whether pkg's handling of this issue is something they want to look into. > While various pkg commands by default do an implicit "pkg update" to get > the information about the upstream status of the upstream repository, if > such a pkg update for the local repository (explicit or implicit) does not > happen, pkg then works based on the local possibly-out-of-date information > when dealing with that specific local repository. Indeed, but I so dislike "silent" updates, where I don't get to see any of the updating output, that happens in those cases that I always run "pkg update" explicitly before doing pkg anything else, so I don't think differing updates has been an issue here. Back when FreeBSD-ports was .../quarterly and FreeBSD was .../latest, there certainly were cases where one had an update and the other did not. Still, it seems to me that pkg probably ought to keep the dependencies repo-specific: repo1:foo wasn't built with repo2:bar as its dependency, and combinations like that might have problems. Currently, pkg doesn't appear to be adequately careful about that. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.