apk-fix.8.scd 788 Bytes
Newer Older
Drew DeVault's avatar
Drew DeVault committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
apk-fix(8)

# NAME

apk fix - repair packages or system

# SYNOPSIS

*apk fix* [<_options_>...] [_packages_...]

# DESCRIPTION

*apk fix* applies repair strategies to correct errors in the installation of
the specified packages, or all installed packages if none are specified.

# OPTIONS

18 19
*apk fix* supports the commit options described in *apk*(8), as well as the
following options:
Drew DeVault's avatar
Drew DeVault committed
20 21 22 23 24 25 26 27

*-d, --depends*
	Also fix dependencies of specified packages.

*-r, --reinstall*
	Reinstall packages (default).

*-u, --upgrade*
28 29
	Upgrade name _PACKAGE_ if an upgrade exists and does not break
	dependencies.
Drew DeVault's avatar
Drew DeVault committed
30 31 32 33 34 35 36 37 38 39

*-x, --xattr*
	Fix packages with broken xattrs.

*--directory-permissions*
	Reset all directory permissions.

# AUTHORS

Natanael Copa <ncopa@alpinelinux.org>++
40
Timo Teräs <timo.teras@iki.fi>