Date: Sun, 22 May 2011 23:04:04 -0700 From: perryh@pluto.rain.com To: ports@freebsd.org Subject: mixing local and remote package repositories Message-ID: <4dd9f8d4.3pHf3B1hZNNYAWzJ%perryh@pluto.rain.com>
next in thread | raw e-mail | index | archive | help
Suppose I start to install some packages using "pkg_add -K -r" and something goes wrong partway through. When trying again, AFAICT there is no way to tell pkg_add to first look for any package that it needs (e.g. dependencies) in the local repository created by the previous run's -K switch, but fall back to the remote repository for any not found locally. It's not immediately obvious how to accomplish such a retry with portmaster either, since -PP --local-packagedir= would want the local repository to be formatted in the same way as the remote ones -- and it doesn't look as if "pkg_add -K -r" does that. Is there a simple way to create the <path>/Latest and category symlinks that portmaster needs, given only a collection of packages in the <path>/All directory?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dd9f8d4.3pHf3B1hZNNYAWzJ%perryh>