[Bug 225104] ports-mgmt/pkg: "pkg update" fails to update package database saying that kernel too old for some package
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 14 20:34:41 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104
Bryan Drewery <bdrewery at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bdrewery at FreeBSD.org
--- Comment #24 from Bryan Drewery <bdrewery at FreeBSD.org> ---
(In reply to Roger Pau Monné from comment #13)
> I certainly preferred previous pkg behaviour, which would let you install
> anything (and it might fail to load because of missing/wrong shared
> libraries). Is there any option to restore previous behaviour? If not, can
> we please get one?
>
> Thanks, Roger.
The previous behavior was called "russian roulette". Every time you run
"pkg upgrade" you risk nuking the usability of all packages depending on
what forward-incompatible change they were built against. Some recent
examples are linking against libdl and ino64.
The workaround people are using should not be used - the proper thing with
pkg on CURRENT has *always been* that you should upgrade the system before
upgrading packages. It is a different process than building ports directly
on your system. Building locally ensures ABI compatibility every time, but
with pkg you are getting packages from a future CURRENT system. FreeBSD
does not have forward-compatibility in general, only backwards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list