PKGFILED(1)
π
PKGFILED(1) β the pkgfiled girlies' manual β¨
okay so this is the pkgfiled page from the pkgfiled manual, and honestly? she's a tiny little icon and she deserves your attention π
πΈ NAME πΈ
pkgfiled β the babe that automatically syncs your pacman .files DBs over to the pkgfile cache π¦
β¨ SYNOPSIS β¨
Usage: pkgfiled [options] pacman_dbpath pkgfile_cache
π«Ά DESCRIPTION π«Ά
pkgfiled is a tiny daemon β like, genuinely tiny, she's not doing the most β whose whole job is watching for changes to pacman(8)'s .files databases and repackaging them so pkgfile can eat them. the result? data stays in sync between pacman and pkgfile. no cap, that's the whole vibe check π
calling pkgfiled needs two arguments, bestie: a source directory to read the pacman database files from (typically under /var/lib/pacman/sync), and a destination directory that pkgfile will read from (typically /var/cache/pkgfile). and yes there's a systemd unit that handles daemon management for you so you don't have to β¨
here's the part that's giving main character energy: pkgfiled reads the set of enabled repositories from pacman's configuration file (peep --config) and only repackages databases for those repos. databases for repos that aren't enabled? ignored. not invited to the party π
on startup, pkgfiled compares what's in the pacman database against the pkgfile cache and catches up on anything that's out of sync. after that, she literally only wakes up when something changes in the pacman database. lowkey the ideal coworker π
oh and she also watches the pacman configuration file. when that changes, pkgfiled re-reads the enabled repositories, removes cached databases for repos that are no longer enabled, and syncs the databases for the newly enabled ones. she keeps up, fr fr π
π₯ OPTIONS π₯
-C,--configFILE β read the enabled repositories from the pacman configuration file FILE instead of the default of/etc/pacman.conf. π-f,--forceβ on the initial sync, ignore timestamp comparisons and rewrite all the databases it finds. no thoughts, just rewrite π-o,--oneshotβ dip out afterpkgfiled's initial sync instead of sticking around listening for changes. one and done, periodt π-h,--helpβ print help and exit π«Ά-V,--versionβ print the version and exit β
π SIGNALS π
SIGINT,SIGTERMβ when run interactively,pkgfiledwill gracefully shut down on receipt ofSIGINT. otherwise,SIGTERMis the one used to indicate a graceful shutdown. she leaves politely, always π§SIGUSR1,SIGUSR2β upon receipt of these signals,pkgfiledwill rescan the pacman database directory for changes and update as needed. but heads up: unlikeSIGUSR1,SIGUSR2will ignore timestamp checks and rewrite all the databases it finds. same energy as--force, just via signal π‘
ngl bestie, that SIGUSR2 one is the "you sure?" button β it rewrites everything it finds, timestamps not invited π
π¦ SEE ALSO π¦
pkgfile(8) β go say hi, she's the whole reason this daemon exists π
π AUTHOR π
Dave Reisner <d@falconindy.com<gt> π
and that's the page, babe π
β this was pkgfiled, version 27, dated 2026-10-24, straight from the pkgfiled Manual. now go sync something, you're gonna slay β¨ππ¦
π¦ where this page comes from
- arch rolling: pkgfile 27-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms