LinuxCommandLibrary

xbps-reconfigure

Reconfigure Void Linux packages

TLDR

Reconfigure a package

$ sudo xbps-reconfigure [package_name]
copy
Force reconfigure a package
$ sudo xbps-reconfigure -f [package_name]
copy
Reconfigure all packages
$ sudo xbps-reconfigure -a
copy
Reconfigure kernel
$ sudo xbps-reconfigure -f linux[5.15]
copy
Verbose output
$ sudo xbps-reconfigure -v [package_name]
copy
Reconfigure in alternate root
$ sudo xbps-reconfigure -r [/mnt] [package_name]
copy

SYNOPSIS

xbps-reconfigure [options] package | -a

DESCRIPTION

xbps-reconfigure runs post-installation configuration scripts for packages on Void Linux. It's used to configure packages that weren't properly configured or to reconfigure after changing configuration files.
The tool is useful for recovering from interrupted installations, reconfiguring after manual config changes, or rebuilding kernel modules. By default, only unconfigured packages are processed; use -f to force reconfiguration.
Common use cases include reconfiguring the kernel after updates, rerunning DKMS module builds, and fixing packages with configuration issues.

PARAMETERS

-a, --all

Reconfigure all packages.
-f, --force
Force reconfiguration even if already configured.
-r rootdir
Use alternate root directory.
-v, --verbose
Verbose output.
-d, --debug
Debug mode.
-h, --help
Display help.
-V, --version
Display version.

CAVEATS

Void Linux specific (XBPS package manager). Some packages may overwrite manual configuration changes when reconfigured. Kernel reconfiguration requires specifying exact version.

HISTORY

xbps-reconfigure is part of XBPS (X Binary Package System), the package manager developed specifically for Void Linux. XBPS was designed from scratch to be fast, portable, and bug-free, providing a modern alternative to traditional package managers.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community