.\" 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-repositories" "5" "2024-04-29" .PP .SH NAME .PP \fB/etc/apk/repositories\fR, \fB/etc/apk/repositories.\&d/*.\&list\fR - list of package repositories .PP .SH DESCRIPTION .PP /etc/apk/repositories is the list of package repositories \fBapk\fR(8) uses to retrieve package files for installation.\& Each line of this file specifies the location of a package repository, and optionally a tag.\& .PP The location may be an \fIhttp://\fR, \fIhttps://\fR, or \fIftp://\fR URL, or the path to a directory on the local filesystem.\& A tagged repository is prefixed with the \fB@tag\fR specifier, followed by a space and the repository location.\& For more information about repository tags, see \fBapk-world\fR(5).\& .PP .SH REPOSITORY LAYOUT .PP Each repository must store an index at \fB$repository/$arch/APKINDEX.\&tar.\&gz\fR.\& See \fBapk-index\fR(8) for information about generating this file.\& The packages themselves are stored at \fB$repository/$arch/$pkgname-$pkgver-r$pkgrel.\&apk\fR.\& .PP \fBapk\fR(8) verifies that each of these files has a valid cryptographic signature unless explicitly told not to via the \fB--allow-untrusted\fR flag.\& See \fBabuild-keygen\fR(1) for information about generating keys, \fBapk-keys\fR(5) to add keys to the list of trusted keys, \fBabuild-sign\fR(1) for information about using these keys to sign files, and \fBapk-verify\fR(8) for information about verifying those signatures.\& .PP .SH UPDATING INDICIES .PP \fBapk\fR(8) fetches and stores the index for each package repository at \fB/var/cache/apk\fR.\& To fetch fresh indicies for all configured repositories, use \fBapk-update\fR(8).\&