pkg_* programs have disappeared

2002-11-18 Thread Roger Merritt
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_* programs have disappeared

2002-11-18 Thread Roger Merritt
At 09:29 AM 11/19/02 +0700, you wrote:
snip
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.

Whoops! My bad. I went to the directory /usr/src/usr.sbin/pkg_install and
discovered that by running 'make' and then 'make install' I was able to
restore the missing files. It seems to me I had read that sometime in the
past but hat forgotten. Anyway, problem solved.
-- 
Roger


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message