+ -
当前位置:首页 → 问答吧 → pacman 3.4.0 进入testing了

pacman 3.4.0 进入testing了

时间:2010-06-17

来源:互联网

http://projects.archlinux.org/pacman...2a7f76955c6408 diff NEWS update for pacman-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
http://projects.archlinux.org/pacman...b706413da976cc API changes between 3.3 and 3.4

代码:
+
+
+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用不了了
在官网上把 package-query 的PKGBUILD下载下来编译、安装~

作者: jqxl0205   发布时间: 2010-06-18