Date: Mon, 20 Jun 2011 02:00:32 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Subject: mixing local and remote package repositories Message-ID: <4dff0c30.jiHHe0yTqCkGZtyD%perryh@pluto.rain.com>
next in thread | raw e-mail | index | archive | help
No answer on ports@, maybe someone here knows. 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?4dff0c30.jiHHe0yTqCkGZtyD%perryh>