On 12/18/2014 12:29 PM, Beeblebrox wrote: > I build my binaries in poudriere, then run > pkg upgrade -r myrepo > > Before running upgrade, the repo is clean. > After executing pkg upgrade (or install) all, processed files by the command > get a sym-link pointing to the actual file. For example: > > mariadb55-client-5.5.40-058c8a2d74.txz > mariadb55-client-5.5.40.txz -> mariadb55-client-5.5.40-058c8a2d74.txz > > The sym-link breaks further poudriere runs, with poudriere complaining that > the sym-link file does not exist. Only way to get poudriere to make a run is > to manually unlink all sym-links in the repo. > > My environment has no PKG* related settings. > How does one correct this? > > Regards. >
This should only happen if you set PKG_CACHEDIR to the same as your repodir, which is no longer supported since 1.3. In 1.3 the cachedir was skipped with local repositories to avoid this issue, but now in 1.4 it is again used which can lead to this surprising behavior (https://github.com/freebsd/pkg/issues/1103). Check /usr/local/etc/pkg.conf and make sure you did not set PKG_CACHEDIR. Also check 'pkg config PKG_CACHEDIR' to make sure it is showing /var/cache/pkg. -- Regards, Bryan Drewery
signature.asc
Description: OpenPGP digital signature
