REPOD-FILE(1) repod REPOD-FILE(1) . usage: repod-file [-h] [-c CONFIG] [-d] [-s] [-v] {package,repo,schema} ... (POSITIONAL ARGUMENTS) subcommand : package repo schema (NAMED ARGUMENTS) -c, --config -d, --debug : False -s, --system : False -v, --verbose : False (SUB-COMMANDS) package repod-file package [-h] {inspect} ... package : inspect inspect repod-file package inspect [-h] [-B | -M | -P] [-p] [-s] file [file ...] file -B, --buildinfo .BUILDINFO : False -M, --mtree .MTREE : False -P, --pkginfo .PKGINFO : False -p, --pretty : False -s, --with-signature : False repo repod-file repo [-h] {importdb,importpkg,writedb} ... repo : importdb, importpkg, writedb importdb repod-file repo importdb [-h] [-a ARCHITECTURE] [-D | -S | -T] file name file name (Named Arguments) -a, --architecture ( ) -D, --debug debug : False -S, --staging staging : False -T, --testing testing : False importpkg repod-file repo importpkg [-h] [-a ARCHITECTURE] [-d] [-p] [-s] [-u SOURCE_URL [SOURCE_URL ...]] [-D | -S | -T] file [file ...] name (Positional Arguments) file name (Named Arguments) -a, --architecture ( ) -d, --dry-run : False -p, --pretty ( dry-run ) : False -s, --with-signature : False -u, --source-url (URL) pkgbase ( pkgbase=url) : [] -D, --debug debug : False -S, --staging staging : False -T, --testing testing : False repod-file repo writedb [-h] [-a ARCHITECTURE] [-D | -S | -T] name (Positional Arguments) name (Named Arguments) -a, --architecture ( ) -D, --debug (debug) : False -S, --staging (staging) : False -T, --testing (testing) : False schema JSON () repod-file schema [-h] {export} ... (Positional Arguments) schema : export (Sub-commands) export JSON repod-file schema export [-h] dir (Positional Arguments) dir JSON (EXAMPLES) (TRANSFORM REPOSITORY SYNC DATABASE TO MANAGEMENT REPOSITORY) <#sync-database> <#management-repository> . : <#files-sync-database> <#management-repository> ! <#default- sync-database> ! /var/lib/pacman/sync/ ( pacman ). <#default-sync- database> : repod-file repo importdb /var/lib/pacman/sync/core.db default <#files-sync-database> . pacman -Fy <#default-sync- database> : repod-file repo importdb /var/lib/pacman/sync/core.files default default ( repod )..SS " (TRANSFORM MANAGEMENT REPOSITORY TO REPOSITORY SYNC DATABASE)" JSON <#management-repository> <#sync-database> ( <#default-sync-database> <#files-sync- database> ). TRANSFORM REPOSITORY SYNC DATABASE TO MANAGEMENT REPOSITORY <# sync-database> . repod-file repo writedb default default.db default.files default . (SEE ALSO) repod.conf(5) , BUILDINFO(5) , mtree(5) , pacman(8) (AUTHORS) David Runge (COPYRIGHT) 2022, David Runge December 27, 2025 REPOD-FILE(1)