Date: Mon, 17 Jul 2017 05:10:06 +0000 From: "Thomas Mueller" <mueller6722@twc.com> To: freebsd-ports@freebsd.org Subject: How to get pkg to recognize local repository? Message-ID: <CF.51.25924.DA64C695@dnvrco-omsmta02>
next in thread | raw e-mail | index | archive | help
How do I get pkg to recognize a local repository such as /mnt/usr/packages/All, or does pkg only recognize remote repositories? In this case, /mnt was a mount point for another FreeBSD 11.1-PRERELEASE installation from the same svn revision. Second was installed from the first using NFS. Even env PACKAGEPATH=/mnt/usr/packages/All pkg-static install pkg didn't work. pkg-static: Ignoring bad configuration entry in /usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All" pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended No active remote repositories configured. What is the proper URL or format for a file name/directory? Is it necessary to precede with URL: or what do I have to do to make it look like a repository? I have been unable to get anything to work. While it would be easier to just build the packages again, I would like to know how to install from one computer or installation to another without recompiling. Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF.51.25924.DA64C695>