clean
command to clean the cache based on the packages installed on the machine you're running it on.No, that was using the host's cache from within a jail. That gave me the idea that I might be able to use the cache on a totally different system.Didn't you ask the very same question just a few days ago? Have you tried it? I don't see a reason why this wouldn't work, after all, it's just a cache. You should of course expect theclean
command to clean the cache based on the packages installed on the machine you're running it on.
dice@molly:~ % cat /usr/local/etc/pkg/repos/dicelan.conf
dicelan-server: {
enabled: yes
url: file:///usr/local/poudriere/data/packages/14-stable-server/
}
So, where is it going to fetch a package from if it's not in the cache?url: "file:///mnt/nfs/var/cache/pkg"
freebsd-update
. The other machines must be configured to use the computer running squid as a proxy.