From owner-freebsd-questions Mon Nov 18 18:30:58 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 568D937B401 for ; Mon, 18 Nov 2002 18:30:57 -0800 (PST) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2614F43E3B for ; Mon, 18 Nov 2002 18:30:54 -0800 (PST) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id TAA26332 for ; Mon, 18 Nov 2002 19:28:03 -0700 (GMT) Message-Id: <3.0.6.32.20021119092910.007b2210@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 19 Nov 2002 09:29:10 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: pkg_* programs have disappeared Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 I haven't been completely happy with portupdate, partly because of the numerous errors portsdb reports and which don't seem to harm anything or have any solution, but I decided to install it on my other server anyway, after running it on my primary server for about six months. I installed it from the ports. cd to /usr/ports/sysutils/portupgrade, make clean && make, make install clean. After the installation, I tried running pkgdb -F, as usual, and got a whole bunch of dependency problems, as expected. However, pkgdb wasn't giving me the names of the packages which it said had the problems. OK, so I decided to try using pkg_version to figure out which package was installed. Aha! No pkg_version! Then I found I don't have pkg_create, pkg_add, pkg_delete, pkg_info, pkg_install, whatever. OK, I say to myself, they should be in /usr/src/usr.sbin, right? Wrong. So can anybody suggest what I can do to restore these? portupdate won't work without pkg_create, and maybe depends on some of the others as well. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message