Frequently Asked Questions

From Void Linux Wiki
Jump to: navigation, search

Which package contains XYZ?

xbps-query -Ro '*XYZ*'

If you need this more often, xlocate from xtools provides a caching database:

xbps-install xtools
xlocate -S
xlocate XYZ

How do I remove old kernels?

Void Linux provides vkpurge tool to list and remove old kernels.

vkpurge list
vkpurge rm <version...|all>

Checking template files for common errors

Use xlint from xtools package.


The installer sucks, how can I do $SPECIALTHING on installation?

You can install Void manually, see for example Install LVM LUKS or http://bougyman.voidlinux.com/void-install.sh.txt (used on Vultr and VPSie (kvm) vps's).


Valgrind needs glibc-dbg, which cannot be found. Help?

Install void-repo-debug and retry.


How should I partition my disk?

Note that Void (on x86/x86_64) keeps old kernels around, this takes about 20 MB per kernel version, plan /boot accordingly. 20-30 GB for / is probably a good fit for an expansive desktop installation.


Is there a 'Stable' version of Void?

As a rolling release distribution, there are no "stable" freezes. You may choose what to update and when, and you may put packages on hold (refuse upgrades for specific packages, see the FAQ) but bear in mind that upgrading some packages will occasionally require their dependencies be upgraded as well.


I want to downgrade a package!

You can try using the xdowngrade script from xtools, like

xdowngrade /var/cache/xbps/youtube-dl-2015.07.07_1.noarch.xbps

Is there a Void Linux mailing list?

Yes, at https://groups.google.com/forum/#!forum/voidlinux


Is Void an Arch Linux fork?

No.


How can I change my users default shell?

Use chsh -l to list available shells and change it with chsh for the current user or chsh root for root or another specific user.


I installed $PKGNAME and its not in my $PATH

Packages like openjdk-jre provide a file located at /etc/profile.d/10_openjdk.sh that sets up the right environment variables. Its necessary to re login or source your profile again after installing a package that needs environment variables set.


How to get rid of "ataN: softreset failed (device not ready)" ?

Add to your kernel parameters libata.force=norst or compile your kernel with CONFIG_SATA_PMP=n


How do I get a list of installed packages ?

An example command line to get a list of all installed package names without their version is:

   xbps-query -l | awk '{ print $2 }' | xargs -n1 xbps-uhelper getpkgname | fmt

This list can be used to e.g. install your package selection on another machine.