Pkg 是 FreeBSD 下一代的打包管理工具,用来替代当前的 pkg_info/pkg_create/pkg_add 工具,可以本地打包,也提供远程打包,主要是为了方便远程二进制包升级。
Pkg 1.3.0 发布,此版本是 29 个贡献者 9 个月辛苦开发的成果,包括 373 个文件修改。
主要更新内容如下:
– New solver, now pkg has a real SAT solver able to automatically handle
conflicts and dynamically discover them. (yes pkg set -o is deprecated now)
– pkg install now able to install local files as well and resolve their
dependencies from the remote repositories
– Lots of parts of the code has been sandboxed
– Lots of rework to improve portability
– Package installation process has been reworked to be safer and handle properly
the schg flags
– Important modification of the locking system for finer grain locks
– Massive usage of libucl
– Simplification of the API
– Lots of improvements on the UI to provide a better user experience.
– Lots of improvements in multi repository mode
– pkg audit code has been moved into the library
– pkg -o A=B that will overwrite configuration file from cli
– The ui now support long options
– The unicity of a package is not anymore origin
– Tons of bug fixes
– Tons of behaviours fixes
– Way more!