#[1]RSS
(BUTTON) Toggle navigation
* [2]Home
* [3]News
* [4]Download
* [5]Packages
* [6]Documentation
* [7]Forum
* [8]GitHub
[9]Previous
[10]Back to news
30.01.2020
News about XBPS
XBPS 0.58 was just released, with many new features and a lot of
improvements. Since the last post was for 0.54, this post includes all
changes and some highlights since the last post.
Highlights
Performance improvements
Some users might have noticed that removing the plasma-desktop was very
time consuming because of dependency cycles. The dependency resolution
algorithm has been completely rewritten and is now able to resolve the
dependencies of plasma-desktop within seconds.
See the [11]pull request void-linux/xbps#78 if you are interested in
what changed.
The --fulldeptree flag of [12]xbps-query(1) in combination with -x or
-X for dependencies and reverse dependencies respectively has been
improved and will now be 50x faster in the worst case scenario.
ignorepkg configuration option
Many users tried to get rid of the default kernel or some other
base-system requirement. For this we’ve added a new configuration
keyword: ignorepkg.
With this new keyword you can ignore packages that are pulled in by
other packages as runtime dependencies.
As example you can add linux-firmware-amd as ignored package and then
uninstall the package:
# echo "ignorepkg=linux-firmware-amd" > /etc/xbps.d/10-ignore.conf
# xbps-remove linux-firmware-amd
This works for any package, i.e. being able to remove linux4.19 while
keeping the linux meta package. Or removing the linux meta package
itself and installing only the kernel series you like to use yourself.
noextract configuration option
Another useful new feature is the new noextract, it allows to specify
patterns of files that should not be extracted when installing or
updating packages.
This allows as example to skip extracting translations the users are
not interesting in, allowing to reduce the installation size.
We plan to make use of it in xbps-src to cut down the time required to
install build dependencies.
Download only flag
A new flag was added to [13]xbps-install(1) which allows to download
packages and its dependencies without installing them.
Changelog
xbps-0.58 (2020-01-30):
* libfetch: fix [14]CVE-2020-7450; from FreeBSD. [15][duncaen]
* [16]xbps-query(1), [17]xbps-remove(1): improved detection of
orphans, needing multiple iterations to collect all of them in a
single transaction. [18][xtraeme]
* [19]xbps-checkvers(1): added -e, --removed. To list removed
templates in srcpkgs. [20][Chocimier]
* [21]xbps-install(1): improved -D, --download-only. This now can be
used to download all required binary packages of the target pkg
without the need to have write permission to the rootdir.
$ xbps-install -c $PWD/cachedir -Dy xbps
NOTE: -c, --cachedir must be specified as absolute pathname,
otherwise it will treat it as relative to rootdir. [22][xtraeme]
* [23]xbps-fetch(1): added -s to print sha256sums of downloaded
files. [24][duncaen]
* configure: re-add --enable-debug and enable it by default.
[25][xtraeme]
* [26]xbps-install(1): ignore indirect reverse dependencies while
updating xbps. [27][xtraeme]
* [28]xbps-install(1): added --reproducible long option. If set,
enables reproducible mode in pkgdb. [29][xtraeme]
* [30]xbps-install(1): don’t prompt if all packages in the
transaction are on hold. [Mohamad Barbar]
* [31]xbps-rindex(1): stop adding the “build-date” pkg obj. Contained
wrong info and did not provide enough value to be useful; another
step towards reproducibility. [32][xtraeme]
* [33]xbps-create(1): always sanitize gathered symlinks.
[34][xtraeme]
* [35]xbps-install(1): do not silently update xbps on any
install/update transaction. If there’s a new update for the xbps
package, this needs to be explicitely declared as a single
transaction, i.e:
$ xbps-install -u xbps
Otherwise it will return EBUSY (16), making this a proper error
code to diagnose what failed. [36][xtraeme]
* [37]xbps.d(5): new ‘noextract’ configuration option, to skip
extracting files matching a pattern. [38][duncaen]
* [39]xbps.d(5): autodetected ‘architecture’ (glibc or musl) at
compile-time on linux systems. [40][xtraeme]
* configure: added --enable-lto and don’t enable it by default.
[41][xtraeme]
* Multiple bugs with packages on hold were fixed. [42][xtraeme]
* [43]xbps-uchroot(1), [44]xbps-uunshare(1): document end of options
argument. [45][Doan Tran Cong Danh]
* [46]xbps-alternatives(1): prune obsolete alternatives groups.
[47][q66]
17 new test cases were added in this release, 6 people were involved:
Juan RP, Piotr Wójcik, Duncan Overbruck, Doan Tran Cong Danh, Mohamad
Barbar, q66.
xbps-0.57.1 (2019-10-27):
* Multiple changes and improvements to the transaction fetch code.
[48][duncaen]
* Verify revision in xbps_pkg_{version,revision,name}, to handle
properly package names that use _. [49][Chocimier]
* [50]xbps-checkvers(1): fixed a compile-time warning with glibc.
[51][xtraeme]
* [52]xbps-alternatives(1): check if alternative is a symlink before
removing it. [53][xtraeme]
* Try to find a usable shell instead of using /bin/sh when executing
package scripts. [54][Gottox]
* [55]xbps-rindex(1): better error handling for writing repodata
archives. [56][Chocimier]
* [57]xbps-create(1): better error handling for writing archives.
[58][Chocimier]
xbps-0.57 (2019-08-06):
* xbps now builds with tcc and pcc. [59][xtraeme]
* xbps now uses the transactional file checks for package removals,
this fixes issues where xbps removes wrong files, if a package
replaces another packages with the same files. [60][duncaen]
* [61]xbps-remove(1): skip the transaction if no packages are found.
This restores the behaviour of xbps prior to 0.54. [62][xtraeme]
* [63]xbps-remove(1): fix -o, --remove-orphans not removing all
orphaned packages. [64][duncaen]
* [65]xbps-install(1): if specified packages with -u, --update are up
to date return EEXIST. [66][jnbr]
* [67]xbps-query(1): restores old behaviour of --fulldeptree, to not
list the package itself. [68][duncaen]
* Updated zsh completions. [69][leah2]
xbps-0.56 (2019-06-24):
* Fixed xbps_transaction_prepare() always returning ENXIO because the
transaction dictionary wasn’t initialized before first use.
Regression from 0.54. [70][xtraeme]
* Fixed unlocking the pkgdb via xbps_end(). [71][xtraeme]
* Fixed flushing pkgdb to storage and re-reading it unnecessarily,
this affected [72]xbps-alternatives(1), [73]xbps-pkgdb(1) and
[74]xbps-reconfigure(1). [75][xtraeme]
* xbps now allows to remove an installed package that was added to
the ignored packages list with ignorepkg from [76]xbps.d(5).
[77][duncaen]
* Fixed an issue with multi threaded for each loops processing the
first slicecount*maxthreads entries twice. [78][duncaen]
* Fixed an issue with happy eyeballs, where when a socket fails
within the connection delay it aborts with the error instead of
continuing with the next address. [79][jnbr]
xbps-0.55 (2019-06-21):
* [80]xbps-install(1): Added -D, --download-only flag to allow
downloading packages to the cache without attempting to install
them. [81][Vaelatern]
* [82]xbps-install(1): added -I, --ignore-file-conflicts to not abort
the transaction even if file conflicts were detected. [83][xtraeme]
* [84]xbps-install(1): return 0 if package is already installed, or
up-to-date if updating, not EEXIST. EEXIST now is only returned if
there are file conflicts in transaction. [85][xtraeme]
* [86]xbps-checkvers(1): fixed a segfault with --format.
[87][duncaen]
* Fixed a build failure on ppc64. [88][q66]
* Fixed a build failure on x86. [89][duncaen]
* Fixed cross compilation with --enable-static. [90][xtraeme]
__________________________________________________________________
Copyright 2020 [91]VoidLinux contributors
Copyright 2008-2018 [92]Juan RP and contributors
Linux® is a registered trademark of Linus Torvalds ([93]info)
References
1.
https://voidlinux.org/atom.xml
2.
https://voidlinux.org/
3.
https://voidlinux.org/news/
4.
https://voidlinux.org/download/
5.
https://voidlinux.org/packages/
6.
https://docs.voidlinux.org/
7.
https://reddit.com/r/voidlinux
8.
https://github.com/void-linux
9.
https://voidlinux.org/news/2020/01/new-images.html
10.
https://voidlinux.org/news
11.
https://github.com/void-linux/xbps/pull/78
12.
https://man.voidlinux.org/xbps-query.1
13.
https://man.voidlinux.org/xbps-install.1
14.
https://www.freebsd.org/security/advisories/FreeBSD-SA-20:01.libfetch.asc
15.
https://github.com/Duncaen
16.
https://man.voidlinux.org/xbps-query.1
17.
https://man.voidlinux.org/xbps-remove.1
18.
https://github.com/xtraeme
19.
https://man.voidlinux.org/xbps-checkvers.1
20.
https://github.com/Chocimier
21.
https://man.voidlinux.org/xbps-install.1
22.
https://github.com/xtraeme
23.
https://man.voidlinux.org/xbps-fetch.1
24.
https://github.com/Duncaen
25.
https://github.com/xtraeme
26.
https://man.voidlinux.org/xbps-install.1
27.
https://github.com/xtraeme
28.
https://man.voidlinux.org/xbps-install.1
29.
https://github.com/xtraeme
30.
https://man.voidlinux.org/xbps-install.1
31.
https://man.voidlinux.org/xbps-rindex.1
32.
https://github.com/xtraeme
33.
https://man.voidlinux.org/xbps-create.1
34.
https://github.com/xtraeme
35.
https://man.voidlinux.org/xbps-install.1
36.
https://github.com/xtraeme
37.
https://man.voidlinux.org/xbps.d.5
38.
https://github.com/Duncaen
39.
https://man.voidlinux.org/xbps.d.5
40.
https://github.com/xtraeme
41.
https://github.com/xtraeme
42.
https://github.com/xtraeme
43.
https://man.voidlinux.org/xbps-uchroot.1
44.
https://man.voidlinux.org/xbps-uunshare.1
45.
https://github.com/sgn
46.
https://man.voidlinux.org/xbps-alternatives.1
47.
https://github.com/q66
48.
https://github.com/Duncaen
49.
https://github.com/Chocimier
50.
https://man.voidlinux.org/xbps-checkvers.1
51.
https://github.com/xtraeme
52.
https://man.voidlinux.org/xbps-alternatives.1
53.
https://github.com/xtraeme
54.
https://github.com/Gottox
55.
https://man.voidlinux.org/xbps-rindex.1
56.
https://github.com/Chocimier
57.
https://man.voidlinux.org/xbps-create.1
58.
https://github.com/Chocimier
59.
https://github.com/xtraeme
60.
https://github.com/Duncaen
61.
https://man.voidlinux.org/xbps-remove.1
62.
https://github.com/xtraeme
63.
https://man.voidlinux.org/xbps-remove.1
64.
https://github.com/Duncaen
65.
https://man.voidlinux.org/xbps-install.1
66.
https://github.com/jnbr
67.
https://man.voidlinux.org/xbps-query.1
68.
https://github.com/Duncaen
69.
https://github.com/leah2
70.
https://github.com/xtraeme
71.
https://github.com/xtraeme
72.
https://man.voidlinux.org/xbps-alternatives.1
73.
https://man.voidlinux.org/xbps-pkgdb.1
74.
https://man.voidlinux.org/xbps-reconfigure.1
75.
https://github.com/xtraeme
76.
https://man.voidlinux.org/xbps.d.5
77.
https://github.com/Duncaen
78.
https://github.com/Duncaen
79.
https://github.com/jnbr
80.
https://man.voidlinux.org/xbps-install.1
81.
https://github.com/Vaelatern
82.
https://man.voidlinux.org/xbps-install.1
83.
https://github.com/xtraeme
84.
https://man.voidlinux.org/xbps-install.1
85.
https://github.com/xtraeme
86.
https://man.voidlinux.org/xbps-checkvers.1
87.
https://github.com/Duncaen
88.
https://github.com/q66
89.
https://github.com/Duncaen
90.
https://github.com/xtraeme
91.
https://github.com/orgs/void-linux/people
92.
https://github.com/xtraeme
93.
http://www.linuxfoundation.org/programs/legal/trademark/attribution