pacman 3.4.0 进入testing了
时间:2010-06-17
来源:互联网
http://projects.archlinux.org/pacman...2a7f76955c6408 diff NEWS update for pacman-3.4
http://projects.archlinux.org/pacman...b706413da976cc API changes between 3.3 and 3.4
代码:
+3.4.0 - new "Architecture" option that will restrict pacman to + installing only packages from the given architecture. Can be + set to "auto" in which case the output of "uname -m" is used + - use "$arch" when specifying a mirror url to automatically + select the correct architecture + - Installing packages with -U can handle installing + dependencies, conflict resolution and replacing packages + - can upgrade the system and install a new package using + "pacman -Syu <pkg>" + - new -D/--database operation for modifying package install + reasons + - new --print and --print-format options to output information + in suitable format for wrapper scripts + - only extract new entries when updating a repo database + - show "Required by" in -Sii output + - -U and -R options always ask for confirmation + - allow -Qo to perform a functional 'which' + - cache cleaning cleans all directories, not just first + - cleanupdelta: new utility to help remove unused deltas from + a repo database + - repo-add: handle removing the final package from a repo + - rankmirrors: rewrite using bash + - vercmp: does not link to libalpm to prevent upgrade issues + - makepkg: + - automatically aborts on any errors during packaging + - changelogs are now included via the "changelog" variable + - can override pkgver, pkgrel and arch in split packages + - repackaging without a package() function is deprecated + - stricter syntax checking for backup and optdepends entries + - file stripping options are configurable + - New --pkg flag to allow building specific package(s) from + split PKGBUILDs. + - build() function is now optional + - warns about reference to the build root in a package + - configure source package destination with SRCPKGDEST + - major internal refactoring of handling tests ("[" to "[[") + - contrib/pactree: print reverse dependency tree
代码:
+ + +API CHANGES BETWEEN 3.3 AND 3.4 +=============================== + +[REMOVED] +- pmtranstype_t struct (transaction type), alpm_trans_get_type() +- alpm_option_get_nopassiveftp(), alpm_option_set_nopassiveftp() + +[CHANGED] +- interface for target loading: + - alpm_trans_addtarget() and alpm_trans_sysupgrade() were removed + - alpm_sync_target() and alpm_sync_dbtarget() can be used to add a sync target + - alpm_sync_sysupgrade() can be used to add outdated packages (for sysupgrade) + - alpm_add_target() can be used to add an add/upgrade target + - alpm_remove_target() can be used to add a remove target +- interface for target listing: + - alpm_trans_get_pkgs() was removed + - alpm_pkg_get_removes() was removed + - alpm_trans_get_add() can be used to list add/upgrade/sync targets + - alpm_trans_get_remove() can be used to list to-be-removed packages +- the type parameter of alpm_trans_init() was removed +- the type of alpm_db_fetch callback function: mtimeold and mtimenew parameters + were replaced by force parameter +- unsigned short -> int changes for Boolean variables + +[ADDED] +- alpm_db_set_pkgreason() +- alpm_option_get_arch(), alpm_option_set_arch() +- alpm_option_get_usedelta() +- alpm_pkg_unused_deltas() +- alpm_conflict_get_reason() +- error code: PM_ERR_PKG_INVALID_ARCH
作者: axlrose 发布时间: 2010-06-17
yaourt用不了了
作者: crazyatom 发布时间: 2010-06-17
引用:
作者: crazyatom
yaourt用不了了
|
作者: jqxl0205 发布时间: 2010-06-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28