summaryrefslogtreecommitdiff
path: root/doc/apk-fix.8.scd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-06 22:50:26 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commit665a37de50584a510d7d71653c66847685fa2fb3 (patch)
tree9750de76e770f06709984ef0902baa97100ba709 /doc/apk-fix.8.scd
parent9b07a6b01dd4781325411848c6ca92f4d3f28fc7 (diff)
downloadapk-tools-665a37de50584a510d7d71653c66847685fa2fb3.tar.gz
apk-tools-665a37de50584a510d7d71653c66847685fa2fb3.tar.bz2
apk-tools-665a37de50584a510d7d71653c66847685fa2fb3.tar.xz
apk-tools-665a37de50584a510d7d71653c66847685fa2fb3.zip
add apk-fix(8)
Diffstat (limited to 'doc/apk-fix.8.scd')
-rw-r--r--doc/apk-fix.8.scd64
1 files changed, 64 insertions, 0 deletions
diff --git a/doc/apk-fix.8.scd b/doc/apk-fix.8.scd
new file mode 100644
index 0000000..f1efce8
--- /dev/null
+++ b/doc/apk-fix.8.scd
@@ -0,0 +1,64 @@
+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
+
+## COMMIT OPTIONS
+
+*apk fix* commits the database, and supports the same options as other commit
+operations.
+
+*-s, --simulate*
+ Simulate the requested operation without making any changes.
+
+*--clean-protected*
+ Do not create .apk-new files in configuration directories.
+
+*--overlay-from-stdin*
+ Read list of overlay files from stdin.
+
+*--no-scripts*
+ Do not execute any scripts.
+
+*--no-commit-hooks*
+ Skip pre/post hook scripts (but not other scripts).
+
+*--initramfs-diskless-boot*
+ Enables options for diskless initramfs boot (e.g. skip hooks).
+
+## FIX OPTIONS
+
+The following options affect the *fix* operation.
+
+*-d, --depends*
+ Also fix dependencies of specified packages.
+
+*-r, --reinstall*
+ Reinstall packages (default).
+
+*-u, --upgrade*
+ When fixing packages which are already installed, upgrade them rather
+ than considering the requirement fulfilled by the current installation.
+
+*-x, --xattr*
+ Fix packages with broken xattrs.
+
+*--directory-permissions*
+ Reset all directory permissions.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>