FREIGHT-CACHE(1)
π FREIGHT-CACHE(1) π
okay bestie, welcome to freight-cache, part of the Freight family of manual pages. she's the one who actually builds your repos. no cap, she's iconic.
β¨ NAME β¨
freight-cache β (re)builds package repositories π₯
πΈ SYNOPSIS πΈ
freight cache [-k] [-g email] [-p passphrase file] [-c conf] [-v] [-h]
[manager/distro][...]
π DESCRIPTION π
so basically, freight-cache takes every manager/distro you hand it and turns it into a whole package repository (ngl, only Debian archives are supported rn). the manager tells it what kind of repo you want β and again, apt is literally the only supported value, she's exclusive like that π
. the distro is just an arbitrary string that should match a release of the target operating system, like "lenny" or "lucid" π. and if you give her nothing at all? she converts all the manager/distro pairs she can find in $VARLIB. main character energy fr fr.
packages get read from the Freight library ($VARLIB in the configuration, peep freight(5) for that) and then organized into a working repository in the Freight cache ($VARCACHE in the configuration). the way she justβ¦ reorganizes everything πβ¨
serving those repositories? that's left as an exercise for the reader, bestie π. the Freight cache is the only directory that needs to be exposed, so just make a virtual host with $VARCACHE as its document root and everything will be fine. easy. slay. π
β from version0.0.8onwards, distros in an APT repository no longer share the contents ofpool/. so after you upgrade to this version and runfreight-cachefor all your distros, it is safe and recommended to runrm -rf $VARCACHE/pool/mainto reset link counts to the proper value. do it, it's giving responsible sysadmin π«Ά
π OPTIONS π
-k,--keepβ keep unreferenced versions of packages. this is different from keeping multiple versions of a package in the repository, which is supported without any special options. two whole different vibes, don't conflate them π-g email,--gpg=emailβ use an alternate GPG key. she can be given multiple times, so stack them like charms on a bracelet β¨-p passphrase file,--passphrase-file=passphrase fileβ use an alternate file containing the GPG key passphrase. and this file should obviously be protected and only readable by the user running Freight. lock it down bestie π no one else needs to see that.-a digest algorithm,--digest-algo=digest algorithmβ the message digest algorithm that GPG should use to sign the repository, e.g.SHA512. cryptographic glamour π-c conf,--conf=confβ use an alternate configuration file.-v,--verboseβ verbose mode. she's talking now and you're gonna hear every word π£οΈ-h,--helpβ show a help message.
π¦ FILES π¦
/etc/freight.conf,~/.freight.conf,etc/freight.conf,.freight.confβ the default configuration files. checkfreight(5)for the deets.$VARCACHE/pubkey.gpgβ the exported public key used for signing each release. π
π ENVIRONMENT VARIABLES π
FREIGHT_CONFβ the pathname of an alternate configuration file. seefreight(5).
πΆ THEME SONG πΆ
The New Pornographers β "All the Old Showstoppers" π§ genuinely obsessed, put it on
π AUTHOR π
Richard Crowley r@rcrowley.org
π SEE ALSO π
part of freight(1). she's one of the girls π«Ά
freight-add(1) adds packages to the intermediate "Freight library" that is used by freight-cache to build the actual repositories. so like, freight-add stocks the shelves and freight-cache does the whole reveal π«
and that's the whole page bestie!! this one's from March 2016, part of the Freight manual β go forth and build those repositories, you're literally gonna eat π β¨πΈ
π¦ where this page comes from
- epel 9: freight 0.3.13-9.el9 Β· BSD
- fedora 43: freight 0.3.13-12.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: freight 0.3.13-13.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms