From owner-freebsd-questions Sun Sep 15 10:43:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CE2737B400 for ; Sun, 15 Sep 2002 10:43:46 -0700 (PDT) Received: from saturn.okstate.edu (saturn.okstate.edu [139.78.100.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56ACA43E4A for ; Sun, 15 Sep 2002 10:43:45 -0700 (PDT) (envelope-from lreid@okstate.edu) Received: from dexter.okstate.edu (dexter.okstate.edu [139.78.100.26]) by saturn.okstate.edu (Switch-2.1.4/Switch-2.1.0) with ESMTP id g8FHhiJ16796 for ; Sun, 15 Sep 2002 12:43:44 -0500 Received: from dexter.okstate.edu (dexter.okstate.edu [139.78.100.26]) by dexter.okstate.edu (Sun Internet Mail Server sims.4.0.2001.07.26.11.50.p9) with SMTP id <0H2H00M6CQKWND@dexter.okstate.edu> for freebsd-questions@freebsd.org; Sun, 15 Sep 2002 12:43:44 -0500 (CDT) Date: Sun, 15 Sep 2002 12:43:44 -0500 (CDT) From: lreid@okstate.edu Subject: 4.5 packages not on mirrors? -for real this time To: freebsd-questions@freebsd.org Message-id: <522450489.1032111824130.JavaMail.root@dexter.okstate.edu> MIME-version: 1.0 X-Mailer: Sun(TM) Web Access 1.2 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 and the environment 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