Le 15/01/2018 à 16:39, Michael Gmelin a écrit : > >> On 15. Jan 2018, at 16:16, Mathieu Arnold <[email protected]> wrote: >> >>> Le 15/01/2018 à 15:55, Michael Gmelin a écrit : >>> Hi Bapt, >>> >>> I can't get binary updates anymore, because: >>> >>> pkg: Newer FreeBSD version for package ....: >>> - package: 1200055 >>> - running kernel: 1200054 >>> pkg: repository FreeBSD contains packages for wrong OS version: >>> FreeBSD:12:amd64 >>> >>> >>> Am I misunderstanding this, or does this mean that pkg forces me to >>> update my system before I can install any package updates (even super >>> small ones). This seems like a bad idea that potentially will break many >>> deployments/workflows. >> >> pkg is telling you "this package was built with 1200055, you are runing >> 1200054, it will probably break" and refuses to install the package. >> >> If you want to force it, overwrite OSVERSION to 1200055, something like >> `pkg -o OSVERSION=1200055 upgrade`. But this will probably break the >> packages you install at one point. >> > I understand that message, but besides that this was hardly a problem in the > past (especially for minor version differences), it also forces people to > update at the same time as FreeBSD package builders, which has consequences. > Is adding this dependency really what we want, will package builder updates > scheduled in a predictable way, so system update cycles of users can be > aligned, etc.? Otherwise this just adds another way to cut users from > updating packages/forces them back to building packages themselves.
It has been a big problem in the past. When 10.1 and 10.2 went out of support, the package builds were switched to 10.3, and users running 10.1 and 10.2 who ran pkg upgrade got a broken pkg saying it could not find open_at or something. With this change, it could have told you "hey, you're running 100100, and this was built with 100300" or something, and they could have had time to upgrade before breaking their systems. -- Mathieu Arnold _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
