.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "apk-fix" "8" "2024-04-29" .PP .SH NAME .PP apk fix - repair packages or system .PP .SH SYNOPSIS .PP \fBapk fix\fR [<\fIoptions\fR>.\&.\&.\&] [\fIpackages\fR.\&.\&.\&] .PP .SH DESCRIPTION .PP \fBapk fix\fR applies repair strategies to correct errors in the installation of the specified packages, or all installed packages if none are specified.\& .PP .SH OPTIONS .PP \fBapk fix\fR supports the commit options described in \fBapk\fR(8), as well as the following options: .PP \fB-d, --depends\fR .RS 4 Also fix dependencies of specified packages.\& .PP .RE \fB-r, --reinstall\fR .RS 4 Reinstall packages (default).\& .PP .RE \fB-u, --upgrade\fR .RS 4 Upgrade name \fIPACKAGE\fR if an upgrade exists and does not break dependencies.\& .PP .RE \fB-x, --xattr\fR .RS 4 Fix packages with broken xattrs.\& .PP .RE \fB--directory-permissions\fR .RS 4 Reset all directory permissions.\&