Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 09:29:10 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@FreeBSD.ORG
Subject:   pkg_* programs have disappeared
Message-ID:  <3.0.6.32.20021119092910.007b2210@stjohn.stjohn.ac.th>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20021119092910.007b2210>