Date: Sun, 15 Sep 2002 12:43:44 -0500 (CDT) From: lreid@okstate.edu To: freebsd-questions@freebsd.org Subject: 4.5 packages not on mirrors? -for real this time Message-ID: <522450489.1032111824130.JavaMail.root@dexter.okstate.edu>
next in thread | raw e-mail | index | archive | help
Hi, I'm running FreeBSD 4.5-RELEASE in my lab I operate, and I've noticed that for the past few weeks the packages-4.5-release directory is not on the i386 tree, making package addition an understandable headache. Why is it gone? When will it be back? I am distributing via NFS a separate package database and usr/local to the slave machines on the network to keep their packages isolated from the host system. This brings another question- when using pkg_add with -p <prefix> and the environment DBDIR=<dbdir>, why does pkg_add not use those values when installing dependencies? it's a complete pain in the ass to look up dependencies for dependencies for dependencies for dependencies... of packages I want to install. Is this intentional? Should I run in slave and master modes? here's my example filesystem for anyone who can help- fstab: .... /dev/ad0s1f /usr/export/usr.local /dev/ad0sig /usr/export/var .... exports: .... /export/usr.local -ro -maproot=nobody -[network filter flags] /export/var/db/pkg -ro -maproot=nobody -[network filter flags] .... now, quite obviously I want packages for this host machine to install in /usr/local and install db entries in /var/db/pkg. for the machines I am exporting filesystems to, I am managing their packages on the host machine - these filesystems must not map root access ever, and managing the packages from the slave systems has not worked out well at all. So when I want to add a package for the slaves, I set the environment $PKG_DBDIR to the value "/usr/export/var/db/pkg" and run pkg_add as so: pkg_add -p ftp://ftp.freebsd.org/path/to/packages pkg_filename It will install the package into the correct root and dbdir, but all dependencies will go to the default /usr/local and /var/db/pkg. -thanks much please send any replies cc to me directly, I'm not subscribed to the list. Reid Linnemann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522450489.1032111824130.JavaMail.root>