|
| 1 | +--- |
| 2 | +title: "XBPS 0.60" |
| 3 | +layout: post |
| 4 | +--- |
| 5 | + |
| 6 | +## What's Changed |
| 7 | + |
| 8 | + * libxbps: fix issues with updating packages in unpacked state. [duncaen](https://github.com/duncaen) |
| 9 | + |
| 10 | + * libxbps: run all scripts before and after unpacking all packages, |
| 11 | + to avoid running things in a half unpacked state. [duncaen](https://github.com/duncaen) |
| 12 | + |
| 13 | + * libxbps: fix configuration parsing with missing trailing newline |
| 14 | + and remove trailing spaces from values. [eater](https://github.com/eater), [duncaen](https://github.com/duncaen) |
| 15 | + |
| 16 | + * libxbps: fix XBPS_ARCH environment variable if architecture |
| 17 | + is also defined in a configuration file. [duncaen](https://github.com/duncaen) |
| 18 | + |
| 19 | + * libxbps: fix memory leaks. [ArsenArsen](https://github.com/ArsenArsen) |
| 20 | + |
| 21 | + * libxbps: fix file descriptor leaks. [gt7-void](https://github.com/gt7-void) |
| 22 | + |
| 23 | + * libxbps: fix temporary redirect in libfetch. [ericonr](https://github.com/ericonr) |
| 24 | + |
| 25 | + * libxbps: fix how the automatic/manual mode is set when replacing a |
| 26 | + package using replaces. This makes it possible to correctly replace |
| 27 | + manually installed packages using a transitional packages. [duncaen](https://github.com/duncaen) |
| 28 | + |
| 29 | + * libxbps: fix inconsistent dependency resolution when a dependency |
| 30 | + is on hold. xbps will now exit with `ENODEV` (19) if a held dependency |
| 31 | + breaks the installation or update of a package instead of just ignoring |
| 32 | + it, resulting in an inconsistent pkgdb. [#393](https://github.com/void-linux/xbps/pull/393) [duncaen](https://github.com/duncaen) |
| 33 | + |
| 34 | + * libxbps: fix issues with `XBPS_FLAG_INSTALL_AUTO` where already installed |
| 35 | + packages would get marked automatically installed when they are being |
| 36 | + updated while installing new packages in automatically installed mode. |
| 37 | + [#557](https://github.com/void-linux/xbps/pull/557) [duncaen](https://github.com/duncaen) |
| 38 | + |
| 39 | + * libxbps: when reinstalling a package, don't remove directories that are still |
| 40 | + part of the new package. This avoids the recreation of directories which |
| 41 | + trips up runsv, as it keeps an fd to the service directory open that would |
| 42 | + be deleted and recreated. [#561](https://github.com/void-linux/xbps/pull/561) [duncaen](https://github.com/duncaen) |
| 43 | + |
| 44 | + * xbps-install(1): list reinstalled packages. [chocimier](https://github.com/chocimier) |
| 45 | + |
| 46 | + * xbps-install(1): in dry-run mode, ignore out of space error. [chocimier](https://github.com/chocimier) |
| 47 | + |
| 48 | + * xbps-install(1): fix bug where a repo-locked dependency could be updated |
| 49 | + from a repository it was not locked to. [chocimier](https://github.com/chocimier) |
| 50 | + |
| 51 | + * xbps-fetch(1): make sure to exit with failure if a failure was encountered. |
| 52 | + [duncaen](https://github.com/duncaen) |
| 53 | + |
| 54 | + * xbps-fetch(1): fix printing uninitialized memory in error cases. [duncaen](https://github.com/duncaen) |
| 55 | + |
| 56 | + * xbps-pkgdb(1): remove mtime checks, they are unreliable on fat filesystems |
| 57 | + and xbps does not rely on mtime matching the package anymore. [duncaen](https://github.com/duncaen) |
| 58 | + |
| 59 | + * xbps-checkvers(1): with --installed also list subpackages. [chocimier](https://github.com/chocimier) |
| 60 | + |
| 61 | + * xbps-remove(1): fix dry-run cache cleaning inconsistencies. [duncaen](https://github.com/duncaen) |
| 62 | + |
| 63 | + * xbps-remove(1): allow removing "uninstalled" packages (packages in the cache |
| 64 | + that are still up to date but no long installed) from the package |
| 65 | + cache by specifying the -O/--clean-cache flag twice. [#530](https://github.com/void-linux/xbps/pull/530) [duncaen](https://github.com/duncaen) |
| 66 | + |
| 67 | + * xbps-query(1): --cat now works in either repo or pkgdb mode. [duncaen](https://github.com/duncaen) |
| 68 | + |
| 69 | + * xbps-query(1): --list-repos/-L list all repos including ones that |
| 70 | + fail to open. [chocimier](https://github.com/chocimier) |
| 71 | + |
| 72 | + * xbps.d(5): describe ignorepkg more precisely. [chocimier](https://github.com/chocimier) |
| 73 | + |
| 74 | + * libxbps, xbps-install(1), xbps-remove(1), xbps-reconfigure(1), |
| 75 | + xbps-alternatives(1): add `XBPS_SYSLOG` environment variable to overwrite |
| 76 | + syslog configuration option. [duncaen](https://github.com/duncaen) |
| 77 | + |
| 78 | + * libxbps: Resolve performance issue caused by the growing number of virtual packages |
| 79 | + in the Void Linux repository. [#625](https://github.com/void-linux/xbps/pull/625) [duncaen](https://github.com/duncaen) |
| 80 | + |
| 81 | + * libxbps: Merge the staging data into the repository index (repodata) file. |
| 82 | + This allows downloading the staging index from remote repositories without |
| 83 | + having to keep the two index files in sync. [#575](https://github.com/void-linux/xbps/pull/575) [duncaen](https://github.com/duncaen) |
| 84 | + |
| 85 | + * xbps-install(1), xbps-query(1), xbps-checkvers(1), xbps.d(5): Added `--staging` flag, |
| 86 | + `XBPS_STAGING` environment variable and `staging=true|false` configuration option. |
| 87 | + Enabling staging allows xbps to use staged packages from remote repositories. |
| 88 | + [duncaen](https://github.com/duncaen) |
| 89 | + |
| 90 | + * xbps-install(1), xbps-remove(1): Print package install and removal messages once, |
| 91 | + below the transaction summary, before applying the transaction. [#572](https://github.com/void-linux/xbps/pull/572) [chocimier](https://github.com/chocimier) |
| 92 | + |
| 93 | + * xbps-query(1): Improved argument parsing allows package arguments anywhere in the |
| 94 | + arguments. [#588](https://github.com/void-linux/xbps/pull/588) [classabbyamp](https://github.com/classabbyamp) |
| 95 | + |
| 96 | + * xbps-install(1): Make dry-run output consistent/machine parsable. [#611](https://github.com/void-linux/xbps/pull/611) [classabbyamp](https://github.com/classabbyamp) |
| 97 | + |
| 98 | + * libxbps: Do not url-escape tilde character in path for better compatibility with |
| 99 | + some servers. [#607](https://github.com/void-linux/xbps/pull/607) [gmbeard](https://github.com/gmbeard) |
| 100 | + |
| 101 | + * libxbps: use the proper ASN1 signature type for packages. Signatures now have a `.sig2` |
| 102 | + extension. [#565](https://github.com/void-linux/xbps/pull/565) [classabbyamp](https://github.com/classabbyamp) |
| 103 | + |
| 104 | + * xbps-uhelper(1): add verbose output for `pkgmatch` and `cmpver` subcommands if the |
| 105 | + -v/--verbose flag is specified. [#549](https://github.com/void-linux/xbps/pull/549) [classabbyamp](https://github.com/classabbyamp) |
| 106 | + |
| 107 | + * xbps-uhelper(1): support multiple arguments for many subcommands to improve pipelined |
| 108 | + performance. [#536](https://github.com/void-linux/xbps/pull/536) [classabbyamp](https://github.com/classabbyamp) |
| 109 | + |
| 110 | + * xbps-alternatives(1): Add -R/--repository mode to -l/--list to show alternatives |
| 111 | + of packages in the repository. [#340](https://github.com/void-linux/xbps/pull/340) [duncaen](https://github.com/duncaen) |
| 112 | + |
| 113 | + * libxbps: fix permanent (308) redirects when fetching packages and repositories. [duncaen](https://github.com/duncaen) |
| 114 | + |
| 115 | + * xbps-remove(1): ignores file not found errors for files it deletes. [duncaen](https://github.com/duncaen) |
| 116 | + |
| 117 | + * libxbps: the `preserve` package metadata is now also respected for package removals. [duncaen](https://github.com/duncaen) |
| 118 | + |
| 119 | + * xbps-pkgdb(1): new --checks allows to choose which checks are run. [#352](https://github.com/void-linux/xbps/pull/352) [ericonr](https://github.com/ericonr), [duncaen](https://github.com/duncaen) |
| 120 | + |
| 121 | +**Full Changelog**: https://github.com/void-linux/xbps/compare/0.59.2...0.60 |
0 commit comments