apk-fix - Man Page

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

apk fix supports the commit options described in apk(8), as well as the following options:

-d,  --depends

Also fix dependencies of specified packages.​

-r,  --reinstall

Reinstall packages (default).​

-u,  --upgrade

Upgrade name PACKAGE if an upgrade exists and does not break dependencies.​

-x,  --xattr

Fix packages with broken xattrs.​

--directory-permissions

Reset all directory permissions.​

Referenced By

apk(8), apk-add(8), apk-world(5).

2021-08-03