Newer FreeBSD version for package breaks binary updates

Mathieu Arnold mat at FreeBSD.org
Mon Jan 15 15:16:28 UTC 2018


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.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180115/a6863297/attachment.sig>


More information about the freebsd-ports mailing list